Example: Log Normal Distribution Functions
1. Use the dlnorm function to calculate the probability density for vector x:
2. Use the plnorm function to calculate the cumulative probability distribution for vector x:
3. Use the qlnorm function to calculate the inverse cumulative probability distribution for vector x/100 and probability p:
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:
Recalculating the worksheet causes function rlnorm to return a new set of random numbers.