Kolmogorov-Smirnov test for inverse Gaussian distribution

조회 수: 7 (최근 30일)
Abas Arkawazi
Abas Arkawazi 2020년 1월 8일
댓글: Jeff Miller 2020년 1월 11일
Hello ... I has data and I want to use a goodness-of-fit test (Kolmogorov-Smirnov) to indicate whether the data follow the inverse Gaussian distribution or not ... can you help me, how do I run this test ??
  댓글 수: 3
Abas Arkawazi
Abas Arkawazi 2020년 1월 10일
yes I want to estimate them from the data.
Jeff Miller
Jeff Miller 2020년 1월 11일
Sorry, I don't have an answer for that case.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jakob B. Nielsen
Jakob B. Nielsen 2020년 1월 9일
The Kolmogorov-Smirnov test checks if your data is from a standard normal distribution, not an inverse gaussian. Of course, it is always good to check, first, if your data is from a standard normal distribution, before looking for alternative distributions :)
Simply [h,p]=kstest(data) will give you that info.
In case the null hypothesis is rejected, there is a code on the file exchange for testing for the inverse gaussian distribution, that you might check out. https://se.mathworks.com/matlabcentral/fileexchange/24036-anderson-darling-goodness-of-fit-test-to-inverse-gaussian-distbtn?focused=5114587&tab=function
  댓글 수: 1
Adam Danz
Adam Danz 2020년 1월 9일
편집: Adam Danz 2020년 1월 10일
Note that there is a modified Kolmogorov-Smirnov test for the inverse gaussian. Whether there exists Matlab code that implements this, I do not know.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by