Dear Allin,
I think there's something "strange" with the special
accessor $["roots"]. Please take a look at the following
Hansl code:
<hansl>
# Gretl doesn't save the "r" matrix
open data9-7
loop i = 1..2
arima $i 1 2 ; QNC
matrix r = $["roots"] # overwrites "r"
print r
endloop
# Gretl saves the "r" matrix
open data9-7
arima 1 1 2 ; QNC
matrix r = $["roots"]
print r
arima 2 1 2 ; QNC
matrix r = $["roots"] # overwrites "r"
print r
</hansl>
I think this is a little bit weird because I can use the
same ideia with another kind of accessor:
<hansl>
open data9-7
loop i = 1..2
arima $i 1 2 ; QNC
matrix c = $coeff
print c
endloop
open data9-7
loop i = 1..2
arima $i 1 2 ; QNC
matrix t = $test
print t
endloop
open data9-7
loop i = 1..2
arima $i 1 2 ; QNC
matrix p = $pvalue
print p
endloop
</hansl>
Thanks in advance,
Henrique Andrade