Econometric tests

For questions regarding programming in the EViews programming language.

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

rogerioms
Posts: 21
Joined: Thu Apr 16, 2009 11:33 am

Econometric tests

Postby rogerioms » Thu Apr 23, 2009 9:43 am

As I have put some results of a test (such as .white and .archtest) in a vector? I must rotate 192 regressions a loop and would need be looking at one by one, making work at least tedious
Tanks in advance.

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

Re: Econometric tests

Postby EViews Gareth » Thu Apr 23, 2009 9:45 am

This question is hard to understand. Could you rephrase it?
Follow us on Twitter @IHSEViews

rogerioms
Posts: 21
Joined: Thu Apr 16, 2009 11:33 am

Re: Econometric tests

Postby rogerioms » Thu Apr 23, 2009 9:55 am

I have a loop estimated 192 regressions, each round I wish to make a test, but when I loop (of a program file) to rotate the tests are supersede each other, and the output end is the 192st degression

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

Re: Econometric tests

Postby EViews Gareth » Thu Apr 23, 2009 10:04 am

You are correct, you'll need to store them into a vector. See this post for details on how to retrieve the results of a test:

viewtopic.php?f=5&t=18
Follow us on Twitter @IHSEViews

rogerioms
Posts: 21
Joined: Thu Apr 16, 2009 11:33 am

Re: Econometric tests

Postby rogerioms » Thu Apr 23, 2009 10:08 am

Thank you, this will help me

rogerioms
Posts: 21
Joined: Thu Apr 16, 2009 11:33 am

Re: Econometric tests

Postby rogerioms » Thu Apr 23, 2009 10:40 am

One more question: has as I create a table for each wheelset loop?
For example, freeze(tab(!i)) some reg.wald c(1)=0
vector(192) f_pvalue(!i) = @val(tab(!i)(6,4))

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

Re: Econometric tests

Postby EViews Gareth » Thu Apr 23, 2009 10:49 am

You can either create a new table for each loop, or re-use the same table (but you'd have to delete it at the end of each loop).
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 41 guests