The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: cli, ggplot2, purrr, rlang, tibble
Suggests: dplyr, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-06-10
DOI: 10.32614/CRAN.package.hcinfer
Author: Pedro Rafael D. Marinho ORCID iD [aut, cre], Francisco Cribari-Neto ORCID iD [aut], Marina Oliveira Cunha ORCID iD [aut]
Maintainer: Pedro Rafael D. Marinho <pedro.rafael.marinho at gmail.com>
BugReports: https://github.com/prdm0/hcinfer/issues
License: MIT + file LICENSE
URL: https://prdm0.github.io/hcinfer/, https://github.com/prdm0/hcinfer
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: hcinfer results

Documentation:

Reference manual: hcinfer.html , hcinfer.pdf
Vignettes: Comparing HC Estimators (source, R code)
Using HCbeta (source, R code)
HC Estimator Methodology (source, R code)
Introduction to hcinfer (source, R code)

Downloads:

Package source: hcinfer_0.1.0.tar.gz
Windows binaries: r-devel: hcinfer_0.1.0.zip, r-release: hcinfer_0.1.0.zip, r-oldrel: hcinfer_0.1.0.zip
macOS binaries: r-release (arm64): hcinfer_0.1.0.tgz, r-oldrel (arm64): hcinfer_0.1.0.tgz, r-release (x86_64): hcinfer_0.1.0.tgz, r-oldrel (x86_64): hcinfer_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=hcinfer to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.