Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: How do I properly tell Stata this data is Panel Data?
From
Sun Yutao <[email protected]>
To
<[email protected]>
Subject
st: RE: How do I properly tell Stata this data is Panel Data?
Date
Sat, 13 Oct 2012 00:08:02 +0200
Hello Andrew,
I think you should set the quarter as your time axis. And when you need to estimate something that is year-wide, you take sum or average depending on what you want exactly.
Best regards,
Sun Yutao
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Nicholson
Sent: Saturday, October 13, 2012 12:01 AM
To: [email protected]
Subject: st: How do I properly tell Stata this data is Panel Data?
Essentially my data looks as follows:
County CountyNumber Year Quarter ......................
Allen 1 2001 1
Allen 1 2001 2
Allen 1 2001 3
Allen 1 2001 4
Allen 1 2002 1
... ... ... ...
Allen 1 2008 4
Anderson 2 2001 1
... ... ... ...
Anderson 2 2008 4
It continues this way for 105 counties. My question is how do I use the xtset command when I have both Year and Quarter as time variables. County and CountyNumber are both classifying the same thing in the dataset.
Thank you for your time,
Andrew Nicholson
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/