Fitting ("Estimating") Multivariate Normal Distribution to Data

27 views (last 30 days)
Hello,
I would like to fit a multivariate normal distribution to a few variables in Matlab. The fitted distribution would then be used to generate simulated data in a Monte Carlo exercise. I'm just wondering what is the advantage of using the "fitgmdist" command over just estimating the mean with "mean" and the variance-covariance matrix with "cov". I'm new to "fitdist" and am unfamiliar with the seemingly dizzling array of options.
Many Thanks.

Answers (1)

Dheeraj Singh
Dheeraj Singh on 9 Sep 2019
fitgmdist provides you different options which you can vary depending upon your data to get better results.
You can adjust the number of iterations for the EM algorithm if you want your algorithm to run within some time.
If you have less data, you can adjust the ‘RegularizationValue’ to avoid overfitting.
There are many options which we can use if our solution does not converge.
For more detail, you can refer to the following link:

Community Treasure Hunt

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

Start Hunting!