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

st: [windows-1256] time variable year limit´┐Ż

From   Alan Williamson <[email protected]>
To   [email protected]
Subject   st: [windows-1256] time variable year limit´┐Ż
Date   Thu, 23 Aug 2007 15:22:27 +0000

Thank you Jenny and Nick.

I have two sets of panel data which is the same format, only the value is different. I just finished one set of the model testing. But the other set of the data could not work at all.

I got 

. tsset id year
repeated time values within panel

. isid id year
variables id year do not uniquely identify the observations

Actually my data was sorted by id (panel-firms) and year (time variable-1990-2005). When I describe it, the data was sorted by id year. However, no matter what I do, it is not accepted at all. Please help.

Thank you again.


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. 

[email protected] 

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.

> From: [email protected]
> To: [email protected]
> Subject: time variable year limit
> Date: Thu, 23 Aug 2007 12:06:21 +0000
> Hello,
> 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? Your help is appreciated.
> Thank you.
> Alan
The next generation of MSN Hotmail has arrived - Windows Live Hotmail

*   For searches and help try:

*   For searches and help try:

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