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: RE: tsset multiple imputation panel data
From
Steve Samuels <[email protected]>
To
[email protected]
Subject
Re: st: RE: tsset multiple imputation panel data
Date
Wed, 12 May 2010 14:45:27 -0400
Assuming you have registered your data using -mi register-, convert
to wide format with -mi convert wide-.
Steve
-
Steven Samuels
[email protected]
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax: 206-202-4783
On Wed, May 12, 2010 at 2:21 PM, Nick Cox <[email protected]> wrote:
> 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
> [email protected]
>
> 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/