st: Re: Lag variables

Hello Nick,
Your suggestion worked. Thanks for your help.
Regards,
Alice
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/