Function to calculate the location,
lnorm_params(m = 1, v = 1)
A list containing the following:
mu Location parameter of log-normal distribution
sigma Scale parameter of log-normal distribution
Scalar with the mean of the random variable.
Scalar with the variance of the random variable. (i.e., squared standar error).
Based on method of moments. If
Ginos BF. Parameter Estimation for the Lognormal Distribution. Brigham Young University; 2009.
Log-normal distribution. (2017, April 20). In Wikipedia, The Free Encyclopedia. Retrieved 16:47, April 23, 2017, from https://en.wikipedia.org/w/index.php?title=Log-normal_distribution&oldid=776357974
m <- 3
v <- 0.01
lnorm_params(m, v)
# True values: 100, 30, 70
Run the code above in your browser using DataLab