How can i do probability distribution fitting of experimental data?
5 views (last 30 days)
Show older comments
Hi Everybody, I would like to do Fit with 'Rayleigh', 'Weibull', 'Lognormal', 'Nakagami','Rician' of experimental data those are in negative log values;
Problem: Once i do fitting like pd2 = fitdist(vecteur_amplitude','Rician'); gives
Error using prob.RicianDistribution>ricefit (line 273) The data in X must be positive
This error for all distributions except 'Rayleigh'. Could you please help me. Thanks.
Regards Tariq
0 Comments
Answers (2)
the cyclist
on 5 May 2014
The error message seems pretty straightforward. A Rician distribution, by definition, has support only over positive values of x. If your data are negative, then they cannot possibly be directly fit with a Rician. Did you instead want to fit a Rician to -x?
0 Comments
Shah Tariq
on 5 May 2014
1 Comment
the cyclist
on 5 May 2014
I took a quick look at the paper. I don't believe they fit any negative values. As they describe in the paper, they did a transformation on the data to display it. I expect that they started off with entirely positive values which were fit. Then they normalized to the median value (presumably meaning that they simply divided by the median), and reported that ratio in decibels, which will mean that small positive values of the ratio will have negative values in decibels.
But, that's just my best guess as to what they did.
See Also
Categories
Find more on Nakagami Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!