On Sat, 2 Mar 2019, Artur T. wrote:
Am 28.02.19 um 23:44 schrieb Allin Cottrell:
> On Tue, 26 Feb 2019, Sven Schreiber wrote:
>
>> Am 26.02.2019 um 20:06 schrieb Allin Cottrell:
>>> BTW, I see that Stata is very restrictive in this department. With
>>> "predict" after "xtreg" you can't get an out of
sample forecast even in
>>> the time dimension when no time dummies are present -- other than plain
>>> "xb" which omits individual effects, whether fixed or random.
>>
>> Well for small-T (standard micro panel assumption) the unit effects are
>> not well estimated, are they? That might be the reason they ban it. (And
>> probably a good reason.)
> But whatever Stata's up to, it's worth assessing whether individual fixed
> effects estimated with small T are actually any use in forecasting out of
> sample in the time dimension. I show below a Monte Carlo experiment,
> comparing out-of-sample MSE for forecasts computed with and without
> individual effects. (In the "without" case I use the global constant, as in
> Stata's "xb" forecast for fixed effects.) I simulate 100 individuals
> observed over T periods, T-1 of which are used in estimation leaving the
> last for an out-of-sample forecast, with T = 4 as baseline.
>
> Executive summary: As Sven suggests, if T is small enough (and the fixed
> effects are moderate in size, even if statistically significant at the
> usual level on a joint test), then the estimated effects are just noise so
> far as forecasting is concerned; the forecast MSE tends to be smaller
> without them. But if T is a bit larger (even just 5 as opposed to the 4 in
> the script), or if the scale of the fixed effects passes a certain
> threshold[*], then inclusion of the estimated fixed effects enhances the
> forecast accuracy quite substantially.
This is indeed an interesting question. Amazing to see what can be done with
a few line of code in gretl!
Thank you for the new feature that the fcast command can be applied to panel
data, Allin. But just to make sure I have understood the new fcast facility
for panel data correctly:
1) For pooled OLS, fixed-effects and random-effects the "--dynamic" option
does not apply even though lagged values of the endogenous are included via
"y(-1)", right? Thus, h-step ahead forecasts are actually static.
True, as of now.
2) For fixed-effects, fcast computes the forecast including
fixed-effects,
right?
Yes. We might want to add an --xb option a la Stata to leave out the
fixed effects.
3) The fcast command is not available for the arbond estimator,
right?
Right. arbond is sufficiently different from dpanel in its internals
that implementing fcast for arbond would be a good deal of
additional work.
We should maybe think of retiring arbond and making it an alias to
dpanel. There's one thing arbond can do that dpanel can't, at
present: use orthogonal deviations instead of differencing. However
that option, --orthdev, isn't documented and maybe it's not worth
keeping.
Allin