This functions is a wrapper for the label.switching
package and applies the ECR
and ECR.ITERATIVE.1
algorithms. The model may have the same variance of error terms per cluster or not.
dealWithLabelSwitching(sameSigma, x_data, outputFolder, q, burn,
z.true, compute_regularized_expression, Km)
The following files are produced in the output folder:
Logical value indicating whether the parameterization with the same error variance per cluster is used.
Data
Name of the folder where the fabMix
function has saved its output
Number of factors
Discard observations as burn-in period (optional).
An (optional) vector of cluster assignments which is considered as the groun-truth clustering of the data. Useful for direct comparisons against the real parameter values in simulated data.
Logical. Should regularized expression be computed?
Number of components in the overfitted mixture model.
Panagiotis Papastamoulis
Papastamoulis, P. (2016). label.switching
: An R Package for Dealing with the Label Switching Problem in MCMC Outputs. Journal of Statistical Software, 69(1), 1-24.