PDF data analysis and comparison

4 Ansichten (letzte 30 Tage)
harley
harley am 11 Sep. 2013
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)

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 11 Sep. 2013
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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by