Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How do I properly tell Stata this data is Panel Data?


From   Andrew Nicholson <andrew5@k-state.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: How do I properly tell Stata this data is Panel Data?
Date   Fri, 12 Oct 2012 18:01:07 -0400 (EDT)

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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index