Package: hcinfer 0.1.0.9000

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:
hcinfer_0.1.0.9000.tar.gz
hcinfer_0.1.0.9000.zip(r-4.7)hcinfer_0.1.0.9000.zip(r-4.6)hcinfer_0.1.0.9000.zip(r-4.5)
hcinfer_0.1.0.9000.tgz(r-4.6-any)hcinfer_0.1.0.9000.tgz(r-4.5-any)
hcinfer_0.1.0.9000.tar.gz(r-4.7-any)hcinfer_0.1.0.9000.tar.gz(r-4.6-any)
hcinfer_0.1.0.9000.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://prdm0.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/prdm0/hcinfer/issues
Pkgdown/docs site:https://prdm0.github.io
- PublicSchools - Public school expenditure and income by US state
Last updated from:18c63cd9f1. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 150 | ||
| source / vignettes | OK | 169 | ||
| linux-release-x86_64 | OK | 303 | ||
| macos-release-arm64 | OK | 106 | ||
| macos-oldrel-arm64 | OK | 103 | ||
| windows-devel | OK | 81 | ||
| windows-release | OK | 123 | ||
| windows-oldrel | OK | 100 | ||
| wasm-release | OK | 111 |
Exports:hc_methodshcinfertestsvcov_hc
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalestibbleutf8vctrsviridisLitewithr
Comparing HC Estimators
Rendered fromhcinfer-comparison.Rmdusingknitr::rmarkdownon Jun 10 2026.Last update: 2026-05-27
Started: 2026-05-27
HC Estimator Methodology
Rendered fromhcinfer-methodology.Rmdusingknitr::rmarkdownon Jun 10 2026.Last update: 2026-06-05
Started: 2026-06-02
Introduction to hcinfer
Rendered fromintroduction.Rmdusingknitr::rmarkdownon Jun 10 2026.Last update: 2026-05-28
Started: 2026-05-27
Using HCbeta
Rendered fromhcinfer-hcbeta.Rmdusingknitr::rmarkdownon Jun 10 2026.Last update: 2026-05-27
Started: 2026-05-27
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Extract model coefficients from an hcinfer object | coef.hcinfer |
| Confidence intervals for hcinfer objects | confint.hcinfer |
| Available heteroskedasticity-consistent estimators | hc_methods |
| Heteroskedasticity-consistent Wald inference | hcinfer |
| Plot robust confidence intervals | plot.hcinfer |
| Plot HC adjustment factors against leverages | plot.hcinfer_vcov |
| Print hcinfer objects | print.hcinfer |
| Print hcinfer covariance objects | print.hcinfer_vcov |
| Public school expenditure and income by US state | PublicSchools |
| Summarize heteroskedasticity-consistent inference | summary.hcinfer |
| Summarize heteroskedasticity-consistent covariance objects | summary.hcinfer_vcov |
| Extract coefficient test results | tests tests.hcinfer |
| Heteroskedasticity-consistent covariance estimator | vcov_hc |
| Extract robust covariance matrices | vcov.hcinfer vcov.hcinfer_vcov |
