[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: AW: time variable year limit

From   "Nick Cox" <>
To   <>
Subject   st: RE: AW: time variable year limit
Date   Thu, 23 Aug 2007 14:28:02 +0100

I agree with Jenny than Alan's problem is unlikely
to arise from variable names. But it is not correct
that choice of variable names is absolutely free. 
Name choice is constrained in terms of length 
and characters allowed and the fact that certain 
words are reserved. 


Jenny Winkler
> I don't know if this answers your question but 'repeated 
> within th panel'
> means that there are more than one observation for a certain 
> country and
> year. 
> If you want to tell stata tat the data you are using are 
> panel data you have
> to put tsset country year or something similar (the first 
> variable fort he
> cross sections, the second fort he time parameters).
> I don't think, you're problem has anything to do with the name of the
> variable, which you can choose absolutely freely for certain.
Alan Williamson
> I try to use year, yr, y, t, time, tim, etc. as the name of a 
> time variable
> (tsset). But I always got 'repeated within the panel' or 'invalid time
> variable'.
> Must the time variable have a restrict name or  year limit, 
> such as minimum
> 2 or 3 years? 

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index