[R] Estimating parameters of log-normal distribution
Gunther Höning
gunther.hoening at ukmainz.de
Mon Jun 30 11:26:53 CEST 2008
Dear list,
I have to vectors:
x <- rep(c(2,4,8,24,48,72),2)
y
<-c(82543,169105,207615,96633,31988,7005,82687,172931,205541,101842,31898,69
50)
that follows a log-normal function as
f(x)= SO/(sqrt(2*pi)*sigma *x) * exp(-(ln x - mu)^2/(2*sigma^2))
that is a log-normal distribution multiplied with SO.
How can I estimate SO, mu and sigma in R ?
Wishes
Gunther
More information about the R-help
mailing list