Assignment Econometrics
Assignment Econometrics
Assignment Econometrics
The preliminary analysis of the sample data produces the following sample information:
N N N N
∑ Y i= ∑ X i= ∑ Y 2= i
∑ X i2 =
N = 32 , i=1 4,917.8, i=1 11,856.1 , i=1 4,022,814.0 i=1 25,796,522.5
N N N N
∑ X i Y i= ∑ xi yi= ∑ yi 2= ∑ x i2 =
, i=1 9,785,312.0, i=1 7,963,252.0 i=1 3,267,040.6 , i=1 21,403,801.0
N N
∑ u^ i2 =∑ e 2= x i= X i− X̄ , y i =Y i−Ȳ
, i=1 1 304,324.7, where for i = 1, ..., N.
Use the above sample information to answer all the following questions:
(a) Fit the regression equation (5 pts).
U1 1 ∑ xiyi
E(Y i )=β 0 +β 1 X 1i E(V 2)=E( i )2= E(U 2)= ⋅σ2X1i=σ2¿
i √X X i X 2
and 1i 1i 1i ∑ xi
U1 1
E(V 2)=E( i )2= E(U 2)= ⋅σ2X1i=σ2 ∑ xiyi
i √X X i X ¿
1i 1i 1i 2
Then, ∑ xi
U1 1
E(V 2)=E( i )2= E(U 2)= ⋅σ2X1i=σ2
i √X X i X ¿ 0.372
1i 1i 1i
Yi=β0+β1X1i+Ui =15.854
∑ e t e t −1 = P
^
∑ e t −1 2
304,324
R2¿ 1− 3,267,040.6
304,324.7
R2¿ 1− 3,267,040.6
=1-0.09315
=0.90685
=0.91
(n−1)
Adjusted R2¿ 1−(1−R 2) ( n−k ) Where, k = the number of explanatory variables in the
(32−1)
¿ 1−(1−0.906)
(32−1)
(31)
=1−(0.094) (31)
=1−(0.094)
=0.906
R2 =0.91 result shows that 91% of the variation in annual spending of the companies is
explained by the variation in annual firm profits of the companies; and the rest 9% remain
unexplained by the firm profits. In other word, there may be other important explanatory
variables left out that could contribute to the variation in annual spending of the companies,
under consideration.
Part II:
The average class size x1 (acs_k3, b1=-2.68, p=0.055,), is not statistically significant at
the 0.05 level, but only just so. The coefficient is negative which would indicate that
larger class size is related to lower academic performance — which is what we would
expect.
The effect of meals (b2=-3.70, p=0.000) is significant and its coefficient is negative
indicating that the greater the percentage students receiving free meals, the lower the
academic performance.
The percentage of teachers with full credentials (full, b 3=0.11, p=.232) is not statistically
significant at the 0.05 level. This would seem to indicate that the percentage of teachers
with full credentials is not an important factor in predicting academic performance — this
result was somewhat unexpected.
Finally, the constant is 906.7392, and this is the predicted value when all other
independent variables equal zero. In most cases, the constant is not very interesting.
b. Use the following test results and check whether specification error is evident or not
(4 pts).
Since Prob > F value is less than 0.05, thus, the conclusion is that the null hypothesis that there
are no omitted variables is rejected in favor of the hypothesis that there are omitted variables.
Therefore, there are omitted variables in this model.
chi2(1) = 0.51
Prob > chi2 = 0.4745
ii.
Cameron & Trivedi's decomposition of IM-test
Source chi2 df p
Ho: This is the null hypothesis of the test, which states that there is constant variance among the
residuals.
chi2 (1): This is the Chi-Square test statistic of the test. In this case, it is 0.51.
Prob > chi2: This is the p-value that corresponds to the Chi-Square test statistic. In this case, it
is 0.4745. Since this value is greater than 0.05, we can accept the null hypothesis and conclude
that heteroscedasticity is not present in the data.