Run Nonlinear Rolling Regression Code Need Help

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

roteirofigo
Posts: 5
Joined: Tue Jul 19, 2011 2:02 pm

Run Nonlinear Rolling Regression Code Need Help

Postby roteirofigo » Wed Jul 20, 2011 10:17 am

I am running a complicated regression concerning ICAPM and using a MIDAS method to compute the weights to in calculating variance,the equations are attached in the word file:
The main regression is ICAPM:
Rt+1=μ+βVar(Rt+1)

and the tricky part is the way to compute Var(Rt+1)
I attached in the end.

It involves a rolling regression and I want to hold all the R-squares and find the coefficients with the highest fit.

How can I import such a complicated equation into Eviews and loop it to get the results?

Thank you guyz....
Attachments
nonlinear rolling regression.docx
the regression equations
(21.59 KiB) Downloaded 532 times

roteirofigo
Posts: 5
Joined: Tue Jul 19, 2011 2:02 pm

Re: Run Nonlinear Rolling Regression Code Need Help

Postby roteirofigo » Thu Jul 21, 2011 2:58 am

Can you help me Gareth...?

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

Re: Run Nonlinear Rolling Regression Code Need Help

Postby EViews Gareth » Thu Jul 21, 2011 7:51 am

Not with the first part.

roteirofigo
Posts: 5
Joined: Tue Jul 19, 2011 2:02 pm

Re: Run Nonlinear Rolling Regression Code Need Help

Postby roteirofigo » Thu Jul 21, 2011 9:32 am

I know the first part is simple regression.
It's just the way to compute VARIANCE.
Can you help me with that?

roteirofigo
Posts: 5
Joined: Tue Jul 19, 2011 2:02 pm

Re: Run Nonlinear Rolling Regression Code Need Help

Postby roteirofigo » Sat Jul 23, 2011 4:52 am

No one can do that


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests