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: tsset - repeated time values within panel


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: tsset - repeated time values within panel
Date   Tue, 29 Mar 2011 09:02:29 +0100

You don't say how you are defining panels with -tsset-. It sounds as
if you regard a country pair as defining a panel, in which case
something like

. egen group = group(cty1 cty2), label
. tsset group year

is the way to proceed.

On Mon, Mar 28, 2011 at 11:00 PM, emanuele mazzini
<[email protected]> wrote:

> I have a panel bilateral dataset with country pairs from year 1950 to
> 2006 and experiencing the error message repeated time values within
> panel when typing tsset. I have already read some messages sen by
> other people experiencing the same issue, and also I tried to follow
> the suggestion of the guide, but still cannot understand why i got
> that.
> To be more precise, as mine is a bilateral dataset, I have to say that
> every observation is identified by three variables (cty1, cty2 and
> year) so may be the problem relates to this, but obviously I am not
> sure.
> Finally, I am not really interested in the command per se, but the
> point is to replace some missing values which are time-constant and
> for which I do have data for the previous/following years.
> Can anybody help me to deal with this?
*
*   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