xtspj: A command for split-panel jackknife estimation
In this article, we present a new command, xtspj, that corrects for incidental parameter bias in panel-data models with fixed effects. The correction removes the first-order bias term of the maximum likelihood estimate using the split-panel jackknife method. Two variants are implemented: the jackknifed maximum-likelihood estimate and the jackknifed log-likelihood function (with corresponding maximizer). The model may be nonlinear or dynamic, and the covariates may be predetermined instead of strictly exogenous. xtspj implements the split-panel jackknife for fixed-effects versions of linear, probit, logit, Poisson, exponential, gamma, Weibull, and negbin2 regressions. It also accommodates other models if the user specifies the log-likelihood function (and, possibly but not necessarily, the score function and the Hessian). xtspj is fast and memory efficient, and it allows large datasets. The data may be unbalanced. xtspj can also be used to compute uncorrected maximum-likelihood estimates of fixed-effects models for which no other xt (see [XT] xt) command exists.
|Keywords||incidental parameter problem, maximum likelihood, split-panel jackknife, st0557, xtspj|
|Persistent URL||dx.doi.org/10.1177/1536867X19854016, hdl.handle.net/1765/125704|
Sun, Y, & Dhaene, G. (2019). xtspj: A command for split-panel jackknife estimation. Stata Journal, 19(2), 335–374. doi:10.1177/1536867X19854016