Functions > Statistics > Probability Distributions > Example: Log Normal Distribution Functions
Example: Log Normal Distribution Functions
1. Use the dlnorm function to calculate the probability density for vector x:
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
2. Use the plnorm function to calculate the cumulative probability distribution for vector x:
Click to copy this expression
3. Use the qlnorm function to calculate the inverse cumulative probability distribution for vector x/100 and probability p:
Click to copy this expression
Click to copy this expression
The first argument of function qlnorm is the probability and must be less than 1, hence the division of x by 100.
4. Use the rlnorm function to create a vector of m random numbers having the log normal distribution:
Click to copy this expression
Click to copy this expression
Recalculating the worksheet causes function rlnorm to return a new set of random numbers.
Was this helpful?