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: How to solve "repeated time values" error message for panel dataset
From
Nataliya Acc <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: How to solve "repeated time values" error message for panel dataset
Date
Thu, 5 Jan 2012 13:14:06 -0800 (PST)
Dear Nick and Maarten,
Thank you so much. I combined your comments and was able to find a mistake and declare my data set time series successfully!
Thank you
Have a great day
Nataliya
----- Original Message -----
From: Nick Cox <[email protected]>
To: "'[email protected]'" <[email protected]>
Cc:
Sent: Thursday, January 5, 2012 10:38 AM
Subject: RE: st: How to solve "repeated time values" error message for panel dataset
This is an FAQ
FAQ . . . . . . Dealing with reports of repeated time values within panel
. . . . . . . . . . . . . . . . . . . . . . . N. J. Cox and M. Mulcahy
12/05 How do I deal with a report of repeated time values
within panel?
http://www.stata.com/support/faqs/data/repeatedtime.html
Nick
[email protected]
Nataliya Acc
Thank you very much for your reply.
I tried to do what you suggested but it still returns the same error message:repeated time values within panel
r(451);
Is there anything else I could do or change?
From: Maarten Buis <[email protected]>
On Thu, Jan 5, 2012 at 10:37 AM, Nataliya Acc <[email protected]> wrote:
> When I am trying to declare my dataset time series I keep getting the following error
> message:
>
> repeated time values within panel
> r(451)
>
> I have data 20 partner countries, each of which contains data on 16 industries for 11 years.
The easiest sollution would be:
egen pan_id = group(country industry)
tsset pan_id year
Notice that now we are ignoring that the same industry in different
countries will be similar to one another and that different industries
in the same country will be similar to one another.
*
* 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/
*
* 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/