Solved – How to derive the cdf of a lognormal distribution from its pdf

cumulative distribution functionlognormal distributionself-study

I'm trying to understand how to derive the cumulative distribution function for a lognormal distribution from its probability density function.

I know that the pdf is:

$$f(x) =\frac{e^{-\frac{1}{2}\Bigl(\frac{\ln(x) – \mu}{\sigma}\Bigr)^2}}{x \sigma \sqrt{2\pi}},\ x \gt 0$$

and the cdf is:

$$\Phi(x) = \int_{-\infty}^x f(y) dy = \frac{1}{\sigma\sqrt{2\pi}}\int_0^x e^{-\frac{1}{2}\Bigl(\frac{\ln(y) – \mu}{\sigma}\Bigr)^2}\frac{dy}{y}.$$

Now, I don't know how to get the last formula. I tried the substitution $t=\ln(y)$ but I don't know how to deal with the $1/y$ term.

Am I on the wrong way, or did I make any mistake?

I'd like to know it for my personal knowledge, it's not for a class.

Best Answer

If $Y $ ~ $\log N(\mu,\sigma^2)$ then $$f_Y(y) = \frac{1}{y\sqrt{2\pi \sigma^2}}\exp\left[-\frac{1}{2}\left(\frac{\log y-\mu}{\sigma}\right)^2\right]$$

Now,

$$F_Y(y)=\int_{-\infty}^{y_1}f_Y(y)dy = \int_{-\infty}^{y_1}\frac{1}{y\sqrt{2\pi \sigma^2}}\exp\left[-\frac{1}{2}\left(\frac{\log y-\mu}{\sigma}\right)^2\right]dy$$

$$\frac{\log y - \mu}{\sigma} = z \implies \frac{dy}{y\sigma} = dz, \text{ and } z_1 = \frac{\log y_1 - \mu}{\sigma}$$

$$F_Y(y)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{z_1}\exp(-z^2/2)dz$$

Oh boy, that's a standard normal distribution. I think it's easy from here.

Related Question