Implements the Chudik & Pesaran (2015) jackknife bias correction:
b_jk = 2 * b_full - 0.5 * (b_first + b_second)
where b_first and b_second are MG estimates from the first and
second half of the time dimension, respectively.
.jackknife_bias_correction(
panel,
y_name,
x_names,
csa_colnames,
unit_var,
time_var,
constant,
trend,
b_full
)A list with b_jk (bias-corrected coefficients).
A panel data.frame with all CSA columns already appended.
Character: dependent variable name.
Character: regressor names.
Character: CSA column names.
Character: unit variable name.
Character: time variable name.
Logical: include intercept.
Logical: include trend.
Numeric vector: full-sample MG coefficient.