Omnibus Heterogeneity Test for GRF Models
Source:R/margot_omnibus_hetero_test.R
margot_omnibus_hetero_test.Rd
This function performs an omnibus heterogeneity test for specified models outputted from margot::margot_run_models_grf() and provides interpretations for each result.
Usage
margot_omnibus_hetero_test(
model_results,
outcome_vars = NULL,
alpha = 0.05,
detail_level = "standard"
)
Arguments
- model_results
A list of model results from margot::margot_run_models_grf().
- outcome_vars
Optional. A character vector of outcome variable names. If NULL, the function will attempt to use the outcome_vars from the model_results input.
- alpha
Significance level for hypothesis tests. Default is 0.05.
- detail_level
Character string specifying the level of detail in the output. Options are "basic", "standard" (default), or "detailed".