Displaying 1 result from an estimated 1 matches for "4798991d".
Did you mean:
479891
2008 Jan 24
1
Calculating sum of squares from density estimates
Hi
I have some density estimates obtained from density(). I would like to
calculate the sum of squares of these. As the x values of the estimates
are not the same, and I would prefer not to restrict the estiomate to a
certain range of x values, how can I do the calculation?
Lets say:
d1 <- density(Data1)
d2 <- density(Data2)
If the x values would be the same, I would:
ssq <- sum(