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)

采纳的回答

Walter Roberson
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by