Use DPMPM models to impute missing data where there are no structural zeros
DPMPM_nozeros_imp(X, nrun, burn, thin, K, aalpha, balpha, m, seed, silent)
m imputed datasets
original data containing missing values
saved posterior draws of alpha, which can be used to check MCMC convergence
saved number of occupied mixture components, which can be used to track whether K is large enough
data frame for the data containing missing values
number of mcmc iterations
number of burn-in iterations
thining parameter for outputing iterations
number of latent classes
the hyperparameters in stick-breaking prior distribution for alpha
the hyperparameters in stick-breaking prior distribution for alpha
number of imputations
choice of random seed
Default to TRUE. Set this parameter to FALSE if more iteration info are to be printed