Skip to content Skip to sidebar Skip to footer

Lognormal Distribution

When defining a lognormal function with a mean of 15.1466 and a standard deviation of 0.3738, the result you should get is the following: However when I run the following code to

Solution 1:

Mean and standard deviation are NOT THE SAME as distribution parameters mu and sigma for log-normal

Check wiki

Basically, given mean and std.dev, you compute mean and variance, and then solve system of two equations to find mu and sigma

Only then you feed mu and sigma into routines for sampling, PDF etc

Post a Comment for "Lognormal Distribution"