How to Plot a Lognormal Curve

Lognormal graphs are used to plot normally distributed logarithms of variables.
••• NA/AbleStock.com/Getty Images

The lognormal distribution is used in probability for normally distributing the logarithm of a random variable. Variables that can be written as the product of multiple independent random variables can also be distributed in this way. When plotting a lognormal distribution, there are a couple of important aspects that you should not miss; there is a formula that will be useful during this process. Plot by hand on paper or electronically using specialized software.

    Sort the point values of the random variable to be lognormally distributed from the smallest to the largest.

    Check to see if all of the values are positive. If they are not, the lognormal distribution plotting cannot be done.

    Compute the natural logarithm for each of the values in the previous step. This is a vital step, since the definition of lognormal curves involves plotting the logarithmic function of random variables.

    Compute the empirical cumulative probability of each value using the formula p(n) = (n – 0.5) / N. "N" is the total number of elements, while "n" is used to denote the current point value.

    Compute the inverse error function for each element. The inverse error function is defined as erf(x) = 2 / sqrt(π) * integral of e^x^2 dt. In this case, "x" will be replaced with 2p-1, for each one of the "p" values computed above.

    Plot the points with the coordinates (z(pn), ln(xn)), where xn is used to denote the point values from the first step and z(pn) is the output from Step 5.

    Draw a line to connect the points. This is the final lognormal curve for this distribution.

Related Articles

How to Calculate Regression Coefficient
How to Make a Cumulative Probability Curve
How to Calculate the Cumulative Probabilities in SPSS
How to Find the Equation of a Scatter Plot
How to Calculate a Two-Tailed Test
How to Calculate Voltages in Transistors
How to Calculate Binomial Probability
How to Calculate Capacitance for AC Coupling
How to Calculate CV Values
How to Reset a TI 89 Titanium
How to Calculate the Mean in a Probability Distribution
Can You Use a T-Test on Ranked Data?
How to Calculate the RMSE or Root Mean Squared Error
How to Find a Tangent Line to a Curve
How to Interpret a Student's T-Test Results
How to Find the Angle of a Curve
Definition of Table of Values
How to Calculate the Short Circuit Rating
How to Find a Z Score
How to Calculate the Coefficient of Variation

Dont Go!

We Have More Great Sciencing Articles!