フィルターのクリア

How to fit a log-normal dist. to data in x-data and y-data format using 'lognfit'?

5 ビュー (過去 30 日間)
Mohammad Monfared
Mohammad Monfared 2015 年 6 月 22 日
コメント済み: Torsten 2015 年 6 月 25 日
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?

採用された回答

Torsten
Torsten 2015 年 6 月 23 日
  2 件のコメント
Mohammad Monfared
Mohammad Monfared 2015 年 6 月 24 日
Thanks a lot!
Torsten
Torsten 2015 年 6 月 25 日
If you have the original data from which the (X,Y) vectors have been derived, you should work with them and use "lognfit" to get mu and sigma. I guess the confidence intervals for the parameters will be different if you explicitly know the underlying distribution.
Best wishes
Torsten.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by