How to apply one sample Kolmogorov-Smirnov against a Rician distribution?

2 ビュー (過去 30 日間)
yusra Ch
yusra Ch 2020 年 2 月 20 日
コメント済み: Kai Ketelhut 2020 年 2 月 20 日
I want to apply a one-sample Kolmogrov-Smirnov test a vector "mydata" of [1,5000] against the Rician distribution to see if it follows a Rician distribution or not. I am not sure if I am doing it correctly. Can anybody confirm me if is it correct or not?
pdData=fitdist(mydata' , 'Rician');
cdfData=cdf ( 'Rician', mydata', pdData.s, pdData.sigma);
testcdf = [mydata',cdfData];
[h,p]=kstest(mydata','CDF',testcdf);

回答 (0 件)

カテゴリ

Help Center および File ExchangeHypothesis Tests についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by