
Influence Diagnostics for MARS Models
influence_diagnostics.RdCompute case-level and grouped influence summaries using studentized residuals, leverage, and Cook's distance.
Value
A list with row-level influence diagnostics, grouped summaries, thresholds, and top influential rows.
Examples
if (FALSE) { # \dontrun{
fit <- mars(
data = teacher_expectancy,
studyID = "study",
effectID = NULL,
sample_size = NULL,
formula = yi ~ 1,
variance = "vi",
varcov_type = "univariate",
structure = "univariate"
)
influence_diagnostics(fit, top_n = 5)
} # }