MulaiMulai sekarang secara gratis

Extracting Parameters for Univariate Case

In the previous exercise, you fitted a univariate Gaussian mixture model with flexmix and saved it into the object fit_mix_example. The aim of this module is to analyze the results extracting the estimated parameters.

Latihan ini adalah bagian dari kursus

Mixture Models in R

Lihat Kursus

Petunjuk latihan

  • Use the function prior() to get the proportions of each cluster.
  • Use the function parameters() and the respective argument to get the parameters for each component.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

proportions <- ___(fit_mix_example)
comp_1 <- parameters(___, component = ___)
comp_2 <- parameters(___, component = ___)
comp_3 <- parameters(___, component = ___)
Edit dan Jalankan Kode