ols_test_outlier: Bonferroni Outlier Test

View source: R/ols-outlier-test.R

ols_test_outlierR Documentation

Bonferroni Outlier Test

Description

Detect outliers using Bonferroni p values.

Usage

ols_test_outlier(model, cut_off = 0.05, n_max = 10, ...)

Arguments

model

An object of class lm.

cut_off

Bonferroni p-values cut off for reporting observations.

n_max

Maximum number of observations to report, default is 10.

...

Other arguments.

Examples

# model
model <- lm(y ~ ., data = surgical)
ols_test_outlier(model)


olsrr documentation built on May 29, 2024, 12:35 p.m.