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: 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 10:35:09 -0800 (PST)

Dear Maarten,

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?

Thank you very much for your time and help

Looking forward to hearing from oyu

Best regards

Nataliya



----- Original Message -----
From: Maarten Buis <[email protected]>
To: [email protected]
Cc: 
Sent: Thursday, January 5, 2012 2:02 AM
Subject: Re: st: How to solve "repeated time values" error message for panel dataset

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.

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?searchhttp://www.stata.com/support/statalist/faqhttp://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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index