Macquarie University
Department of Economics
ECON6034: Econometrics & Business Statistics
Tutorial 12 solution
Question 1
We have estimated following model by OLS and the Gretl output is given below.
π! = π½" + π½# π₯#! + π½$ π₯$! + π½% π₯%! + π’!
Model 2: OLS, using observations 1-58
Dependent variable: Y
coefficient std. error t-ratio p-value
-------------------------------------------------------const
2.46235 0.306017 8.046 8.30e-11 ***
X1
−0.462959 0.114830 −4.032 0.0002 ***
X2
0.311051 0.144857 2.147 0.0363 **
X3
1.14079 0.0968587 11.78 1.53e-16 ***
Mean dependent var 0.597300 S.D. dependent var 2.331855
Sum squared resid 74.64449 S.E. of regression 1.175715
R-squared
???????? Adjusted R-squared ????????
F(3, 54)
????????
P-value(F)
1.05e-16
Log-likelihood −89.61495 Akaike criterion 187.2299
Schwarz criterion 195.4717 Hannan-Quinn
190.4402
1. Use critical value method to Test π»" :π½# = 0 against π»# : π½# ≠ 0 at the 5%
significance level. Would you reject or not reject the null hypothesis?
H0: π½# = 0
H1: π½# ≠ 0
' (&
&
!
!
Test stat is: )*(&
' ~ π‘,(- ~ π‘.- if the null is true
!)
t=
(".-0$1.1("
".##-2%"
= −4.032
critical π‘.-,"."$. = 2.005 (ππππ πΊπππ‘π)
Reject H0 if |π‘| > 2.005.
Conclusion: 4.032 > 2.005 so we reject H0. The coefficient of x1 is significant at 5%.
If you want to test against some other value in the null hypothesis, or do a onesided test, you will need to make some manual calculations.
2. What is the p-value for the test in q1?
The p-value for the two-sided test is: 2 x Prob[ π‘.- > |4.032|] = 0.0002
N.B. Since this is a really common test that people want to look at (i.e. two-sided
test of significance with null value of zero) this is a standard part of the regression
output. Hint: go and find our t-stat and p-value in the output.
3. Is the x1 an important variable to explain changes in the dependent variable?
We have rejected the null hypothesis. Therefore, x1 is an important variable to
explain changes in the dependent variable.
4. Test the null hypothesis π»" : π½% = 1 against π»# : π½% > 1 at 1% significance level.
Would you reject or not reject the null hypothesis?
Test at 1% significance
H0: π½% = 1
H1: π½% > 1
' (&
&
#
#
Test stat is: )*(&
' ~ π‘,(- ~ π‘.- if the null is true
#)
#.#-"41(#
t = "."102.24 = 1.454
critical π‘.-,"."# = 2.397
Reject H0 if π‘ > 2.397.
Conclusion: 1.454 < 2.397 so we do not reject H0. There is no evidence that the
coefficient of x3 is greater than 1, at a 1% level of significance.
The p-value for the one-sided test is: Prob[ π‘.- > 1.454] = 0.075867 (from Gretl)
5. What is the value of the π
$ ? interpret it.
πππ
πππ
π
$ =
=
πππ
+ πππΈ πππ
SST= ∑(π − πG)$
∑(6(67)$
Variance of Y is = ,(# = 2.331855$
∑(π − πG)$ = 57 ∗2.331855^2
=309.94
SSR= 309.94 - 74.64449
SSR=235.295731
π
$ =
πππ
235.295731
=
= 0.7592
πππ
309.94
75.92% it is the percentage of the response variable variation that is explained by
a linear model.
6. Test the overall significance of the model at 5%. Use restricted and
unrestricted method (SSE of the restricted model is 309.9403).
π»" : π½# = π½$ = π½% = 0
π»# :at least one of the slope coefficients not equal to zero.
Restricted model: π! = π½" + π!
Model 3: OLS, using observations 1-58
Dependent variable: Y
coefficient std. error t-ratio p-value
------------------------------------------------------const
0.597300 0.306188 1.951 0.0560 *
Mean dependent var 0.597300 S.D. dependent var 2.331855
Sum squared resid 309.9403 S.E. of regression 2.331855
R-squared
0.000000 Adjusted R-squared 0.000000
Log-likelihood −130.9006 Akaike criterion 263.8012
Schwarz criterion 265.8616 Hannan-Quinn
264.6038
πΉ=
(πππΈ% − πππΈ& )/π
~πΉ((,*+,)
πππΈ& /(π − πΎ)
πΉ=
(309.9403 − 74.64449)/3
74.644495
54
./ 0! .1 2345.
πΉ =56.740
Critical value πΉ(%,.-,".".) = 2.77576
7. What is your conclusion?
The test statistic is larger than the critical value, therefore we reject H0 and
conclude that at least one of the slope coefficients is significantly different
from zero.
8. Find the value of the π
G$ ?
R2 = 1-
SSE / ( T - K )
SST / ( T - 1)
π
G$ = 1 −
74.64449/54
309.94/57
π
G$ = 0.7458