Search found 5 matches

by cgsantamaria
Sun Mar 17, 2019 1:29 pm
Forum: Programming
Topic: Rolling window realized GARCH
Replies: 5
Views: 7303

Re: Rolling window realized GARCH

That´s my code 'run rolling regression ' set window size !window = 3750 ' set step size !step = 1 ' get size of workfile !length = @obsrange ' declare equation for estimation equation eq01 'calculate number of rolls !nrolls = @ceiling((!length-!window)/!step) 'matrix to store coefficient estimates m...
by cgsantamaria
Thu Mar 14, 2019 3:23 pm
Forum: Programming
Topic: Rolling window realized GARCH
Replies: 5
Views: 7303

Re: Rolling window realized GARCH

It is like this?

´ estimate equation
smpl s0 @first @first+1
smpl s1 @first+2 @last
smpl @all

Because doesn´t works
by cgsantamaria
Wed Mar 13, 2019 3:16 pm
Forum: Programming
Topic: Rolling window realized GARCH
Replies: 5
Views: 7303

Re: Rolling window realized GARCH

Thank you for your soon answer!!! I understand the fail, but how can I do to solve this? Cause I make in:

´ estimate equation
sample s0 @first @first+1
sample s1 @first+2 @last
smpl @all

And the program displays "s0 already exists...."
by cgsantamaria
Fri Mar 08, 2019 2:30 pm
Forum: Programming
Topic: Rolling window realized GARCH
Replies: 5
Views: 7303

Rolling window realized GARCH

Hi to everybody I´m proving to make a rolling window with a realized GARCH of Hansen. I need to evaluate the model and estimate in sample and out of sample a parametric Value at Risk. Well, I attach the code and the file and the problem is about the matrix "coefmat" that shows the same val...
by cgsantamaria
Tue Mar 05, 2019 6:47 am
Forum: Programming
Topic: GARCH- rolling regressions
Replies: 16
Views: 31241

GARCH- rolling regressions

Hi to everybody I´m proving to make a rolling window with a realized GARCH of Hansen. I need to evaluate the model and estimate in sample and out of sample a parametric Value at Risk. Well, I attach the code and file here but the problem is about the matrix coefmat that shows the same values of each...

Go to advanced search