monthly means in workfile with daily frequency

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Kouvas
Posts: 34
Joined: Sat Aug 31, 2013 3:28 am

monthly means in workfile with daily frequency

Postby Kouvas » Mon Jul 14, 2014 4:47 am

Hello

I need to etimate a montlhy mean series (where the observations falling in a month take the value of the mean of this month) in a workfile containing daily observations. Is there any specific function to do that? Thanks in advance.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: monthly means in workfile with daily frequency

Postby EViews Glenn » Mon Jul 14, 2014 7:33 am

Code: Select all

series ymeans = @meansby(y, @month)

Kouvas
Posts: 34
Joined: Sat Aug 31, 2013 3:28 am

Re: monthly means in workfile with daily frequency

Postby Kouvas » Mon Jul 14, 2014 7:58 am

Code: Select all

series ymeans = @meansby(y, @month)
Thanks a lot for the prompt reply, one question on this function: the resulting series will contain the mean for each month in a year or it will be the mean of the same month for all the sample (i.e. for al decembers).

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

Re: monthly means in workfile with daily frequency

Postby EViews Gareth » Mon Jul 14, 2014 9:06 am

All Decembers.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests