On Thu, 27 Apr 2023, Sven Schreiber wrote:
I'm observing something strange working with the grunfeld.gdt
sample datafile in the GUI. This is with the latest Windows
snapshot. The dataset has units 1 to 10, and time periods 1935
through 1954, so T = 20 (fully balanced).
I go to Sample / Set range; it shows N=10, T=20, NT=200. OK.
I click on the "down" arrow next to the end period 1954, to leave
out the last year. The number jumps to 1953 alright, but now it
says T=18 (two down). When I click on "up" to get back to 1954,
then T=19 allegedly.
Next, different but related problem (having freshly reloaded the
dataset): in the sample range setter, I now click "up" next to the
_starting_ period 1935 to get rid of the first time period. It
changes to 1936, but the count T=20 doesn't change. And after
clicking "OK" the sample isn't changed.
What you're seeing there is "off by one" stuff, due to an internal
confusion between the case where "panel time" is defined (years,
quarters or whatever, as in grunfeld.gdt) and the case where it's
just a matter of periods 1 to T. That's now fixed in git and
Finally, in the console I type "smpl year > 1935 --restrict
--time" without having checked the required syntax, and gretl
crashes on me. (I now know it's not correct; instead "smpl 1936
1954 --time" works OK.)
Insufficient error-checking in the relatively new panel sampling
code. That's now fixed in git; snapshots will follow.