Debabrata Midya wrote:
> 
> 
> Dear R users,
>  
> Thanks in advance.
> 
> 
> 
> I am using R 2.9.1 on Windows XP.
>  
> In the plot, the density value displays over 1. How can I explain it?
>  
> library(urca)
> plot(density(Raotbl1[, 1]))
>  
> 
> 

It's a probability density, not a probability function.  The vertical range
doesn't have to be
restricted between 0 and 1.  In fact, if the horizontal range is narrow
enough then the
maximum must be > 1, in order for the area under the curve to equal 1.

  Ben Bolker
-- 
View this message in context: 
http://www.nabble.com/Density-value-over-1-using-density-function-tp24384447p24384654.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to