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]

Re: st: "covariates in dataset 2 do not match covariates in dataset1"


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: "covariates in dataset 2 do not match covariates in dataset1"
Date   Tue, 16 Mar 2010 07:40:16 -0700 (PDT)

--- On Mon, 15/3/10, Michelle L Stransky wrote:
> I'm working with a multiply imputed dataset (so I have 5
> poverty variables to account for missing values).  I
> used the -reshape long- command to make each imputed
> variable it's own case (so now, for each case, I have it
> listed 5 times each with 1 imputation of income).

Getting the format right using -reshape is not that easy. 
You could use -mimstack- to take care of that. You can 
install it by typing in Stata: -ssc install mimstack-.

There are also discussions of -mimstack- in John B. Carlin,
John C. Galati and Patrick Royston (2008) "A new framework 
for managing and analyzing multiply imputed data in Stata"
The Stata Journal, 8(1): 49--67
http://www.stata-journal.com/article.html?article=st0139

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
-------------------------- 


      

*
*   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