Learn R Programming

MixAll (version 1.5.10)

clusterDiagGaussianNames: Create a vector of diagonal Gaussian mixture model names.

Description

In a diagonal Gaussian mixture model, we assume that the variance matrices are diagonal in each cluster. Assumptions on the proportions and standard deviations give rise to 8 models:

  1. The proportions can be equal or free

  2. The standard deviations can be equal or free for all the variables

  3. The standard deviations can be equal or free for all the clusters

Usage

clusterDiagGaussianNames(
  prop = "all",
  sdInCluster = "all",
  sdBetweenCluster = "all"
)

clusterValidDiagGaussianNames(names)

Value

A vector of character with the model names.

Arguments

prop

A character string equal to "equal", "free" or "all". Default is "all".

sdInCluster

A character string equal to "equal", "free" or "all". Default is "all".

sdBetweenCluster

A character string equal to "equal", "free" or "all". Default is "all".

names

a vector of character

Details

The model names are summarized in the following array:

Model NameProportionss.d. in variabless.d. in clusters
gaussian_p_sjkEqualFreeFree
gaussian_p_sjEqualFreeEqual
gaussian_p_skEqualEqualFree
gaussian_p_sEqualEqualEqual
gaussian_pk_sjkFreeFreeFree
gaussian_pk_sjFreeFreeEqual
gaussian_pk_skFreeEqualFree
gaussian_pk_sFreeEqualEqual

Examples

Run this code
clusterDiagGaussianNames()
## same as c("gaussian_p_sk", "gaussian_pk_sk")
clusterDiagGaussianNames(prop="all", sdInCluster="equal", sdBetweenCluster= "free")

Run the code above in your browser using DataLab