programming ADF

For questions regarding programming in the EViews programming language.

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

seg_b
Posts: 15
Joined: Wed Mar 30, 2011 7:10 am

programming ADF

Postby seg_b » Thu May 26, 2011 2:46 am

Hi,

I'm trying to program an ADF test.
This is my program :

http://www.getproxy.org/view/index.php? ... OWQ5OTM%3D

At the end, I get a table named ADF contening :
stat
pvalue
df
for every variable end every integration order.

The point is I want to extract ssr from every unit root test view because I want to test :
H0 : b=0
F = ((SSR1c - SSR1)/2)/(SSR1/DF)

and

H0 : c=0
F = ((SSR2c - SSR2)/2)/(SSR2/DF)

I tried using freeze but it doesn't work in my program.
freeze %name.uroot

thanks for helping
Attachments
prg_adf.prg
(3.38 KiB) Downloaded 329 times

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

Re: programming ADF

Postby EViews Gareth » Thu May 26, 2011 8:03 am

The freeze command requires that you give the output table a name. Something like:

Code: Select all

freeze(mytable) myseries.uroot
where mytable is the name of the table that will be created, and myseries is the name of the series you're performing the unit root test on.

seg_b
Posts: 15
Joined: Wed Mar 30, 2011 7:10 am

Re: programming ADF

Postby seg_b » Fri May 27, 2011 5:58 am

Ok, so I wrote :

freeze(table_test) %name.uroot

but I get this error message :
Attachments
error.JPG
error.JPG (8.42 KiB) Viewed 4390 times

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

Re: programming ADF

Postby EViews Gareth » Fri May 27, 2011 7:49 am

You need braces around %name.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests