1. Learn
  2. /
  3. Courses
  4. /
  5. Mixture Models in R

Connected

Exercise

Fit the model with cross-terms

In the video, I showed you how to fit a bivariate Gaussian mixture model considering a diagonal covariance matrix (ie, with no cross terms). The idea here is to replicate the estimations but this time considering the cross terms.

Instructions

100 XP

Use the function flexmix() to fit a bivariate Gaussian mixture model for the variables Weight and BMI from gender dataset with two clusters, and cross-terms included.