Displaying 1 result from an estimated 1 matches for "tp3768783p3768783".
2011 Aug 25
2
Adding a normal density curve over the empirical curve
...#############
x <- density (returns)
plot(density(returns), main = "Kernel density")
y <- rnorm(209,mean=0,sd=1)
curve(dnorm(y,mean=mean(normal1),sd=sd(normal1)))
--
View this message in context: http://r.789695.n4.nabble.com/Adding-a-normal-density-curve-over-the-empirical-curve-tp3768783p3768783.html
Sent from the R help mailing list archive at Nabble.com.