Package: hcinfer 0.1.0

Pedro Rafael D. Marinho

hcinfer: Heteroskedasticity-Consistent Inference for Linear Models

Computes heteroskedasticity-consistent covariance matrix estimators for ordinary least squares regression models. The published HC0 through HC5m estimators implemented in the package follow White (1980) <doi:10.2307/1912934>, Hinkley (1977) <doi:10.1080/00401706.1977.10489550>, Horn et al. (1975) <doi:10.1080/01621459.1975.10479877>, MacKinnon and White (1985) <doi:10.1016/0304-4076(85)90158-7>, Cribari-Neto (2004) <doi:10.1016/S0167-9473(02)00366-3>, Cribari-Neto and da Silva (2011) <doi:10.1007/s10182-010-0141-2>, Cribari-Neto et al. (2007) <doi:10.1080/03610920601126589>, and Li et al. (2016) <doi:10.1080/00949655.2016.1198906>. The package also includes HCbeta, a new estimator proposed by the package authors. It provides normal Wald tests, confidence intervals, diagnostics, and S3 output for applied inference.

Authors:Pedro Rafael D. Marinho [aut, cre], Francisco Cribari-Neto [aut], Marina Oliveira Cunha [aut]

hcinfer_0.1.0.tar.gz
hcinfer_0.1.0.tar.gz(r-4.7-any)hcinfer_0.1.0.tar.gz(r-4.6-any)
hcinfer_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
hcinfer/json (API)
NEWS

# Install 'hcinfer' in R:
install.packages('hcinfer', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/prdm0/hcinfer/issues

Pkgdown/docs site:https://prdm0.github.io

Datasets:

On CRAN:

Conda:

3.45 score 14 scripts 4 exports 23 dependencies

Last updated from:3b62a488d8. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK150
source / vignettesOK186
linux-release-x86_64OK126
wasm-releaseOK136

Exports:hc_methodshcinfertestsvcov_hc

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalestibbleutf8vctrsviridisLitewithr

Comparing HC Estimators

Rendered fromhcinfer-comparison.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2026-06-10

HC Estimator Methodology

Rendered fromhcinfer-methodology.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2026-06-10

Introduction to hcinfer

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2026-06-10

Using HCbeta

Rendered fromhcinfer-hcbeta.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2026-06-10