[Gretl-users] testuhat: command is not available in loop mode

Johannes Fichtinger johannes.fichtinger at wu-wien.ac.at
Thu Aug 3 09:20:36 EDT 2006


Dear all,

the following script:
####################
smpl 10 100
loop for i=1..5
ols d const p 
testuhat 
smpl +1 +1 
endloop
####################


returns as error
####################
gretl version 1.5.1
Current session: 2006/08/03 15:18
? smpl 10 100
Full data range: 2001/01/01 - 2004/04/05 (n = 171)
Current sample:  2001/03/05 - 2002/11/25 (n = 91)
? loop for i=1..5
> ols d const p
> testuhat
Sorry, this command is not available in loop mode

Error executing script: halting
> testuhat
####################

Is there any way to use testuhat in loops, or do i have to "rewrite" testuhat 
by my own in a function to check the normality of residuals?

Greetings,
Johannes Fichtinger.



More information about the Gretl-users mailing list