Roll (Rolling Regression)

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13294
Joined: Tue Sep 16, 2008 5:38 pm

Re: Roll (Rolling Regression)

Postby EViews Gareth » Wed Dec 04, 2013 11:20 pm

Hard to know.

Don't include the constant term.
Follow us on Twitter @IHSEViews

tariqaziz
Posts: 5
Joined: Fri Sep 27, 2013 4:26 am

Re: Roll (Rolling Regression)

Postby tariqaziz » Tue Feb 04, 2014 2:25 am

I have added code in the program to save the S.E. of regression also in the results output. Its working fine.
Attachments
myrollprog.prg
(7.16 KiB) Downloaded 735 times

kkalev
Posts: 1
Joined: Thu Dec 01, 2016 3:10 am

Re: Roll (Rolling Regression)

Postby kkalev » Thu Dec 01, 2016 5:15 am

Hello. Running Eviews 9

I believe there is a small bug in the Advanced Rolling Regression with Anchored Start. When the sample is different from the full sample the plug-in will still store estimated coefficients (and other elements) as if the starting point was the first observation in the workfile. I think that the following fix is necessary in advroll.prg at line 268 and after:

Code: Select all

      if !windowtype=2 then
         %last = @otod(@dtoo(%start)+!i-1)
         smpl {%start} {%last}
         !k= !i


becomes

Code: Select all

      if !windowtype=2 then
         %last = @otod(@dtoo(%start)+!i-1)
         smpl {%start} {%last}
         !k= @dtoo(%start)+!i-1


Thanks a lot!
Last edited by kkalev on Thu Dec 01, 2016 4:14 pm, edited 1 time in total.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13294
Joined: Tue Sep 16, 2008 5:38 pm

Re: Roll (Rolling Regression)

Postby EViews Gareth » Thu Dec 01, 2016 10:16 am

Updated.
Follow us on Twitter @IHSEViews

Janys
Posts: 1
Joined: Wed Mar 08, 2017 10:23 am

Re: Roll (Rolling Regression)

Postby Janys » Thu Mar 09, 2017 3:30 am

I'm trying to get the confidence interval in the rolling coefficient graph (and other graphs as well). Does anyone know how to get it? I able to get it with an older version (I guess). But it seems like I couldn't get the confidence interval anymore after I switched to Eviews 9 and re-downloaded the addins. Would greatly appreciate for your help!

bhavesh
Posts: 1
Joined: Sat Sep 21, 2013 6:33 am

Re: Roll (Rolling Regression)

Postby bhavesh » Sun Jun 10, 2018 11:43 pm

EViews Gareth wrote:Assuming you have a simple linear regression, you'll have to write out the algebra in a series expression manually. Something like:

Code: Select all

series fcast = coef1 + coef2*x1 + coef3*x2


Hi. Can the rolling regression be applied to ARDL bound testing approach (or any other cointegration approaches) in EViews? Eagerly waiting for your response.

enricodace
Posts: 5
Joined: Sat Jun 09, 2018 1:41 am

Re: Roll (Rolling Regression)

Postby enricodace » Mon Jun 11, 2018 12:11 am

which methods is suitable to detect multicollinearity under rolling regression? Nither VIF nor correlation plot isn't working for rollings. Any idea please?

enricodace
Posts: 5
Joined: Sat Jun 09, 2018 1:41 am

Re: Roll (Rolling Regression)

Postby enricodace » Thu Jun 14, 2018 9:00 am

Dear Gareth,
I have downloaded a rolling add_in.
I did it, it seems working but when i checking results the rolling estimate is just an exact copy of the one with out rolling? what could be the problem and why?

FraFeMan
Posts: 3
Joined: Sun Jan 24, 2021 1:26 pm

Re: Roll (Rolling Regression)

Postby FraFeMan » Sun Jan 24, 2021 1:31 pm

Dear Gareth,

Could you please confirm that the version of the add-in "roll" on the website is actually the most updated version, as it is dated 2010?

Many thanks and kind regards,

Francesco

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13294
Joined: Tue Sep 16, 2008 5:38 pm

Re: Roll (Rolling Regression)

Postby EViews Gareth » Sun Jan 24, 2021 3:37 pm

It is.
Follow us on Twitter @IHSEViews

FraFeMan
Posts: 3
Joined: Sun Jan 24, 2021 1:26 pm

Re: Roll (Rolling Regression)

Postby FraFeMan » Mon Jan 25, 2021 5:40 am

Many thanks Gareth.

I run the roll add-in on a single OLS equation with monthly data from 1998m01 to 2014m09, i.e. y=c(1) + c(2)*x + c(3)*z + e, on a window of 36 observations and with 1-step size. Therefore I was expecting the first value of the parameters' estimates, e.g. c(1)_hat, c(2)_hat and so on, to be reported on 2001m01, but instead they are reported on 2000m12, which I believe is incorrect.

Could you please let me know if this is correct and a deliberate coding decision, or I need to fix it in the code (if so, grateful if you could assist me).

Many thanks and regards,

Francesco

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13294
Joined: Tue Sep 16, 2008 5:38 pm

Re: Roll (Rolling Regression)

Postby EViews Gareth » Mon Jan 25, 2021 8:58 am

If your window size is 36, the first regression will run from 1998m1 to 2000m12 (36month), and will thus report its results in the last observation, which is 2000m12.
Follow us on Twitter @IHSEViews

FraFeMan
Posts: 3
Joined: Sun Jan 24, 2021 1:26 pm

Re: Roll (Rolling Regression)

Postby FraFeMan » Mon Jan 25, 2021 9:44 am

Many thanks Gareth for the helpful clarification!
Kind regards,
Francesco


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 11 guests