% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pcd_test.R
\name{.cd_weighted_plus}
\alias{.cd_weighted_plus}
\title{Bias-adjusted weighted CD (CDw+) statistic}
\usage{
.cd_weighted_plus(em, n_reps)
}
\description{
Implements a bias-adjusted LM-style test with random sign weighting.
The base statistic is the Baltagi, Feng & Kao (2012) bias-adjusted LM:
\deqn{LM_{adj} = \sqrt{\frac{1}{N(N-1)}} \sum_{i<j}
  \frac{(T_{ij}-1) \hat\rho_{ij}^2 - 1}{\sqrt{2}},}
which is asymptotically standard normal under the null. The "weighted
plus" variant multiplies each pairwise term by random Rademacher weights
\eqn{w_i w_j} and averages the absolute value across draws, producing a
statistic that is robust to heteroskedasticity and sensitive to sparse
alternatives.
}
\keyword{internal}
