ROLLREG - rolling (linear) regressions

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.

Re: ROLLREG - rolling (linear) regressions

Postby basher » Mon Jul 09, 2012 4:25 pm

Hi, I am still unable to obtain FHISTORY using "print / fhistory". I guess I need to know how to print the output options (e.g. COHISTORY, SEHISTORY, FIHISTORY) associated with this specific routine. Thank you.
basher
 
Posts: 12
Joined: Tue Mar 08, 2011 7:11 am

Re: ROLLREG - rolling (linear) regressions

Postby TomDoan » Mon Jul 09, 2012 7:51 pm

With a PRINT instruction as was just explained:

Code: Select all
@rollreg(cohist=cohist,fhistory=fhist,sehist=sehist,move=32) y
# constant x2 x3
print / cohist sehist fhist


If that doesn't work, you must have broken something in trying to change the procedure. The loop for a moving window is four line long. It will be much easier to start with that than to try to change a procedure.
TomDoan
 
Posts: 2717
Joined: Wed Nov 01, 2006 5:36 pm

Previous

Return to RATS Procedures

Who is online

Users browsing this forum: No registered users and 1 guest