Page 1 of 1

Econometric tests

Posted: Thu Apr 23, 2009 9:43 am
by rogerioms
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.

Re: Econometric tests

Posted: Thu Apr 23, 2009 9:45 am
by EViews Gareth
This question is hard to understand. Could you rephrase it?

Re: Econometric tests

Posted: Thu Apr 23, 2009 9:55 am
by rogerioms
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

Re: Econometric tests

Posted: Thu Apr 23, 2009 10:04 am
by EViews Gareth
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:

http://forums.eviews.com/viewtopic.php?f=5&t=18

Re: Econometric tests

Posted: Thu Apr 23, 2009 10:08 am
by rogerioms
Thank you, this will help me

Re: Econometric tests

Posted: Thu Apr 23, 2009 10:40 am
by rogerioms
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))

Re: Econometric tests

Posted: Thu Apr 23, 2009 10:49 am
by EViews Gareth
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).