Monthly Returns

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

michalko
Posts: 2
Joined: Tue Nov 17, 2015 8:34 am

Monthly Returns

Postby michalko » Tue Nov 17, 2015 8:36 am

I'm struggling to create a formula for monthly returns (5 day week). I have the exact same query as http://forums.eviews.com/viewtopic.php?f=3&t=1863
I don't know if anyone has found a formula for this yet.

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

Re: Monthly Returns

Postby EViews Gareth » Tue Nov 17, 2015 8:57 am

You're going to have to be more specific as to what you're trying to do.

michalko
Posts: 2
Joined: Tue Nov 17, 2015 8:34 am

Re: Monthly Returns

Postby michalko » Tue Nov 17, 2015 9:21 am

I calculated monthly returns and standard deviation using adjusted closing price from stock prices using this:

onemonth=@datediff(@date,@dateadd(@date,-1,"month"),"b")

then:

xreturn = (adj_close/adj_close(-1)-1)

Now i need to add to the dataset the historical prices for the FTSE100 Index. Using the adjusted closing prices generate the returns from this FTSE100 index in order to estimate the Capital Asset Market Model assuming that the risk free rate is zero.

Any help?

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

Re: Monthly Returns

Postby EViews Gareth » Tue Nov 17, 2015 10:21 am

Nope. You're still not being clear on what you're trying to do.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests