On 12/12/2011 09:22 PM, Allin Cottrell wrote:
On Mon, 12 Dec 2011, Sven Schreiber wrote:
> However, what about the fact that happened to me that, quoting
myself,
> "trying to access the third row of $fcast to copy the value gave the
> error message 'index 1 out of bounds'? Or does 'index 1' in fact
mean
> the first index, not that the index has the value one?
Reading the post that you're quoting, I'm not getting a clear
enough sense of what you were doing to be able to replicate
it. I've tried some variants of accessing the $fcast matrix,
but while I can provoke an error by trying to read a row
that's not there, the message "index <whatever> out of bounds"
is always showing the row number that I requested (which is
what it's supposed to show).
Well I'll keep trying to trigger it.
But in general, if gretl cannot figure out the lagged dependent
variables and thus cannot really do a forecast, shouldn't it throw an
error already at the 'fcast' command, and not "wait" until the user
tries to access the results via '$fcast'?
Thanks,
sven