% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/est_dcce.R
\name{.jackknife_bias_correction}
\alias{.jackknife_bias_correction}
\title{Half-panel jackknife bias correction}
\usage{
.jackknife_bias_correction(
  panel,
  y_name,
  x_names,
  csa_colnames,
  unit_var,
  time_var,
  constant,
  trend,
  b_full
)
}
\arguments{
\item{panel}{A panel data.frame with all CSA columns already appended.}

\item{y_name}{Character: dependent variable name.}

\item{x_names}{Character: regressor names.}

\item{csa_colnames}{Character: CSA column names.}

\item{unit_var}{Character: unit variable name.}

\item{time_var}{Character: time variable name.}

\item{constant}{Logical: include intercept.}

\item{trend}{Logical: include trend.}

\item{b_full}{Numeric vector: full-sample MG coefficient.}
}
\value{
A list with \code{b_jk} (bias-corrected coefficients).
}
\description{
Implements the Chudik & Pesaran (2015) jackknife bias correction:
\code{b_jk = 2 * b_full - 0.5 * (b_first + b_second)}
where \code{b_first} and \code{b_second} are MG estimates from the first and
second half of the time dimension, respectively.
}
\keyword{internal}
