EViews 2nd Week Assignment With Solution
EViews 2nd Week Assignment With Solution
The problems that follow are from the course textbook. If it is referred to an EViews work file that
you yet have not created, you must import the data from the corresponding Excel file. This
procedure is described in the textbook.
Your solutions must be easy to follow and include figures and tables when prompted. The best
way to present the solutions is to use a Word document.
4.10 (slightly changed)
Re-open the Macro file and apply the same APT-type model to some of the other time-series of
stock returns contained in the CAPM-file (the APT-type model has already been applied for
Microsoft in chapter 3). Note: You need to add the stock series in the CAPM-file into the Macro-
file. So, import the capm.xls into the Macro file. Select Cancel for the series that already exist in
the Macro file.
a) Run the stepwise procedure in each case (Choose p-values = 0.2 as Stopping Criteria). Is
the same sub-set of variables selected for each stock? Can you explain the differences between
the series chosen?
b) Examine the sizes and signs of the parameters in the regressions in each case – do
these make sense?
5.13
Re-open the ‘macro.wf1’ and apply the stepwise procedure (on ermsoft) including all of the
explanatory variables as listed above, i.e., ersandp dprod dcredit dinflation dmoney dspread
rterm with a strict 5% threshold criterion for inclusion in the model. Then examine the resulting
model both financially and statistically by investigating the signs, sizes and significances of the
parameter estimates and by conducting all of the diagnostic tests for model adequacy.
QUESTION 4.10
Selection Summary
Added ERSANDP
Added DSPREAD
Added DCREDIT
*Note: p-values and subsequent tests do not account for stepwise selection.
Source: Computation in E-view 11 output
Estimated Stepwise Model for General Electric (GE) with p-value 0.2 as stopping criteria.
ERGEt =−0.876244 +1.3984 ERSANDPt + 6.4144 DSPREADt + 6.93 DSCREDIT t
Where:
ERGE = Excess Return on General Electric Stock
ERSANDP = Excess Return on S&P500 index value / the excess market return
DCREDIT = Changes in Consumer credit series / credit variables
DSPREAD = Changes in credit spread / default spread
STEPWISE REGRESSION RESULT FOR ORACLE
Dependent Variable: ERORACLE
Method: Stepwise Regression
Date: 11/19/20 Time: 14:24
Sample (adjusted): 2002M02 2013M04
Included observations: 135 after adjustments
Number of always included regressors: 1
Number of search regressors: 7
Selection method: Stepwise forwards
Stopping criterion: p-value forwards/backwards = 0.2/0.2
Selection Summary
Added ERSANDP
Added DPROD
*Note: p-values and subsequent tests do not account for stepwise selection.
Source: Computation in E-view 11 output
Estimated Stepwise Model for Oracle with p-value 0.2 as stopping criteria.
ERORACLEt =0.342924+ 1.107528 ERSANDP t−1.3504 DPRODt
Where:
ERORACLE = Excess Return on Oracle Stock
ERSANDP = Excess Return on S&P500 index value / the excess market return
DPROD = Changes in Production index / Production variable
STEPWISE REGRESSION RESULT FOR FORD
Dependent Variable: ERFORD
Method: Stepwise Regression
Date: 11/19/20 Time: 14:28
Sample (adjusted): 2002M02 2013M04
Included observations: 135 after adjustments
Number of always included regressors: 1
Number of search regressors: 7
Selection method: Stepwise forwards
Stopping criterion: p-value forwards/backwards = 0.2/0.2
Selection Summary
Added ERSANDP
Added DPROD
Added DSPREAD
Added DINFLATION
*Note: p-values and subsequent tests do not account for stepwise selection.
Source: Computation in E-view 11 output
Estimated Stepwise Model for General Electric (GE) with p-value 0.2 as stopping criteria.
(a). Question: Is the same sub-set of variables selected for each stock?
Table 4 above summarizes the variables selected for each stock at a p-value of 0.2 as stopping
criteria. It can be seen from the table that different sub-set of variables were selected for
individual excess stock returns except for the excess return on the market index (ERSANDP),
which was commonly selected for all the stocks.
Three variables were selected in the estimated General Electric (GE) stock model: excess market
return (ERSANDP), credit variables (DCREDIT), and default spread (DSPREAD), while money
supply, production variable, unexpected inflation, and term structure were omitted. The
estimated Oracle stock model, excess market return, and production variables were selected,
while money supply, credit variables, unexpected inflation, money supply, default spread, and
term structure were omitted. In the estimated Ford stock model, four variables were selected,
i.e., excess market return, production variable, unexpected inflation rate, and default spread,
while money supply, credit variables, and term structure were omitted.
(b). Question: Examine the sizes and signs of the parameters in the regressions in each case – do
these make sense?
The estimated constant (alpha) for the GE stock excess return has a negative value of 0.87624
and a negative value of 0.02850 for the Ford stock excess return. In contrast, the estimated
constant (alpha) for the return on the Oracle stock model has a positive value of 0.34292. The
estimated constant (alpha) for the three stocks is not statistically significant at the five percent
significance level. Considering the three estimated models, excess return on Oracle stock has the
highest constant (alpha) value with only a positive sign. This result means that Oracle stock
returned more than its expected return (abnormal returns) while GE and Ford's stock could not
'beat the market' and returned less, as shown by the negative alpha. Whether the estimated
constant (alpha) makes sense or not, alpha may be positive or negative depending on the stock
performance.
The estimated market excess return (ERSANDP) parameter for all three stock returns (GE stock,
Oracle stock, and Ford stock) is positive, greater than one, and statistically significant at the five
percent significance level. This result indicates that the three stocks move more than the market
and are all risky since their values are higher than one. Ford stock is more volatile and riskier than
the other two stock since it has the highest beta value, i.e., 1.92252. Whether the estimated
ERSANDP parameter makes sense or not, the estimated parameter for all the three stocks makes
sense since it is positive in all three cases.
The default spread (DSPREAD) estimated parameter for Ford stock excess return is negative, high,
and statistically significant at the five percent significance level. This result means that the higher
the default spread for Ford, the lower the excess return on Ford's stock. In contrast, the
estimated parameter of the default spread for GE stock excess return is positive but not
statistically significant at the five percent significance level. This result indicates that the higher
the default spread for GE, the higher the excess return on GE's stock. We can infer from these
results that the effect that default risk may have on equity returns is not apparent, which answers
the question of whether the estimated DSPREAD parameter makes sense or not.
The estimated parameter of the production index (DPROD) is negative for both Oracle stock
excess return and Ford stock excess return. However, it was statistically significant at the five
percent significance level for only Ford excess return. This result means that the Index of
Industrial production impact both stock returns negatively. Whether the estimated DPROD
parameter makes sense or not, the estimated parameter for the two-stock return (Oracle stock
and Ford stock) does not make sense as we expect increased industrial production to positively
impact the stock market activities.
The estimated parameter of the unexpected inflation (DINFLATION) is negative for Ford stock
excess return though not statistically significant at the five percent significance level. Unexpected
inflation can either positively or negatively impact the stock return, depending on the economic
cycle's timing.
For the robustness of the three stepwise estimated models, the R 2 value for the GE excess returns
regression was 0.56885, indicating that the selected variables (excess market return, credit
variables, and default spread) only explain 56.88 percent of the variation in GE excess returns.
The fit is not so good for the Oracle stock excess return; the R 2 is around 33.3%, implying that the
two selected variables (excess market return and production variables) only explained 33.3
percent of the variation in Oracle excess returns. Ford excess return stepwise estimated model
has an R2 value of 40.88 percent. This result implies that the four selected variables (excess
market return, production variable, unexpected inflation rate, and default spread) only explained
40.88 percent of Ford's variation in excess return. The p-values of the three models' F-statistic are
all 0.0000, which is less than 0.05, suggesting that all the parameters estimated in the three
models are all jointly statistically significant.
Question 5.13: Examine the resulting model both financially and statistically by investigating the
signs, sizes and significances of the parameter estimates and by conducting all the diagnostic
tests for model adequacy.
STEPWISE REGRESSION RESULT FOR MICROSOFT
Dependent Variable: ERMSOFT
Method: Stepwise Regression
Date: 11/22/20 Time: 04:35
Sample (adjusted): 1986M04 2013M04
Included observations: 325 after adjustments
Number of always included regressors: 1
Number of search regressors: 7
Selection method: Stepwise forwards
Stopping criterion: p-value forwards/backwards = 0.05/0.05
Note: final equation sample is larger than stepwise sample (rejected
regressors contain missing values)
Selection Summary
Added ERSANDP
*Note: p-values and subsequent tests do not account for stepwise selection.
Source: Computation in E-view 11 output
Answer
The stepwise estimated model for Microsoft excess returns with a strict 5% threshold criterion
revealed that the excess market return is the only variable included. In contrast, all other
variables: the money supply, default spread, Production index, credit variables, unexpected
inflation, and term structure, were omitted.
The estimated constant (alpha) has a negative value of 0.613701 but not statistically significant at
the five percent significance level. This negative constant implies that Microsoft stock under
performing and could not 'beat the market’, as a result, returned less. The estimated market
excess return (ERSANDP) parameter is positive, greater than one, and statistically significant at
the five percent significance level since its p-value is less than 0.05. This result implies that
Microsoft stock move more than the market (volatile) and risky since the estimated beta of
1.325376 is higher than one.
For the robustness of the Microsoft stepwise estimated models with a p-value of 0.05 as stopping
criteria, the R2 was 0.186762, indicating that the selected variable (excess market return) only
explains 18.67 percent of the variation in Microsoft stock excess returns; the fit is not so good.
The p-values of the stepwise regression models' F-statistic is 0.0000, which is less than 0.05,
suggesting that all the parameters estimated in the model are jointly statistically significant.
40
40 -40
20
-80
0
-20
-40
-60
-80
86 88 90 92 94 96 98 00 02 04 06 08 10 12
From the above diagram, it is hard to see any clear pattern of the residuals of the regression to confirm if
there is any systematically changing variability over the sample (heteroscedasticity), so we need to run the
formal statistical test (White).
Heteroskedasticity Test: White
Null hypothesis: Homoskedasticity
Test Equation:
Dependent Variable: RESID^2
Method: Least Squares
Date: 11/22/20 Time: 05:08
Sample: 1986M04 2013M04
Included observations: 325
Test Equation:
Dependent Variable: RESID
Method: Least Squares
Date: 11/22/20 Time: 05:20
Sample: 1986M04 2013M04
Included observations: 325
Presample missing value lagged residuals set to zero.
From the Breusch-Godfrey Serial Correlation LM Test above, the p-value of the F-
statistic is 0.1100 and p-value of the χ2 (‘LM’) is 0.1098 which are both greater than
0.05. The conclusion from both versions of the test in this case is that the null
hypothesis of no autocorrelation should not be rejected since the p-values are above
0.05. This implies that there is presence of autocorrelation in the estimated model.
Testing for non-normality
70
Seri es: Residual s
60 Sample 1986M04 2013M04
Observations 325
50
Mea n -5.79e-16
40
Medi an 0.975692
30 Maxi mum 30.43601
Mi ni mum -66.52280
20 Std. Dev. 12.68287
Skewness -2.428564
10 Kurtosis 13.11432
0 Jarque-Bera 1704.775
-62.5 -50.0 -37.5 -25.0 -12.5 0.0 12.5 25.0
Probabi li ty 0.000000
From the Bera-Jarque statistic Test above, the histogram is not bell-shaped. The
residuals are very negatively skewed and are leptokurtic. The null hypothesis for
residual normality is therefore rejected very strongly since the p-value for the Bera-
Jarque test is zero.
Multicollinearity test
We could not conduct a test for multicollinearity since we only have one selected
explanatory variable (ERSANDP) in the model.
RESET tests.
Value df Probability
t-statistic 1.612010 322 0.1079
F-statistic 2.598578 (1, 322) 0.1079
Likelihood ratio 2.612262 1 0.1060
F-test summary:
Mean
Sum of Sq. df Squares
Test SSR 417.2240 1 417.2240
Restricted SSR 52117.10 323 161.3532
Unrestricted SSR 51699.87 322 160.5586
LR test summary:
Value
Restricted LogL -1286.236
Unrestricted LogL -1284.930
From the Ramsey RESET test above, both F−and χ2 versions of the test are presented, and
there is limited evidence for non-linearity in the regression equation (p-values above 10%)
and so it would be concluded that the linear model for the Microsoft returns is
appropriate.
Stability tests in EViews
From the Chow Breakpoint test above, F-statistic is 0.841410 with p-value of 0.4321,
Log likelihood ratio is 1.699339 with p-value of 0.4276 and Wald statistic is 1.682820
with p-value of 0.4311. This result implies that all the three test statistics are smaller
than their critical values and so the null hypothesis that the parameters are constant
across the two sub-samples is not rejected.