Consider a univariate lognormal random variable X LogN mu s
Consider a (univariate) lognormal random variable: X ~ LogN (mu, sigma^2). Write MATLAB function that determines the value of the parameters mu and sigma^2 from the expectation E{X} and the variance V{X}.
Solution
the syntax used for this is
[M,V]=normstat(mu,sigma)
this code determines the mean and variance of the random variable.
