Statalist The Stata Listserver


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

Re: st: Panel Dataset


From   "Ada Ma" <[email protected]>
To   [email protected]
Subject   Re: st: Panel Dataset
Date   Tue, 4 Jul 2006 22:31:51 +0100

if you use -xtreg- you wouldn't need to specify the years in your
equation.  you'll however still need to generate an numerical ID to
use in place of team names as suggested by Rodrigo A. Alfaro.

On 7/3/06, [email protected] <[email protected]> wrote:
Dear Sir/Madam

I am a student at the University of Cape Town (UCT) in South African, and am
currently working on my honours thesis focussed on production functions for
cricket teams. I am using the stata package for statistical analysis.

I have a panel dataset with a series of observations for each team each season.
eg.
Team              Year
Boland            1995  (observed values for various variables)
  "               1995                     "
  "               1995                     "
  "               1996                     "
  "               1996                     "
  "               1996                     "
  "               1997                     "
  "               1997                     "
                   etc.
Eastern Province  1995                     "
                  1995                     "
                  1996                     "
                  1996                     "
                  etc.
I want to run a linear regression on the panel data but have encountered
problems of "repeated time values" within the panel and "string variable not
allowed" when trying to specify the time variable as "year". How can I get
around this problem given that I have several observations for each different
team for any particular year? Can I somehow respecify the "year" variable in
stata?

Kind Regards
Neil Balchin

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index