[R] log-normal distribution fitting with expected value = 1

R. Michael Weylandt michael.weylandt at gmail.com
Wed Aug 22 16:50:44 CEST 2012


Take a look at

fitdist

in the MASS package.

Cheers,
Michael

On Wed, Aug 22, 2012 at 4:23 AM, Biophil <biophilo at gmail.com> wrote:
> Dear R users,
> I would like to estimate mu and sigma of a log-normal distribution, where I
> know that the expected value is 1, as it is a normalized distribution. That
> means as E(x) = exp (mu + 1/2*sigma^2) = 1 that 2*mu = -sigma^2 . Therefore
> I only need to fit one parameter either sigma or mu. How could I do this in
> R?
> Thank you very much for your help!
> biophil
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list