Learn R Programming

EnvStats (version 2.3.1)

print.distChoose: Print Output of Goodness-of-Fit Tests

Description

Formats and prints the results of calling the function distChoose, which uses a series of goodness-of-fit tests to choose among candidate distributions. This method is automatically called by print when given an object of class "distChoose".

Usage

# S3 method for distChoose
print(x, ...)

Arguments

x

an object of class "distChoose". See distChoose.object for details.

arguments that can be supplied to the format function.

Value

Invisibly returns the input x.

Details

This is the "distChoose" method for the generic function print. Prints the candidate distributions, method used to choose among the candidate distributions, chosen distribution, Type I error associated with each goodness-of-fit test, estimated population parameter(s) associated with the chosen distribution, estimation method, goodness-of-fit test results for each candidate distribution, and the data name.

References

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

See Also

distChoose, distChoose.object, Goodness-of-Fit Tests, print.