First of all, I am new to Stata and trying to learn the basics. I am trying to run a simple regression on some data that I have. I have panel data which is set up with the company number as the panel variable and the YEAR variable as the time variable:
.xtset CONO YEAR, yearly
panel variable: CONO (strongly balanced)
time variable: YEAR, 1999 to 2012
delta: 1 year
I want to regress a PRICE variable against 7 other variables. However, when I run the regression I get the following error:
. regress PRICE BV NI PPE1 PPE2 PPE3 PPE4 PPE5
no observations
r(2000);
The PRICE variable has 1553 observations, the independent variables have differing numbers of observations BV (1701), NI(1698) PPE1 (103), PPE2 (190), PPE3 (394), PPE4 (282), PPE5 (158).
I'm trying to understand what the problem is here and how to overcome it. Any help is greatly appreciated. Thanks in advance.
.xtset CONO YEAR, yearly
panel variable: CONO (strongly balanced)
time variable: YEAR, 1999 to 2012
delta: 1 year
I want to regress a PRICE variable against 7 other variables. However, when I run the regression I get the following error:
. regress PRICE BV NI PPE1 PPE2 PPE3 PPE4 PPE5
no observations
r(2000);
The PRICE variable has 1553 observations, the independent variables have differing numbers of observations BV (1701), NI(1698) PPE1 (103), PPE2 (190), PPE3 (394), PPE4 (282), PPE5 (158).
I'm trying to understand what the problem is here and how to overcome it. Any help is greatly appreciated. Thanks in advance.
Comment