Displaying 1 result from an estimated 1 matches for "approximaly".
Did you mean:
approximatly
2003 Apr 08
3
density ranges for uniform law
...bout the results I get.
In fact, I start with a uniform sample between -1 and 1, and then plot its
density.
My problem is that the density ranges are much more longer than I expected :
samp <- runif(10000,-1,1)
plot(density(samp))
Instead of varying between -1 and 1, the density varies between approximaly
-1.5 and 1.5
Could someone explain me what is happening ? Maybe some arguments for
density estimation need to be set ?
Waiting for an answer,
Thanks in advance
Isabelle.
Isabelle Zabalza-Mezghani, PhD
IFP - Research Reservoir Engineer