Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Declaring time series


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Declaring time series
Date   Thu, 13 May 2004 15:47:37 +0100

You should say exactly what you type. 

Among other things, it is possible that you are 
not declaring the panel variable to -tsset-. 

As with monthly data 1960m1 is 1, etc. (see 
Stata documentation), much of what you say 
sounds what would be expected. 

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

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of 
> jdubas@nd.edu
> Sent: 13 May 2004 15:35
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Declaring time series
> 
> 
> I am having a lot of difficulty trying to declare my panel 
> data as time series. 
> I tried creating a variable that is listed in the dataset as 
> 1960m1, 1960m2,
> etc, and it seems to be encoded (the value when in data 
> editor is 0,1,2,etc). 
> But when I try to declare it, it returns an error message 451 
> "repeated values
> within panel".  So I entered a new variable with values 0 
> through 516 for each
> country in panel, and tried to declare that as a time series 
> and it returns the
> same error message 451, saying "repeated values within sample".
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index