Skip to contents

All functions

HeteroDiagnostic()
Create a diagnostic object
TestFactory
Heteroscedasticity Test Factory
additional_tests
Additional heteroscedasticity tests
analyzeMLResiduals()
Machine-learning residual analysis
autoCompareRemediations()
Automatically compare remedial models
autoTransform()
Automatic transformation helper
autoplot(<hetero_test_suite>)
Autoplot heteroscedasticity diagnostics
bootstrap_methods
Bootstrap utilities for heteroscedasticity diagnostics
cachedTest()
Cache results of a heteroscedasticity test
checkData()
Validate data argument
checkModel()
Validate model argument
checkModelEnhanced()
Enhanced model diagnostics
clearAnalysisCache()
Clear cached diagnostic run results
clearTestCache()
Clear cached test results
compareModelDiagnostics()
Compare diagnostics across models
compareTestResults()
Summarise heteroscedasticity test results
diagnostic_data
Simulated dataset with collinearity and mild nonlinearity
.diagnostic_registry
Diagnostics registry
downloadTeachingData()
Download example teaching dataset
fitRobust()
Robust regression wrapper
fitWLS()
Weighted Least Squares wrapper
generateDiagnosticReport()
Automated diagnostic report generation
analyseDatasetCharacteristics() suggestDiagnosticsForProfile() interpretHeteroTestResults() recommendRemediationStrategies() warnDiagnosticAssumptions() buildDiagnosticDecisionTree() composeDiagnosticNarrative() generateHeteroRecommendations()
Intelligent recommendations for heteroscedasticity diagnostics
hetero_data
Simulated dataset with heteroscedastic errors
hetero_test_suite hetero_grouped_suite
S3 containers for heteroscedasticity diagnostics
ht_set_log_level() ht_enable_log_capture() ht_log_history() ht_clear_log_history()
Control logging for heteroTests diagnostics
launchDiagnosticDashboard()
Interactive diagnostic dashboard
modern_diagnostics
Modern heteroscedasticity diagnostics
performArchLMTest()
Perform Engle's ARCH LM test
performBPRandomEffectsTest()
Breusch-Pagan LM test for random effects
performBPTest() performBreuschPaganTest()
Perform Breusch-Pagan test for heteroscedasticity
performBPTestRobust()
Robust Breusch–Pagan test with bootstrap and effect sizes
performBPTestStreaming()
Streaming Breusch\–Pagan test for large datasets
performBartlettTest()
Perform Bartlett's test for equality of variances
performBoxMTest()
Box's M Test for Equality of Covariance Matrices
performBrownForsytheTest()
Perform Brown-Forsythe test for equality of variances
performCookWeisbergTest()
Perform Cook-Weisberg test for heteroscedasticity
performDavidianCarrollTest()
Perform Davidian-Carroll test
performFlignerKilleenTest()
Perform Fligner-Killeen test for homogeneity of variances
performGQTest()
Perform Goldfeld-Quandt test for heteroscedasticity
performGlejserTest()
Perform Glejser test for heteroscedasticity
performHartleyFmaxTest()
Perform Hartley's Fmax test
performHarveyTest()
Perform Harvey test for multiplicative heteroscedasticity
performHighDimensionalTest()
High-dimensional projection heteroscedasticity test
performInfluenceDiagnostics()
Identify influential observations
performKoenkerTest()
Perform Koenker studentized Breusch-Pagan test
performKoenkerTestStreaming()
Streaming Koenker studentized Breusch\–Pagan test
performLeveneTest()
Perform Levene's test for equality of variances
performMcLeodLiTest()
Perform McLeod-Li test
performNCVTest()
Perform the non-constant variance (NCV) score test
performOBrienTest()
Perform O'Brien test for equality of variances
performParkTest()
Perform Park test for heteroscedasticity
performPesaranTest()
Perform Pesaran CD test
performQuantileRegressionTest()
Quantile regression heteroscedasticity test
performRESETTest()
Ramsey's RESET test for nonlinearity
performRankPermutationTest()
Rank-based permutation heteroscedasticity test
performScatterDiagnostic()
Scatter-plot diagnostics for heteroscedasticity
performSpatialHeteroTest()
Spatial heteroscedasticity test
performSpearmanTest()
Perform Spearman rank correlation test
performSpreadLevelTest()
Perform Spread-Level test
performStudentizedBPTest()
Studentized Breusch–Pagan test
performSzroeterTest()
Szroeter test for ordered alternatives
performVIFDiagnostic()
Variance inflation factors
performWhiteTest()
Perform White's test for heteroscedasticity
performWhiteTestBootstrap()
Bootstrap White test
performWhiteTestRobust()
Robust White test with bootstrap and effect sizes
performWhiteTestStreaming()
Memory-efficient White test for large datasets
performWildBootstrapTest()
Wild bootstrap heteroscedasticity test
plot(<HeteroDiagnostic>)
Plot diagnostics
plot(<power_analysis>)
Plot method for power analysis results
plotBeforeAfter()
Compare residuals before and after remediation
plotBubbleVariance()
Bubble plot of residual variance by covariate
plotDiagnosticSuite()
Generate a suite of diagnostic plots
plotDiagnosticSuiteEnhanced()
Enhanced diagnostic plot suite
plotResidualDensity()
Density plot of residuals
plotResidualQQ()
QQ plot of residuals
plotResidualsFitted()
Plot residuals vs fitted values
plotResidualsFittedEnhanced()
Enhanced residuals vs fitted plot
plotSpreadLevel()
Spread-Level plot for variance diagnostics
print(<htest_enhanced>)
Print method for enhanced White test results
rbootstrap_test_statistic()
Bootstrap a test statistic
rcalculateEffectSize()
Effect size calculations for heteroscedasticity diagnostics
registerDiagnostic()
Register a custom diagnostic
registerPlot()
Register a diagnostic plot
restimate_test_power()
Estimate test power from observed effect size
robust_implementations
Robust heteroscedasticity diagnostics
rrunAdvancedDiagnostics()
Run enhanced heteroscedasticity diagnostics
runDiagnosticPlots()
Run registered diagnostic plots
runDiagnostics()
Run a suite of model diagnostics
runHeteroTests()
Run multiple heteroscedasticity diagnostics
runHeteroTestsParallel()
Parallel test execution helper
runMultivariateTests()
Run multivariate heteroscedasticity tests
runPanelTests()
Run panel-data heteroscedasticity tests
runSurveyHeteroTests()
Run heteroscedasticity diagnostics on survey designs
runTimeSeriesTests()
Run time-series heteroscedasticity tests
run_benchmark_suite() generate_benchmark_report()
Benchmark heteroTests against reference implementations
rvalidate_against_reference()
Validate diagnostics against reference implementations
scale_colour_hetero_diagnostic() scale_fill_hetero_diagnostic()
Colour scale for heteroscedasticity diagnostics
simulate_hetero() simulate_arch1() sigma_linear() sigma_exponential() sigma_group() sigma_piecewise() sigma_poly() sigma_sin() sigma_multiplicative() sigma_spatial() sigma_logistic() sigma_inverse() sigma_power() sigma_step() sigma_u_shape() sigma_exp_decay() sigma_gaussian_peak() sigma_piecewise_linear()
Simulate heteroscedastic data
simulate_type_I_errors() simulate_power_analysis()
Advanced simulation framework for test validation
std_error()
Generate standardized error message
std_warning()
Generate standardized warning message
suggestRemediation() print(<remediation_suggestions>)
Suggest remediation actions for heteroscedasticity
summary(<HeteroDiagnostic>)
Summarize diagnostics
test()
Run diagnostic tests
test_factory
Shared instance of the test factory
theme_hetero()
Heteroscedasticity diagnostic theme
tidy(<hetero_test>) glance(<hetero_test>) augment(<hetero_test>) tidy(<hetero_test_suite>) glance(<hetero_test_suite>) augment(<hetero_test_suite>) tidy(<hetero_grouped_suite>)
broom methods for heteroscedasticity diagnostics
validateTestInputs()
Validate model and data inputs before running diagnostics