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: Lag variables
From
Alice Jones <[email protected]>
To
[email protected]
Subject
st: Re: Lag variables
Date
Wed, 6 Mar 2013 04:32:16 +0000
Dear Statalisters,
I am analysing firm performance on a balanced panel over a period of 9
years. I create a variable SIZE which measures firm size in the first
year of the sample period and regress this against firm performance
over the 9 year period.
I run the following command to create the size variable:
gen SIZE = employment if year==1991
However, when I run the regression:
reg GROWTH SIZE
I get the error message, No observations.
Can someone please help me out with this?
Regards,
Alice
*
* 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/