A plot method to show the approximated distribution of the deviance test statistic

# S3 method for outlier_model
plot(x, sig_col = "#FF0000A0", ...)

Arguments

x

An object returned from fit_outlier

sig_col

Color of the significance level area (default is red)

...

Not used. For S3 compatability.

Value

No return value, called for side effects

Details

The dotted line represents the observed test statistic of z and the colored (red is default) area under the graph represents the significance level.

Thus, if z is supplied and the dotted line is to the left of the colored area, the hypothesis that the observation is an outlier cannot be rejected. Notice however, if there is no dotted line, this simply means, that the observed test statistic is larger than all values and it would disturb the plot if included.