Displaying 2 results from an estimated 2 matches for "_integrates_".
Did you mean:
_integrate_
2004 Nov 13
3
density estimation: compute sum(value * probability) for given distribution
Dear R users,
This is a KDE beginner's question.
I have this distribution:
> length(cap)
[1] 200
> summary(cap)
Min. 1st Qu. Median Mean 3rd Qu. Max.
459.9 802.3 991.6 1066.0 1242.0 2382.0
I need to compute the sum of the values times their probability of
occurence.
The graph is fine,
den <- density(cap, from=min(cap),
to=max(cap), give.Rkern=F)
2009 Mar 02
4
density > 1?
Dear R-Gurus,
I wonder why 'density' values as shown in hist or plot(density(x)) are
sometimes over 1. How can that be?
Example
>hist(rnorm(1000,sd=.5),freq=FALSE)
The resulting plot shows density values below 1 on the y-axis. However,
>hist(rnorm(1000,sd=.1),freq=FALSE)
shows density values over 1.
How to interpret density values over 1?
Greetings,
Johannes