50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

ClustVarLV (version 2.1.1)

imput_clv: Imputation of a data matrix based on CLV results

Description

For each variable, its missing data will be imputed according to the values of the latent variable of the group in which the variable belong to.

Usage

imput_clv(x, X0, K = NULL)

Arguments

x

: an object of class clv

X0

: the initial data matrix with missing values (NA)

K

: the number of Latent Variables to be considered, each of them being associated with a group of variables.

Value

X0imput : the imputed data matrix, in the original scale

Ximput : the imputed matrix, centered and scaled according to the pretratment parameters chosen in CLV

Details

It is adviced to use a larger number of latent variables, on the basis of which the imputation will be done, than the suspected 'true' number of groups of variables