Thanks all, it's working now.
However, I did have to close gretl then re-open it to get rid of the "nulldata not
available in loop" error.
PS
-----Original Message-----
From: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu] On
Behalf Of Berend Hasselman
Sent: Tuesday, February 02, 2010 2:32 PM
To: Gretl list
Subject: Re: [Gretl-users] scalar in loop condition
On 02-02-2010, at 21:11, Berend Hasselman wrote:
This does not agree with your specification above and will give an error since you are
indexing a scalar.
I think this should be:
y[jj] = beta1 + beta2 + u[jj]
I should have written:
y[jj] = beta1 + beta2 * y[jj-1] + u[jj]
It's correct in the script.
Berend
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users