MATLAB: How to fit a log-normal dist. to data in x-data and y-data format using ‘lognfit’

fitting log-normal lognfit

Hi,
This is the problem: I have a set of points to which I'd like to fit the log-normal distribution. I have two vectors for their X and Y values. I ran into 'lognfit' function which just accept a single vector as its input. I know this can be performed by something like 'lsqcurvefit', but I need to get the confidence intervals for the mu and sigma which 'lognfit' function returns easily as its output. Could anyone help please?

Best Answer

Related Question