Unusual output with Eviews programming

For questions regarding programming in the EViews programming language.

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

nic_sun
Posts: 6
Joined: Mon Jan 07, 2013 8:14 pm

Unusual output with Eviews programming

Postby nic_sun » Mon Jan 07, 2013 8:23 pm

Hello all,

I was trying to run series of unit root tests using the eviews programming. But, I am getting the result for the ADF with constant in all the following cases . Any suggestions.

Code: Select all

pageload "C:\Users\Vista\Desktop\hello\data" output(t) C:\Users\Vista\Desktop\hello\output.txt 'ADF test on level with trend for !j=1 to 5 print y{!j}.uroot (adf, trend, info=aic) next 'ADF test on first difference with constant for !j=1 to 5 do y{!j}.uroot (adf, const, dif=1, info=sic) next 'KPSS 'KPSS test on level with trend for !j=1 to 5 y{!j}.uroot (kpss,trend,hac=pr,b=2.3) next 'KPSS test on first difference with constant for !j=1 to 5 y{!j}.uroot (kpss,const,dif=1, hac=pr,b=2.3) next output off

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

Re: Unusual output with Eviews programming

Postby EViews Gareth » Mon Jan 07, 2013 8:52 pm

You have a space between the UROOT command and its options.

nic_sun
Posts: 6
Joined: Mon Jan 07, 2013 8:14 pm

Re: Unusual output with Eviews programming

Postby nic_sun » Mon Jan 07, 2013 8:59 pm

You have a space between the UROOT command and its options.
Awesome! Many thanks. :D


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest