Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: running mi disagnostics in stata 12


From   priya joshi <joship@dolphin.upenn.edu>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index