PDF data analysis and comparison
조회 수: 5 (최근 30일)
이전 댓글 표시
i have some theoretical PDF's. I want Matlab to decide which one is the best fit for my experimental PDF. How would i do this.
%x_int, y_int is EXPERIMENTAL PDF.
%NORMAL DISTRIBUTION F(x) VS EXPERIMENTAL PDF P(x)
plot(x,p_nor,x_int,y_int);
%RAYLEIGH PDF F(x) VS EXPERIMENTAL PDF P(x)
plot(x,p_ray,x_int,y_int)
%POISSONS PDF F(x)VS EXPERIMENTAL PDF P(x)
plot(x,p_poi,x_int,y_int)
댓글 수: 0
채택된 답변
Walter Roberson
2013년 9월 11일
Is it intended that the theoretical distributions already have the correct parameters (mean, standard deviation) for the experimental distribution? If so then I do not know what the recommendation would be.
I know that one approach would be to generate a number of values in each theoretical distribution, and then use kstest2() to compare y_int to each generated vector.
If the parameters are not known for the theoretical distribution, then:
For the specific case of determining whether y_int comes from some normal distribution, see lillietest(); alternately adtest() or jbtest().
I seem to remember having run across a test for poison distribution before, but I do not recall it. I do not recall seeing a test for rayleigh distribution, but I do not work with stats much.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!