필터 지우기
필터 지우기

Probbaility Plot Uniform Distribution

조회 수: 6 (최근 30일)
cemsi888
cemsi888 2015년 11월 13일
댓글: the cyclist 2020년 10월 21일
Hi guys!! i want to prove whether my test values behave like uniform distribution or not. Do you know if i can proove this with probplot? In documentation there are informations about normal etc. Or Is there another solution ?

채택된 답변

the cyclist
the cyclist 2015년 11월 13일
If you have the Statistics and Machine Learning Toolbox, I would use the Kolmogorov-Smirnov test to make this determination.
Here is an example of making a probability distribution object for the uniform distribution (in this case, in the domain [0 1], which is the default) and then testing some sample data:
x = rand(1000,1);
pd = makedist('uniform');
[h,p] = kstest(x,'cdf',pd);
  댓글 수: 2
Savannah Est
Savannah Est 2020년 9월 29일
why use kstest as opposed to chi2gof?
the cyclist
the cyclist 2020년 10월 21일
Sorry for the delayed response.
There are typically several tests one can use for this sort of thing. For me, the chi-square test usually springs to mind for categorical data, where the binning procedure is well suited.
This is not to say that it doesn't work here as well. I'm not a statistician, and can't really argue strongly one way or the other.

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

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by