On Mon, 18 Nov 2013, Giuseppe Vittucci wrote:
Dear,
sample restriction does not seem to work well in panel data...
I have recently installed gretl 1.9.13 on my laptop.
Here are the issues:
1) when you restrict the sample, gretl continues to put the indication
"Full range" in the status bar.
Example:
open greene14_1.gdt
smpl year > 1970 --restrict --replace
"Full range" in the status bar does not disappear.
OK, I see that here, but it's just cosmetic. It'll be dealt with before
long.
2) the option time-dummies in the panel command does not work as
expected when the sample is restricted and it also messes all the time
dummies.
Example:
open greene14_1.gdt
genr timedum
panel C 0 Q PF LF dt_*
panel C 0 Q PF LF --time-dummies
The previous commands work as expected and the last two estimates are
equal as they should be.
Instead, if you restrict the sample, the two estimates are different:
smpl year > 1972 --restrict --replace
panel C 0 Q PF LF dt_*
panel C 0 Q PF LF --time-dummies
Yes, this was messed up. Thanks for spotting the problem. It's now fixed
in CVS and the fix will be in gretl 1.9.14, to be released shortly.
Allin Cottrell