Learn R Programming

MixAll (version 1.5.10)

clusterAlgoPredict: Create an instance of the [ClusterAlgoPredict] class

Description

A prediction algorithm is a two stage algorithm. In the first stage we perform a Monte Carlo algorithm for simulating both missing values and latent class variables. In the second stage, we simulate or impute missing values.

Usage

clusterAlgoPredict(
  algo = "EM",
  nbIterBurn = 50,
  nbIterLong = 100,
  epsilon = 1e-07
)

Value

a [ClusterAlgoPredict] object

Arguments

algo

character string with the second stage estimation algorithm. Possible values are "EM", "SemiSEM". Default value is "EM".

nbIterBurn

Integer defining the maximal number of burning iterations. Default value is 50.

nbIterLong

Integer defining the maximal number of iterations. Default value is 100.

epsilon

Real defining the epsilon value for the algorithm. Not used with "semiSEM" algorithms. Default value is 1.e-7.

Author

Serge Iovleff

Details

The epsilon value is not used when the algorithm is "SemiSEM".

Examples

Run this code
clusterAlgoPredict()
clusterAlgoPredict(algo="SemiSEM", nbIterBurn=0)
clusterAlgoPredict(algo="EM", epsilon = 1e-06)

Run the code above in your browser using DataLab