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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: Re: Lag variables


From   Alice Jones <alicejones07@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Lag variables
Date   Thu, 7 Mar 2013 02:33:34 +0000

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/


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