Assignment 2 and 3 Financial Ecm - Due 26 Dec 2023
Assignment 2 and 3 Financial Ecm - Due 26 Dec 2023
EII3005
Assignment 2 (Eviews) 10 marks [data set is attached]
1. Plot the three yield curve of the US Treasury Bill of 4-week, 3-month, and 6-month
USTB.
ustb3m
6
5
4
3
2
1
0
01 02 03 04 05 06 07 08 09
ustb4w
6
-2
01 02 03 04 05 06 07 08 09
ustb6m
6
5
4
3
2
1
0
01 02 03 04 05 06 07 08 09
1
Assignment 2 and 3 Financial Econometrics (20%)
t-Statistic Prob.*
LM-Stat.
2
Assignment 2 and 3 Financial Econometrics (20%)
t-Statistic Prob.*
0.8
0.4
0.0
-0.4
-0.8
-1.2
01 02 03 04 05 06 07 08 09
3
Assignment 2 and 3 Financial Econometrics (20%)
4. Assuming all the three series are integrated of order one I (1), what kind of analysis can
you do?
A series with a unit root (a random walk) is said to be integrated of one order or I (1).
If all the series are I (1), we can use the Vector Error Correction Model (VECM).
H0: r=0
H1: 0 < r ≤ g
Based on the p-value of the Trace statistic and Maximum Eigenvalue, having p-values that are
less than 0.05, the null hypothesis is rejected at a 5% significance level.
R=2, reject H0, there are 2 cointegrating vectors. We can proceed to the Error Correction Model.
4
Assignment 2 and 3 Financial Econometrics (20%)
6. Conduct the relevant analysis to check whether there is any information flow between the
three yield curves.
By inspecting the graph of USTB3M, USTB 4W, and USTB 6M, we can see that all three
variables are moving together. We can run Engle-Granger two steps approach to see if they
have a long-run relationship.
6
-1
01 02 03 04 05 06 07 08 09
To determine whether they have a long-run relationship, all the variables must be cointegrated of
the same order. After conducting the stationarity test, we found that all the variables become
stationary after taking the first difference. This means that all the variables are integrated of the
same order, I (1).
t-Statistic Prob.*
5
Assignment 2 and 3 Financial Econometrics (20%)
1st difference.
Null Hypothesis: D(USTB3M) has a unit root
Exogenous: Constant
Lag Length: 3 (Automatic - based on SIC, maxlag=25)
t-Statistic Prob.*
t-Statistic Prob.*
t-Statistic Prob.*
6
Assignment 2 and 3 Financial Econometrics (20%)
t-Statistic Prob.*
t-Statistic Prob.*
7
Assignment 2 and 3 Financial Econometrics (20%)
t-Statistic Prob.*
8
Assignment 2 and 3 Financial Econometrics (20%)
P-value=0.000 < a=0.05, reject H0, residual is stationary, therefore, there is a cointegrating
relationship between the variables.
VAR Lag Order Selection Criteria
Endogenous variables: USTB3M USTB4W USTB6M
Exogenous variables: C
Date: 12/17/23 Time: 22:37
Sample: 7/31/2001 12/31/2009
Included observations: 2096
Two criteria suggest that lag 6 is an optimal lag and three criteria suggest that lag 8 as an optimal
lag. I choose lag 6.
1.0
0.5
0.0
-0.5
-1.0
-1.5
-1 0 1
H0: The estimated VAR is stationary.
H1: The estimated VAR is non-stationary.
Since there is no inverse roots lie outside the unit circle, do not reject H0. Therefore, the estimated
VAR is stable.
9
Assignment 2 and 3 Financial Econometrics (20%)
H0: r=0
H1: 0 < r ≤ g
Reject H0, there are 2 cointegrating equations. We can go to ECM model.
Dependent Variable: D(USTB3M)
Method: Least Squares
Date: 12/17/23 Time: 23:11
Sample (adjusted): 8/03/2001 12/31/2009
Included observations: 2101 after adjustments
10
Assignment 2 and 3 Financial Econometrics (20%)
WALD Test.
11
Assignment 2 and 3 Financial Econometrics (20%)
c(1)=c(2)=c(3)=c(4)=c(5)=c(6)=0.
Wald Test:
Equation: Untitled
Wald Test:
Equation: Untitled
12
Assignment 2 and 3 Financial Econometrics (20%)
c(7)=c(8)=c(9)=c(10)=c(11)=c(12)=0.
Wald Test:
Equation: EQ02
13
Assignment 2 and 3 Financial Econometrics (20%)
1 0.046556 61.80189 0.572193 37.62592 In the first period, the shock of USTB6M
2 0.069243 73.25701 0.506259 26.23673 comes from USTB3M by 61%, and from
3 0.083583 73.54924 0.348236 26.10252
4 0.093608 71.49359 0.279443 28.22697
USTB6M by 37%. After ten periods, the
5 0.105139 69.77304 0.231987 29.99498 shock comes from USTB3M by 63% and
6 0.116686 66.94912 0.339331 32.71155 from USTB6M by 35%.
7 0.127392 65.49360 0.653736 33.85266
8 0.136734 64.21318 1.103675 34.68315
9 0.145398 63.66250 1.363727 34.97378
10 0.153723 63.20564 1.595185 35.19918
14
Assignment 2 and 3 Financial Econometrics (20%)
Question 2
Download the time series data of Maybank and Sunway REIT from Jan 1, 2020, to Nov 30,
2021. (download from Yahoo finance)
1. Compute the portfolio return and portfolio risk for 2020 and 2021. Is 2021 riskier
than 2020?
𝑅𝑝,𝑡 = ∑𝑛𝑖=1 𝑤𝑖 𝑅𝑖𝑡
2020 2021
Portfolio return -0.0152263 % 0.005349 %
The portfolio risk in 2020 is 1.6682289 % which is higher than the portfolio risk in
2021 which is 0.812042 %. Therefore, we can conclude that 2020 is riskier than
2021.
R = α+βKLCI + ε
https://www.jstor.org/stable/2327592
The alpha for Maybank stock is higher than the alpha for Sunway REIT stock. This means that
Maybank stock is providing higher risk-adjusted return as compared to Sunway REIT stock.
A negative alpha for Sunway REIT means that the manager actually did worse than they should
have given the required return of the portfolio.
The beta for Maybank is higher than the beta for Sunway REIT which is 0.933254. The value is
near 1, which means that Maybank stock on average has a similar risk as compared to the market.
Sunway REIT has a beta of less than 1 which means that the asset is less volatile than the market
and less risky than the average market, and potentially to get lower return.
15
Assignment 2 and 3 Financial Econometrics (20%)
Question 3
Draw a combo chart to depict the growth of three variables. After that, please provide your
comment on the trend.
Islamic Asset Under Management for Malaysia Fund Management Industry
2018 2019 2020 2021
Total AUM (RM Bil) 743.58 823.19 905.46 968.76
Islamic AU 158.83 180.52 216.8 228.25
Percentage 21.36 21.93 23.94 23.56
Source: Securities Commission, Malaysia
16
Assignment 2 and 3 Financial Econometrics (20%)
Assignment 3 (10%)
State clearly SUBJECT CODE, your name, matric number, and email address on the Top
Right corner of the First page
1. A researcher, Rojen intends to use the CAPM model to estimate the risk and return
relationship of stock listed in the Bursa Malaysia.
The expected return of a given asset 𝑖 in the universe of all investment opportunities, according
to the Sharpe–Lintner CAPM model, should be equal to Eq. (1).
Where 𝐸(𝑅𝑖)is the expected return of the individual asset 𝑖, which should be a risk-free rate 𝑅𝑓
plus the risk premium per unit of beta risk[𝐸(𝑅𝑀) − 𝑅𝑓] multiplied with 𝐵𝑖𝑀. The beta coefficient
of the individual asset return, 𝐵𝐼𝑀 is the covariance risk of asset 𝑖 relative to the average
covariance of all risk assets.
(a) Rewrite the theoretical model above into an empirical model. Identify the parts of the
equation.
𝑅𝑖 − 𝑟𝑓 = 𝛼 + 𝛽(𝑅𝑚 − 𝑟𝑓) + 𝜀
𝑅𝑖 = return to asset i.
𝑟𝑓 = risk-free rate.
𝑅𝑚 = market return.
𝛼 = intercept term
𝛽 = beta of the asset i is the covariance of its return with the market return divided by the
variance of the market return.
𝜀 = random return for stock i.
(𝑅𝑚 − 𝑟𝑓) = market risk premium.
17
Assignment 2 and 3 Financial Econometrics (20%)
(b) Rojen has the data from Jan 5, 2021, to April 20, 2023. Suppose he intends to see
whether the Beta has changed after the General Election on November 19, 2022. Restate the
model using a dummy variable and identify the sub-sample period clearly.
Let Dt be the dummy variable that takes the value 0 for the period before the election (January 5,
2021, to November 19, 2022) and 1 for the period after the election (November 20, 2022, to April
20, 2023).
The sub-sample period:
Before the general election: January 5, 2021, to November 19, 2022. (Dummy variable Dt = 0)
After the general election: November 20, 2022, to April 20, 2023. (Dummy variable Dt = 1)
𝑟𝑖 = 𝛼𝑖 + 𝛽𝑖 𝑟𝑚 + 𝛾𝑖 𝐷𝑡 𝑟𝑚 + 𝜀
18
Assignment 2 and 3 Financial Econometrics (20%)
2. Based on the idea of a market model proposed by Stapleton and Subrahmanyam (1983) in
the Journal of Finance, Vol. 38, No.5, as shown below, where 𝑅𝑖 is the return of the individual
asset 𝑖, and 𝑅𝑀 is the return of the market benchmark.
(a) Based on the estimated output below, test whether the stock is aggressive or defensive.
Hypothesis:
Decision:
From the regression output, the coefficient of the β = 0.129061 which is less than 1.
Therefore, we must reject the null hypothesis that the stock is aggressive. We can
conclude that the stock is defensive, or the stock doesn’t move much because the
coefficient of β is less than 1.
19
Assignment 2 and 3 Financial Econometrics (20%)
(b) Based on the estimated output below, conduct a test to ascertain whether the return stock
has a serial correlation. Suggest a method to mitigate the problem (if there is).
The value of Durbin-Watson statistic is 2.009385 which it is quite close to the expected value of
2. This suggests that there is not strong evidence of serial correlation in the residuals. Therefore,
we do not reject the null hypothesis of no autocorrelation.
20
Assignment 2 and 3 Financial Econometrics (20%)
(c) Based on the estimated output below, conduct a test to ascertain whether the return stock
has heteroscedasticity. Suggest a method to mitigate the problem (if there is one).
H0: Homoskedastic.
H1: Heteroskedasticity.
P-value = 0.2781 > a = 0.05. Do not reject H0 at 5% significance level, there is no
heteroskedasticity on the return stock.
21
Assignment 2 and 3 Financial Econometrics (20%)
(d) Based on the estimated output below, conduct a test to ascertain whether the beta parameter
has changed after the General Election held on 19 November 2022.
22