Fitting a multivariate Gaussian distribution on a histogram
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hamed
am 14 Feb. 2021
Kommentiert: hamed
am 17 Feb. 2021
Hi.
I have a vector of data and want to find:
1- The best PDF that fits the data. In other words, I first plot the histogram of the data and I want to know what type of probability distirbution descibes the data best.
2-Fit a Gaussian distribution and extract its statistical parameters, such as mean.
I attached my data as a mat file.
Thanks for your help.
0 Kommentare
Akzeptierte Antwort
Jeff Miller
am 14 Feb. 2021
Bearbeitet: Jeff Miller
am 14 Feb. 2021
There isn't really a universal answer to "which distribution fits best", because there are an infinite number of different distributions. You can compare the fits of various standard distributions using MATLAB's DistributionFitter app.
If you want to "fit a Gaussian", just compute the mean and std of the sample scores. Once you assume it is a Gaussian, there is no additional fit-relevant information in the sample beyond those two numbers.
By the way, this is a 'univariate' distribution rather than a multivariate one, because you only have one type of score--though you have many different samples of it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!