frequency conversion

For questions regarding programming in the EViews programming language.

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

miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

frequency conversion

Postby miorinnovo » Wed Dec 12, 2018 2:26 pm

Can I copy a monthly series into a quarterly page such that the monthly values get averaged over the quarter and when there are months in a quarter that don't have data the last data point is repeated. For example If I have a series
Jan=1
Feb=2
March=3
April=4
May=5

Can I get it sod that Q1 is 2 and Q2 is 4.66677 (since we assume June =May) rather than 4.5?

Thanks

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

Re: frequency conversion

Postby EViews Gareth » Wed Dec 12, 2018 2:40 pm

There is not a built in method that will do that, no. You'd have to create those repeated data points yourself, first.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 22 guests