On Tue, 10 Aug 2010, artur bala wrote:
I was running the following script and gretl reports an error I
don't actually understand.
? smpl ; 1973:12 --restrict
? smpl 1974:01 1974:12 --restrict --replace
Variable number 13 is out of bounds
The error message here is admittedly weird (I'll look into that),
but the problem is that you should not be using the --restrict
flag (nor the --replace flag) in this context, when you're
sampling by dates. --restrict is for use with boolean conditions
such as (gender == 1) or the like. Please see the help for the
"smpl" command.
Allin Cottrell