墨爾本代寫-線上編程學術專家

Best代寫-最專業靠譜代寫IT | CS | 留學生作業 | 編程代寫Java | Python |C/C++ | PHP | Matlab | Assignment Project Homework代寫

Matlab代寫 | Nonlinear econometrics for finance – Homework 3

Matlab代寫 | Nonlinear econometrics for finance – Homework 3

這個作業是用Matlab完成非線性計量經濟模型

墨尔本代写assignment,加拿大美国论文代写,北美essay代写-Panda ScholarNonlinear econometrics for finance – Homework 3

1 Question 1 (50 points)
Consider the same C-CAPM model described in class, with CRRA utility function
u(ct) = c
1?γ
t
1 ? γ
(1)
We have shown in class and in the second homework that the model provides the following conditions for all
time periods t = 1, 2, …, and all assets i = 1, 2, …, N
Et

β

ct+1
ct
?γ

1 + R
i
t+1
? 1
#
= 0. (2)
This provides a system of equations – one per asset – that we can use to estimate the parameters β and γ.
Indeed, the conditions in (2) are valid for any period t, and using the law of iterated expectations we can
write the unconditional expectation
E

β

ct+1
ct
?γ

1 + R
i
t+1
? 1
#
= 0 (3)
The GMM estimator solves the system of equations in (3) to find the parameter estimates for β and γ.
During the lectures, we also noticed that we can use equation (2) to create new moments conditions. We
have done this with the diffusion models in class, but the same logit applies here. Indeed, if we multiply the
conditional moment equation (2) by a function of variables contained in the information set of the investor,
we can obtain new moment conditions. To be concrete, remember that the notation Et means
E

β

ct+1
ct
?γ

1 + R
i
t+1
? 1

It
#
= 0 (4)
where It is all the information available for the inverstor at time t. This information includes past values of
consumption growth and returns,
It =

ct
ct?1
, R1
t
, …, RN
t
,
ct?1
ct?2
, R1
t?1
, …, RN
t?1
,
ct?2
ct?3
, R1
t?2
, …, RN
t?2
, …
(5)
This means that if we multiply any variable that is part of the information set It by one of the moment
conditions, the equation will still be equal to zero. The reason is that anything in the information set at time
t is a constant when computing the expected value at time t. Concretely, consider the moment condition

ct
ct?1

Et

β

ct+1
ct
?γ

1 + R
i
t+1
? 1
#
= 0. (6)
This is always true as we are multiplying ct
ct?1
by a conditional expected value that we know is equal to zero.
That means that if we take ct
ct?1
inside the expected value we still have an expected value equal to zero.
Et
“
ct
ct?1

β

ct+1
ct
?γ

1 + R
i
t+1
? 1
!# = 0. (7)
If this is the case, then the equation (7) is satisfied for any t and using the law of iterated expectations we
can use the unconditional moment condition
E
“
ct
ct?1

β

ct+1
ct
?γ

1 + R
i
t+1
? 1
!# = 0. (8)
as an additional moment to estimate our parameters.
This means that now for each asset i = 1, …, N we have two moment conditions to use for estimation
E

β

ct+1
ct
?γ

1 + R
i
t+1
? 1
#
= 0 (9)
E
“
ct
ct?1

β

ct+1
ct
?γ

1 + R
i
t+1
? 1
!# = 0. (10)
for a total of 2N moment conditions.
Notice how this is analogous to what we saw in the first homework with instrumental variables. Indeed,
we think of zt =
ct
ct?1
as an instrumental variable:
? zt =
ct
ct?1
is uncorrelated with the error in our nonlinear equation εt = β

ct+1
ct
?γ
1 + Ri
t+1
? 1,
because we have just shown
COV (zt, εt) = E (ztεt) = 0 (11)
because we know that E (εt) = 0.
? zt =
ct
ct?1
is correlated with the data, since it is certainly correlated with consumption growth in the
next period ct+1
ct
Data description The data in the file ccapmmonthlydata.xls are monthly data on consumption growth
and asset returns from February 1959 to November 1993 (not quarterly as in the first homework). The
first column contains the date; the second column contains the time series for the consumption growth ct+1
ct
.
Columns 3-13 are your asset returns for 11 asse
1. (10 points) Estimate the model using the usual moment conditions. This is equivalent to what you did
in Homework 2 with the quarterly data. Please use the HAC estimator for the standard errors.
(HINT: note that the data contains consumption growth ct+1
ct
for t = 1, …, T and not consumption levels
ct for t = 1, …, T. Modify the code from homework 2 accordingly, to compute the moments correctly.)
2. (5 points) Perform the Hansen test for overidentifying restrictions for this model. Explain your result.
3. (20 points) Use the lagged consumption growth ct
ct?1
as your instrumental variable. This means that
you need to add N moments to the usual moment conditions you used in the previous estimation. Reestimate the model using all the moment conditions (the original N moments and the new instrumental
variable moments). Please use the HAC estimator for the standard errors. Are your results different
from the estimates obtained in the first question? Why?
4. (5 points) Perform the Hansen test for overidentifying restrictions for this new estimates. Explain your
result.
5. (10 points) Is there any other variable that you could use as instrumental variable? Explain why
and write the moment conditions that you would use for estimation. (You don’t need to perform the
estimation in Matlab for this last question).
2 Question 2 (50 points)
1. (10 points) Estimate a GARCH(1,1)-M model using the Maximum Likelihood Estimator (see slides of
Lecture 6 for details on the model):
rt = βht + εt,
εt =
p
htut, with Et?1(ut) = 0 and Et?1(u
2
t
) = 1
ht = μ
? + δ
?ht?1 + φ
?
ε
2
t?1
.
2. (10 points) Compute standard errors (not using the gradient function in Matlab).
3. (4 points) Test whether the parameter β is significant. Test whether β = 5.
4. (8 points) Estimate a T-GARCH(1,1) model using the Maximum Likelihood Estimator (see slides of
Lecture 6 for details on the model):
rt =
p
htut, with Et?1(ut) = 0 and Et?1(u
2
t
) = 1
ht = μ
? + δ
?ht?1 + φ
?
ε
2
t?1 + ηε2
t?11(εt?1<0).
where 1(εt?1<0) is a variable that is equal to 1 when εt?1 < 0 and it is 0 otherwise
1(εt?1<0) =
(
1 if εt?1 < 0
0 otherwise
5. (10 points) Compute standard errors (not using the gradient function in Matlab).
6. (2 points) Test if the parameter η is significant.
7. (6 points) Plot the time series of conditional variances in both cases. Do you see anything interesting
in some time periods?
3

Essay_Cheery

評論已關閉。

在線客服

售前咨詢
售后咨詢
微信號
Essay_Cheery
微信
北美代写,论文Essay代写,留学作业代写,-北美最专业的代写专家 堪培拉代写assignment,论文代写,留学作业代写-peaking代写 essay代写,assignment代写,留学生作业代写网课代做-锐 泽 代写 阿德莱德代写assignment,北美网课代修领导者,留学生网课代修代考 珀斯代写assignment,CS代写,留学生CS程序代写-Custom Writing代写 新西兰代写,math代写,新西兰Assignment代写-美 伦 代写 怎么样? 留学生CS代写,Java编程代写,网课代上代修-ezace留学生代写 达尔文代写assignment,留学生作业代写,留学代写-菠萝 菠萝蜜 代写 代写assignment,网课代上代考,考试代考论文代写-全球最好的华人代写机构 留学生代写,经济代写,代写作业-【靠谱】服务澳洲加拿大英国美国等地区