Use DPMPM models to synthesize data where there are no structural zeros
DPMPM_nozeros_syn(X, dj, nrun, burn, thin, K, aalpha, balpha, m, vars, seed, silent)
m synthetic datasets
original data
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 original data
a vector recording the number of categories of the variables
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 synthetic datasets
the names of variables to be synthesized
choice of random seed
Default to TRUE. Set this parameter to FALSE if more iteration info are to be printed