Kolmogorov-Smirnov test for inverse Gaussian distribution

9 visualizaciones (últimos 30 días)
Abas Arkawazi
Abas Arkawazi el 8 de En. de 2020
Comentada: Jeff Miller el 11 de En. de 2020
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 comentarios
Abas Arkawazi
Abas Arkawazi el 10 de En. de 2020
yes I want to estimate them from the data.
Jeff Miller
Jeff Miller el 11 de En. de 2020
Sorry, I don't have an answer for that case.

Iniciar sesión para comentar.

Respuestas (1)

Jakob B. Nielsen
Jakob B. Nielsen el 9 de En. de 2020
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 comentario
Adam Danz
Adam Danz el 9 de En. de 2020
Editada: Adam Danz el 10 de En. de 2020
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Hypothesis Tests en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by