Frequency Conversion

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

puf
Posts: 22
Joined: Sun Jan 09, 2011 4:26 pm

Frequency Conversion

Postby puf » Tue Feb 15, 2011 1:04 pm

Hi Gareth,
great explanation, thank you. It's really pity that command reference is not written this way. Could you please should how to do the same steps using Eviews programming language?

In my case I have a file with daily data. I can use wfopen 1.csv to open this file as a new workfile. Afterwards I would like to create a new page with weekly frequencies and copy there variables high, low and close. I know how to do this by clicking (create new page at weekly frequency, copy, paste special, high to low frequency method, last observation for close, max for high and min for low, but I do not know how to do this as a code.

thank you for help
Attachments
1.csv
(432.53 KiB) Downloaded 293 times

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

Re: Frequency Conversion

Postby EViews Gareth » Tue Feb 15, 2011 2:02 pm

Essentially you just need the Copy command:

Code: Select all

copy(c=X) page1\series1 page2\series1

where X is the frequency conversion method you want. If you look up Copy in the Command Reference you can see the list of codes for the various frequency conversion methods.
Follow us on Twitter @IHSEViews


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 21 guests