MATLAB Answers

0

Fitting ("Estimating") Multivariate Normal Distribution to Data

Asked by Sherry Wu on 5 Sep 2019
Latest activity Answered by Dheeraj Singh on 9 Sep 2019
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by 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:

  0 Comments

Sign in to comment.