two day rolling average returns

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

aisling
Posts: 6
Joined: Wed Jul 13, 2011 4:29 am

two day rolling average returns

Postby aisling » Wed Jul 13, 2011 5:15 am

Hi

I would like to compute two day rolling average returns how would I go about doing this in Eviews 6?

Thanks,
Aisling

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: two day rolling average returns

Postby startz » Wed Jul 13, 2011 7:47 am

Code: Select all

series new = (return+return(-1))/2
assuming the data is daily.

aisling
Posts: 6
Joined: Wed Jul 13, 2011 4:29 am

Re: two day rolling average returns

Postby aisling » Wed Jul 13, 2011 9:09 am

Thank you very much for your help


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests