Learn R Programming

EnvStats (version 2.1.0)

print.gofOutlier: Print Output of Goodness-of-Fit Outlier Tests

Description

Formats and prints the results of performing a goodness-of-fit test for outliers. This method is automatically called by print when given an object of class "gofOutlier". The names of the functions that perform goodness-of-fit tests for outliers and that produce objects of class "gofOutlier" are listed under Tests for Outliers.

Usage

## S3 method for class 'gofOutlier':
print(x, ...)

Arguments

x
an object of class "gofOutlier". See gofOutlier.object for details.
...
arguments that can be supplied to the format function.

Value

  • Invisibly returns the input x.

Details

This is the "gofOutlier" method for the generic function print. Prints name of the test, hypothesized distribution, data name, sample size, value of the test statistic, parameters associated with the null distribution of the test statistic, Type I error, critical values, and the alternative hypothesis.

References

Chambers, J. M. and Hastie, T. J. (1992). Statistical Models in S. Wadsworth & Brooks/Cole.

See Also

Tests for Outliers, gofOutlier.object, print.