Multilevel Multiple Imputation

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
medha001
Posts: 2
Joined: Wed Jan 30, 2013 10:54 pm

Multilevel Multiple Imputation

Post by medha001 »

Hello everyone,
I'm hoping someone can tell me what I'm doing wrong because I've hit a wall with my dissertation. So here goes:
My dissertation (roughly) involves the following steps:
1) Simulate multilevel data (two level model): The model looks like this: Yij=(G00 + G01*Wj + uoj) + (G10 + G11*Wj + u1j)*X1ij + (G20 + G21*Wj + u2j)*X2ij + eij
2) Impose missingness (missing at random and missing completely at random) on two level 1 variables (the outcome Y and a level 1 covariate X1 where missingness on both is dependent on the values of X2): the probability of missingness is: P(Rij)=exp(B0+B1X2ij)/(1+exp(B0+B1X2ij))

3) Impute missing data using a multilevel model

So far, I've tried completing step 3 above using the package "pan" in R and can't seem to get the specify the psi matrix (the variance covariance matrix for the random effects) as something other than an identity matrix. After trying a lot of different things in the pan package, I purchased MLwiN.
I started off by specifying the multivariate model depicted in the attached document (Y_4 is the Y variable with 50% missing data and X1_4 is the X1 variable with 50% missing data) using IGLS.
Then, I tried to use these starting values using MCMC to obtain the multiply imputed datasets and MLwiN gives me an error stating that: MCMC Error: Residual S.E. column is too short or contains missing values(MCMC).
Any thoughts or recommendations would be greatly appreciated!
Attachments
screenshot of mlwin specification
screenshot of mlwin specification
Capture.PNG (60.35 KiB) Viewed 5285 times
billb
Posts: 157
Joined: Fri May 21, 2010 1:21 pm

Re: Multilevel Multiple Imputation

Post by billb »

Dear medha001,
Just last week we came across a similar issue. The problem is if you have individuals who are missing on all responses then this causes issues with MLwiN when you switch to MCMC. We have made a change that will fix these issues, which will appear in the next version 2.27 but strictly speaking it is not very sensible to include individuals who are completely missing in a multiple imputation: they have no information to add to the model and will not help get better estimates etc. My advice is therefore to remove these individuals from the data prior to imputing which will work in the current version. I guess this might be harder to do in a simulation setting though it should be feasible.
Regards,
Bill.
medha001
Posts: 2
Joined: Wed Jan 30, 2013 10:54 pm

Re: Multilevel Multiple Imputation

Post by medha001 »

Thank you very much for the reply Bill! I will try excluding cases with data missing on both variables before using mlwin.
Sincerely,
Amanuel
Post Reply