Hi allin,

I was running the following script and gretl reports an error I don't actually understand.

 

gretl version 1.9.1cvs
Current session: 2010-08-10 15:52
? open "C:\Program Files\gretl\data\misc\hamilton.gdt"

Read datafile C:\Program Files\gretl\data\misc\hamilton.gdt
periodicity: 12, maxobs: 202
observations range: 1973:01-1989:10

Listing 4 variables:
  0) const     1) PC6IT     2) PZUNEW    3) EXRITL 

? smpl ; 1973:12 --restrict
Full data range: 1973:01 - 1989:10 (n = 202)
Current sample: 1973:01 - 1973:12 (n = 12)

? series d1 = 1
Generated series d1 (ID 4)
? smpl 1974:01 1974:12 --restrict --replace
Variable number 13 is out of bounds

Error executing script: halting

 

I tried to reset the sample (with the --full flag) before restricting but obtained the same error.

 

cheers,

artur



Pieddemail