Imputed dummy variable PreviousNext
Mplus Discussion > Missing Data Modeling >
Message/Author
 stella liu posted on Tuesday, February 25, 2014 - 9:46 pm
Dear Dr Muthen,
The dummy variables in my imputed datasets have values other than 1 and 0. I specified them as categorical variables in the IMPUTE option and thought it will generate a value of 1 or 0 for these variables. Is this how mplus works or I made some mistakes in setting up the imputation model? Below is how I specified the model. thank you!

USEVARIABLES =
pid schid
pre post
dexp2 dexp3
dpov2 dpov3 dpov4;

WITHIN = pre post
dexp2 dexp3;

BETWEEN =
(schid)
dpov2 dpov3 dpov4;
CLUSTER = pid schid;
MISSING = ALL (-9);

DATA IMPUTATION:
IMPUTE=
pre post
dpov2 (c) dpov3 (c) dpov4 (c)
dexp2 (c) dexp3 (c);

NDATASETS=5;
SAVE= imp*.dat;

ANALYSIS:
TYPE=CROSSCLASSIFIED;
ESTIMATOR=BAYES;
Process=2;
BITERATIONS=2000000 (10000);
 Linda K. Muthen posted on Wednesday, February 26, 2014 - 11:28 am
Please send the input, data, output, and your license number to support@statmodel.com.
 stella liu posted on Wednesday, February 26, 2014 - 11:41 am
Sorry. I cannot share the data. Could I just send syntax and output?

thank you!
 Linda K. Muthen posted on Wednesday, February 26, 2014 - 4:30 pm
Send the output but that probably won't be sufficient.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: