Moment of Lognormal distribution
1 回表示 (過去 30 日間)
古いコメントを表示
How do I compute the mth moment of the lognormal distribution?
0 件のコメント
回答 (2 件)
Torsten
2023 年 9 月 19 日
編集済み: Torsten
2023 年 9 月 19 日
or with MATLAB (the second result looks wrong to me):
syms x mu real
syms sigma real positive
syms k integer positive
f = exp(k*x)/(sqrt(2*sym(pi))*sigma)*exp(-(x-mu)^2/(2*sigma^2));
moment_k = int(f,x,-Inf,Inf)
double(subs(moment_k,[k mu sigma],[4 0.2 0.3]))
f1 = x^k/(sqrt(2*sym(pi))*sigma*x)*exp(-(log(x)-mu)^2/(2*sigma^2));
moment1_k = int(f,x,0,Inf)
double(subs(moment1_k,[k mu sigma],[4 0.2 0.3]))
3 件のコメント
Bruno Luong
2023 年 9 月 19 日
"All moments of the log-normal distribution exist and"
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1487407/image.png)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!