heteroTests: Heteroscedasticity Diagnostics for Linear Models

Provides a unified set of heteroscedasticity diagnostics for linear-model workflows. It implements classical auxiliary-regression tests, including those of White (1980) <doi:10.2307/1912934>, Breusch and Pagan (1979) <doi:10.2307/1911963>, Koenker (1981) <doi:10.1016/0304-4076(81)90062-2>, Goldfeld and Quandt (1965) <doi:10.1080/01621459.1965.10480811> and Harvey (1976) <doi:10.2307/1913974>; the score test of Cook and Weisberg (1983) <doi:10.1093/biomet/70.1.1>; the ARCH test of Engle (1982) <doi:10.2307/1912773>; and group-wise tests of equal variance, including those of Bartlett (1937) <doi:10.1098/rspa.1937.0109>, Brown and Forsythe (1974) <doi:10.1080/01621459.1974.10482955> and Hartley (1950) <doi:10.2307/2332383>. Resampling and scalable variants, simulation utilities, diagnostic visualisation and remediation helpers share a consistent interface designed for reproducible statistical workflows and integration with common modelling tools.

Version: 0.11.2
Depends: R (≥ 4.1)
Imports: MASS, stats, ggplot2, curl, generics, scales, R6, parallel, SuppDists
Suggests: quickcheck, testthat (≥ 3.0.0), styler, lintr, digest, covr, knitr, rmarkdown, gridExtra, shiny, DT, plotly, htmlwidgets, readxl, Matrix, bench, lmtest, plm, withr, car, vartest, mgcv, quantreg, sandwich, spdep, broom, workflows, parsnip, recipes, survey, data.table, dtplyr, dplyr
Published: 2026-09-26
DOI: 10.32614/CRAN.package.heteroTests (may not be active yet)
Author: Diogo Ribeiro ORCID iD [aut, cre]
Maintainer: Diogo Ribeiro <dfr at esmad.ipp.pt>
BugReports: https://github.com/DiogoRibeiro7/heteroTests/issues
License: Apache License (≥ 2.0)
URL: https://github.com/DiogoRibeiro7/heteroTests, https://diogoribeiro7.github.io/heteroTests/
NeedsCompilation: no
Citation: heteroTests citation info
Materials: NEWS
CRAN checks: heteroTests results

Documentation:

Reference manual: heteroTests.html , heteroTests.pdf
Vignettes: Complete Bibliography and References (source, R code)
Comprehensive Guide to Heteroscedasticity Testing (source, R code)
Performance Comparison Guide (source, R code)
Real-world Case Studies (source, R code)
Statistical Theory and Implementation Details (source, R code)
Troubleshooting Common Issues (source)
heteroTests Walkthrough (source, R code)
Using heteroTests (source, R code)

Downloads:

Package source: heteroTests_0.11.2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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