Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: running mi disagnostics in stata 12


From   priya joshi <[email protected]>
To   [email protected]
Subject   st: running mi disagnostics in stata 12
Date   Sun, 9 Sep 2012 15:45:39 -0400

I am trying to run the Marchenko and Eddings (2011) step-by-step mi
diagnostics (i.e. graphical and numeric) diagnostics. While the page
appears to be straightforward, I have not been able to run the
commands in sequence.

I first did a pmm imputation on a fairly large dataset.

I set it: mi set flong. I registered imputed, regular and passive variables.

The imputation was: mi impute chained (pmm) X, force nolegend add(20)
rseed(687).

In order to run the diagnostics, I was trying to utilize a small
sample of my data.

This is what I did:

keep _mi* id* enr_t_ss* type_ss*
mi convert wide, clear

. qui mi xeq: generate byte mis_enr = missing(enr_t_ss2064)
file _1___mitmpfile1.dta could not be opened


I keep on getting the "file could not be opened" error. Also, I get
the same message when I don't do the convert wide.

Am I doing something particularly wrong here?

thank you,
Priya
Phd candidate, UPenn
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index