# Solved – How to differentiate the distribution function of lognormal distribution with respect to its parameters

calculuslognormal distribution

How to differentiate the distribution function of lognormal distribution with respect to its parameters? What solution will we get? I know if differentiate wrt variable, we will get density function.!

#### Best Answer

Well, as you stated the cumulative distribution function is $$F(x) = \int_{-\infty}^x f(z) dz = \Phi\big[\frac{\ln(x)-\mu}{\sqrt{2}\sigma}\big]$$

Now I would differentiate the error fct using the chain rule $$\frac{\partial}{\partial y}\Phi[z] = \frac{\partial \Phi[z]}{\partial z} \cdot \frac{\partial z}{\partial y} = f(z) \cdot \frac{\partial z}{\partial y}$$ So all you need to do is to calculate the partial derivatives \begin{align} \frac{\partial }{\partial \mu} \big[\frac{\ln(x)-\mu}{\sqrt{2}\sigma}\big] &= ... \\ \frac{\partial }{\partial \sigma} \big[\frac{\ln(x)-\mu}{\sqrt{2}\sigma}\big] &= ... \end{align} which is straight forward.