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

RE: st: xtserial help

From   "Nick Cox" <>
To   <>
Subject   RE: st: xtserial help
Date   Tue, 29 Jul 2008 18:46:51 +0100

But what then is the status of the -xtserial- results? You need to
grapple with a new time metric, implicitly assumed comparable both
within and between panels. 


Austin Nichols

Kenneth F <> :
Make a new "time" variable that has no gaps:
bysort panelid (timeid): g faketime=_n
tsset panelid faketime

On Sat, Jul 19, 2008 at 9:18 PM, Greene, Kenneth F
<> wrote:

> When I run xtserial I get the error "no observations."  I have an
unbalanced panel with no missing values and my model uses the full
dataset (i.e., no "if" statement that excludes cases).  The data are
country-election-year and thus the time observations are unequally
spaced across the panels and in some cases even within panels.  My
intuition is that the problem may lie with tsset.  I used "tsset year,
generic" because I'm not sure how to specify the type of data I have.
Any suggestions would be much appreciated.

*   For searches and help try:

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