How to fit an ecdf to a distribution?

3 ビュー (過去 30 日間)
Maria Amr
Maria Amr 2021 年 2 月 7 日
Hello every one, I would appreciate if some body can help me how to fit an ecdf to a distribution?
My code is a cdf Gaussian and I just want to fit an ecdf to the populations. Thank you!
for i=1:lxv
CG1(i)=(-1/((sqrt(2*pi))*Sn))*exp((-(x(i)-MU)^2)/(2*sig^2));
end
CGX=Sn.*(sort(CG1))+Mn;
figure (1)
plot(y,CGX,'^b','LineWidth',1);

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by