2.31 Gaussian Mixture Models (Pro)

Summary

The Gaussian Mixture Models app can be used to fit Gaussian mixture model using EM method, estimate parameters in the distribution, calculate probability density function and classify test data by posterior probability. It can also find the best model by BIC. It can create several graphs including histogram, probability density function plot, cumulative distribution function plot, Q-Q plot, contour plot and confidence region plot according to the number of variables for input data.

Tutorial

In this example, we will show how to use Gaussian Mixture Models App to fit Gaussian mixture model with three components and classify input data into three groups.

  1. Import Fisher's Iris Data.dat in the <Origin EXE Folder>\Samples\Statistics\ folder
  2. Highlight columns A and B. Click the Gaussian Mixture Models icon Gaussian Mixture Models icon.png in the Apps Gallery window.
  3. In the opened dialog, select column E as Initial Group in the Input tab.
    Gaussian Mixture Models 1.png
  4. Choose Pooled for Covariance Matrix in Settings tab. Click OK button.
    Gaussian Mixture Models 2.png
  5. In the created FitGMM report sheet, Fit Statistics table shows Fit converged. Expand Parameters branch, you will see mixing proportion coefficients, group means and pooled covarance matrix.
    Gaussian Mixture Models 3.png
  6. Expand Contour Plot branch, make the graph window active, choose 8 for scatter plot's symbol size. It shows the contour plot for the Gaussian mixture model's probability density.
    Gaussian Mixture Models 4.png
  7. Expand Confidence Region Plot branch, make the graph window active, choose 8 for scatter plot's symbol size. It shows the 95% confidence ellipse for each group level.
    Gaussian Mixture Models 5.png
  8. In the GMMResult worksheet, column D shows predicted group for input data.
    Gaussian Mixture Models 6.png