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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: tsset multiple imputation panel data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: tsset multiple imputation panel data
Date   Wed, 12 May 2010 19:21:06 +0100

There are no work-arounds here. 

-tsset- demands that 

1. panel data are -tsset- by specifying identifier and time.

2. panel data occur at most once for each combination of identifier and
time. 

Either you arrange that the data meet that -- e.g. by working with one
imputed dataset at a time -- or you work outside the framework of
-tsset-. There is no third way. 

Nick 
n.j.cox@durham.ac.uk 

I need to generate lagged predicting variables for the multiple
imputation
panal data. To gerenrate lagged varaibles, i need to teset the data
first.

However, i tried tsset id time and get the error message of "repeated
time
values within panel". I think that is casused by the five multiple
imputed
datasets and now saved in one database.

Then i tried tsset id time _mj. The error message says "too many
variables
specified." Can anyone advice me on how to solve this problem?

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