Detect outliers using Bonferroni p values.
Examples
# model
model <- lm(y ~ ., data = surgical)
ols_test_outlier(model)
#> studentized_residual unadjusted_p_val bonferroni_p_val
#> 5 5.713932 8.870345e-07 4.789987e-05
Detect outliers using Bonferroni p values.
# model
model <- lm(y ~ ., data = surgical)
ols_test_outlier(model)
#> studentized_residual unadjusted_p_val bonferroni_p_val
#> 5 5.713932 8.870345e-07 4.789987e-05