Weekly data

For questions regarding programming in the EViews programming language.

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

cmsandov
Posts: 3
Joined: Sat Oct 29, 2016 6:17 am

Weekly data

Postby cmsandov » Sat Oct 29, 2016 6:28 am

Hi there,
I'm sorry to bother you but, I have tried to enter weekly data in my program (Garch model) but I have couldn't. below my lines:

create w 1/05/2007 10/21/2016
smpl 1/05/2007 10/21/2016
read(b2,s=Hoja1,) "C:\Users\User\Desktop\report 1\db_prices.xls" 2
!estimacion=1

On the contrary, I have entered the data manually and it is correct. Could you mind give a hint?. many thanks

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

Re: Weekly data

Postby EViews Gareth » Sat Oct 29, 2016 3:52 pm

Use wfopen rather than create and read

cmsandov
Posts: 3
Joined: Sat Oct 29, 2016 6:17 am

Re: Weekly data

Postby cmsandov » Sun Oct 30, 2016 7:05 am

Hi, many thanks for your response. however, it is not working. It is weird because recently I have been using eviews 9.5 and I entered monthly, quarterly and daily data using create and read (i used to write this line using eviews 5....)

wfopen w 1/05/2007 10/21/2016
smpl 1/05/2007 10/21/2016
wfopen(b2,s=Hoja1,) "C:\Users\User\Desktop\report 1\db_prices.xls" 2
!estimacion=1

do you have some idea what is the problem?. many thanks for your time.

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

Re: Weekly data

Postby EViews Gareth » Sun Oct 30, 2016 1:35 pm

Look up the syntax and description of what wfopen does.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest