monthly frequency data manipulation code

For questions regarding programming in the EViews programming language.

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

BT454
Posts: 135
Joined: Wed Aug 02, 2017 6:07 am

monthly frequency data manipulation code

Postby BT454 » Wed Aug 02, 2017 6:17 pm

Hi,
I need to be able to write a piece of code to transform series x (in monthly frequency) and create a series that is x/(days in period), over the span of several years.
So for instance:
Frequency is monthly
smpl 1997 2040
J: x/31
F: x/28
M: x/31
so on and so forth, for all monthly data points throughout the sample.
Can anyone be of assistance?
Please let me know if this question is clear, or if I need to be more specific/clear.
Thanks!
Bob

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

Re: monthly frequency data manipulation code

Postby EViews Gareth » Wed Aug 02, 2017 8:39 pm

Create a daily page (pagecreate) then copy the series over to the daily page using average frequency conversion (copy command)
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 31 guests