Hi all,
I think I've found a bug in the gap_filler() function which is part of
the extra package. This happens on current git using Ubuntu.
Best,
Artur
<hansl>
# extra_sample.inp
# Sample script for the extra.gfn package
include extra.gfn --force
set verbose off
open denmark.gdt -q
# WORKS: NA somewhere in the middle of the dataset
series play = LRM
play[10] = NA # insert missing
series playout = gap_filler(play, 2)
print playout
# DOESN'T WORK: Insert missing in last obs when play has a NA at the
last entry
play[$nobs] = NA # insert missing
play
series playout = gap_filler(play, 1)
print playout
# DOESN'T WORK: Insert missing in last obs when play has a NA at the
last entry
play[$nobs] = NA # insert missing
play
series playout = gap_filler(play, 2)
print playout
</hansl>