Learn R Programming

brglm2 (version 1.0.1)

plrtest.mdyplFit: Penalized likelihood ratio test for "mdyplFit" objects

Description

Computes the Diaconis-Ylvisaker prior penalized likelihood ratio test statistic or its adjusted version using high-dimensionality correction under proportional asymptotics. Associated p-values are also computed using a chi squared distribution.

Usage

# S3 method for mdyplFit
plrtest(object1, object2, hd_correction = FALSE, ...)

Arguments

object1

a "mdyplFit" object

object2

a "mdyplFit" object

hd_correction

if FALSE (default), then the corresponding quantities are computed according to standard asymptotics. If TRUE then the high-dimensionality corrections in Sterzinger & Kosmidis (2024) are employed to updates estimates, estimated standard errors, z-statistics, etc. See Details.

...

further arguments to be passed to summary.mdyplFit().

Author

Ioannis Kosmidis [aut, cre] ioannis.kosmidis@warwick.ac.uk

Details

Both object1 and object2 should have been fitted using the mdyplFit() method for glm(), and the same shrinkage parameter alpha; see mdyplFit() and mdyplControl() for setting alpha.

If hd_correction = TRUE then the deviance and the associated p-value are adjusted using a high-dimensionality correction under proportional asymptotics as in Sterzinger & Kosmidis (2024); see summary.mdyplFit().

References

Sterzinger P, Kosmidis I (2024). Diaconis-Ylvisaker prior penalized likelihood for \(p/n \to \kappa \in (0,1)\) logistic regression. arXiv:2311.07419v2, https://arxiv.org/abs/2311.07419.

See Also

mdyplFit(), summary.mdyplFit(), mdypl_control()