Statalist The Stata Listserver


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

st: RE: questions about xtabond2


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: questions about xtabond2
Date   Sun, 26 Nov 2006 17:39:17 -0000

The second. Manifestly, you have a time variable with observations
only every four years. So, 1996 2000 2004 need to be mapped to consecutive
integers to use -tsset-. 1 2 3 will do fine.  

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

Samia Tavares
 
> 3. In one dataset, I have 3 years corresponding to 3 US presidential  
> elections--1996, 2000, and 2004. I constructed the lagged dependent  
> rather than relying on Stata's time series command (so the lagged  
> dependent is for 1992, 1996, and 2000). Data are at the county level  
> for one state. My question is about tsset. Would I do tsset county  
> year, even though the years are 4-years apart? Or would I create a  
> time variable so that 1996=1, 2000=2, and 2004=3 then do 
> tsset county time? The answers differ depending on how I do tsset.
 

*
*   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