stochastic volatility using kalman filter

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

saizal87
Posts: 4
Joined: Tue Mar 24, 2015 10:47 pm

stochastic volatility using kalman filter

Postby saizal87 » Thu Apr 02, 2015 8:39 pm

Hi, i m interested in estimating stochastic volatility of stock return (y) using kalman filter. But i m not so sure with the process. Currently im using this coding from the internet:
@signal y = -1.27 + s + [var=4.9348]
@state s = c(1) + c(2)*s(-1)+[var=(3)*2]
param c(1) -10.8720 c(2) 0.2736 c(3) 4.9532

where;
-10.8720 = parameter for constant through ols
0.2736 = y(-1) parameter through ols
4.9532 = s.e of ols egression.

Can anyone explain either -1.27 and 4.9348 are standard for kalman. And what does it represent? When i estimate, i have insignificant (c1, c2 n c3)! estimation, does it suggests that the model does not hav stochastic volatility? I am new with eviews and i really hope that someone could help me. Thanks in advance. Saizal.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: stochastic volatility using kalman filter

Postby trubador » Fri Apr 03, 2015 2:01 am

You should be asking these questions to the author of the code.

If you had done a search in the forum, you would have found the following: http://forums.eviews.com/viewtopic.php? ... 744#p24051

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: stochastic volatility using kalman filter

Postby terrya » Fri Apr 03, 2015 9:43 pm

Hi, i m interested in estimating stochastic volatility of stock return (y) using kalman filter. But i m not so sure with the process. Currently im using this coding from the internet:
@signal y = -1.27 + s + [var=4.9348]
@state s = c(1) + c(2)*s(-1)+[var=(3)*2]
param c(1) -10.8720 c(2) 0.2736 c(3) 4.9532

where;
-10.8720 = parameter for constant through ols
0.2736 = y(-1) parameter through ols
4.9532 = s.e of ols egression.

Can anyone explain either -1.27 and 4.9348 are standard for kalman. And what does it represent? When i estimate, i have insignificant (c1, c2 n c3)! estimation, does it suggests that the model does not hav stochastic volatility? I am new with eviews and i really hope that someone could help me. Thanks in advance. Saizal.
Hi

You need to look at the paper by Harvey, Ruiz and Shephard, Multivariate stochastic variance models, Review of Economic Studies, 1994, Vol 61, 247-264, to find the reasoning for the formulation.

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: stochastic volatility using kalman filter

Postby terrya » Fri Apr 03, 2015 9:55 pm

Hi, i m interested in estimating stochastic volatility of stock return (y) using kalman filter. But i m not so sure with the process. Currently im using this coding from the internet:
@signal y = -1.27 + s + [var=4.9348]
@state s = c(1) + c(2)*s(-1)+[var=(3)*2]
param c(1) -10.8720 c(2) 0.2736 c(3) 4.9532

where;
-10.8720 = parameter for constant through ols
0.2736 = y(-1) parameter through ols
4.9532 = s.e of ols egression.

Can anyone explain either -1.27 and 4.9348 are standard for kalman. And what does it represent? When i estimate, i have insignificant (c1, c2 n c3)! estimation, does it suggests that the model does not hav stochastic volatility? I am new with eviews and i really hope that someone could help me. Thanks in advance. Saizal.
Trubador's approach works. I've used a variant of his in the past. However, I estimated the starting values of the parameters by using a Box-Jenkins AR1 model.

saizal87
Posts: 4
Joined: Tue Mar 24, 2015 10:47 pm

Re: stochastic volatility using kalman filter

Postby saizal87 » Sat Apr 04, 2015 12:02 am

Thanks


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests