- formula
an object of class formula: a symbolic description of the model to be fitted. It is possible to include in this formula interactions (through symbols '*' and '
- data
A data.frame containing all the variables to include in the imputation model. Columns related to continuous variables have to be numeric and columns related to binary/categorical variables have to be factors.
- beta.start
Starting value for beta, the vector(s) of fixed effects for the joint model for the covariates. For each n-category variable we have a fixed effect parameter for each of the n-1 latent normals. The default is a matrix of zeros.
- l1cov.start
Starting value of the level-1 covariance matrix of the joint model for the covariates. Dimension of this square matrix is equal to the number of covariates (continuous plus latent normals) in the imputation model. The default is the identity matrix.
- l1cov.prior
Scale matrix for the inverse-Wishart prior for the covariance matrix. The default is the identity matrix.
- nburn
Number of burn in iterations. Default is 1000.
- nbetween
Number of iterations between two successive imputations. Default is 1000.
- nimp
Number of Imputations. Default is 5.
- output
When set to 0, no output is shown on screen at the end of the process. When set to 1, only the parameter estimates related to the substantive model are shown (default). When set to 2, all parameter estimates (posterior means) are displayed.
- out.iter
When set to K, every K iterations a dot is printed on screen. Default is 10.