Outputs 1
Outputs 1
Outputs 1
2. Read the compiled data into Stata, and estimate the empirical model. Test the following null and
alternative hypotheses:
------------------------------------------------------------------------------
dlypc | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lypc90 | -.2062384 .0770836 -2.68 0.011 -.3619119 -.0505649
lseced | .2577504 .0986859 2.61 0.013 .0584502 .4570505
govgdp | .0105313 .0064143 1.64 0.108 -.0024227 .0234854
open | .0004107 .0016631 0.25 0.806 -.0029479 .0037694
infl | .1230312 .1081789 1.14 0.262 -.0954406 .341503
credit | .2556387 .151297 1.69 0.099 -.0499118 .5611892
_cons | .7505424 .4124443 1.82 0.076 -.0824058 1.583491
------------------------------------------------------------------------------
(i) H0:2=3=4=5=6=7=0 against H1:j0 for at least one j(2...7), using a significance
level of 0.05.
(ii) H0:2=0 against H0:20 using a significance level of 0.05.
(iii) H0:2=0 against H0:20 using a significance level of 0.01.
(iv) H0:3=0 against H0:3>0 using a significance level of 0.05.
(v) H0:7=0 against H0:7>0 using a significance level of 0.05.
For the above questions, you should answer them manually as in the exam, for students who don’t know
how to answer or comment on them, you could see Dr Jan (Iraqi) for further explanation.
4. Carry out diagnostic tests for the validity of the following statistical assumptions underlying the
model you have estimated and the hypotheses you have tested in Q2:
------------------------------------------------------------------------------
e1 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lypc90 | .2026519 .233909 0.87 0.391 -.2700958 .6753996
lseced | -.2427308 .2823368 -0.86 0.395 -.8133549 .3278932
govgdp | -.010667 .0132804 -0.80 0.427 -.0375076 .0161736
open | -.0003331 .0017053 -0.20 0.846 -.0037797 .0031135
infl | -.0955301 .1502686 -0.64 0.529 -.3992342 .208174
credit | -.2796303 .3402889 -0.82 0.416 -.9673798 .4081191
yhat2 | 1.663375 1.812261 0.92 0.364 -1.999341 5.326092
_cons | -.6515433 .8213831 -0.79 0.432 -2.311621 1.008534
------------------------------------------------------------------------------
(ii) The homoscedasticity assumption.
Source | SS df MS Number of obs = 48
-------------+------------------------------ F( 1, 46) = 0.24
Model | .00606996 1 .00606996 Prob > F = 0.6273
Residual | 1.16893934 46 .025411725 R-squared = 0.0052
-------------+------------------------------ Adj R-squared = -0.0165
Total | 1.1750093 47 .025000198 Root MSE = .15941
------------------------------------------------------------------------------
e2 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
yhat2 | .1369941 .2803018 0.49 0.627 -.4272243 .7012124
_cons | .0536875 .0362078 1.48 0.145 -.0191949 .12657
------------------------------------------------------------------------------
------------------------------------------------------------------------------
dlypc | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lypc90 | -.1965536 .0638014 -3.08 0.004 -.325501 -.0676062
lseced | .2667369 .081659 3.27 0.002 .101698 .4317758
govgdp | .0087029 .0053218 1.64 0.110 -.0020529 .0194587
open | .0005442 .001376 0.40 0.695 -.0022368 .0033253
infl | .0991334 .089647 1.11 0.275 -.0820499 .2803166
credit | .1970322 .1258417 1.57 0.125 -.0573034 .4513679
DMY | -1.059586 .2374235 -4.46 0.000 -1.539436 -.5797349
_cons | .7062628 .3413231 2.07 0.045 .0164231 1.396102
------------------------------------------------------------------------------
(i) The linearity assumption.
------------------------------------------------------------------------------
e3 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lypc90 | .009753 .0812979 0.12 0.905 -.1545562 .1740623
lseced | -.0137149 .1081433 -0.13 0.900 -.2322808 .2048509
govgdp | -.0003871 .0056692 -0.07 0.946 -.011845 .0110708
open | -.0000339 .0013862 -0.02 0.981 -.0028356 .0027678
infl | -.0032091 .0909737 -0.04 0.972 -.1870737 .1806556
credit | -.0083806 .1324005 -0.06 0.950 -.2759719 .2592107
yhat4 | .0819433 .4240411 0.19 0.848 -.7750758 .9389624
_cons | -.029089 .372765 -0.08 0.938 -.7824753 .7242973
------------------------------------------------------------------------------
------------------------------------------------------------------------------
e4 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
yhat4 | .1103248 .0945267 1.17 0.249 -.0799475 .3005971
_cons | .0314893 .0154542 2.04 0.047 .0003815 .062597
------------------------------------------------------------------------------