Skip to main content

Crate solow_emplike

Crate solow_emplike 

Source
Expand description

§solow-emplike

Empirical-likelihood (EL) inference on descriptive statistics of a univariate sample, following Owen (2001) and validated against the reference emplike.descriptive module.

The entry point is DescStat, which exposes

§Method

For a hypothesized mean mu0, the empirical-likelihood weights w_i maximize sum log(w_i) subject to sum w_i = 1 and sum w_i (x_i - mu0) = 0. The dual solution is w_i = 1 / (n (1 + eta (x_i - mu0))), where the Lagrange multiplier eta is the root of sum (x_i - mu0) / (1 + eta (x_i - mu0)) = 0. The EL test statistic is -2 sum log(n w_i), asymptotically chi-squared with one degree of freedom.

The variance test profiles out a nuisance mean: for each candidate mean it solves a two-parameter EL dual by a modified Newton iteration, then minimizes the resulting -2 logELR over the nuisance mean.

Structs§

DescStat
Empirical-likelihood inference for a univariate sample.
TestResult
Result of an EL hypothesis test: the -2 logELR statistic and its p-value.