Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.distChooseCensored

Print Output of Goodness-of-Fit Tests


Description

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

Usage

## S3 method for class 'distChooseCensored'
print(x, show.cen.levels = TRUE, 
  pct.censored.digits = .Options$digits, ...)

Arguments

x

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

show.cen.levels

logical scalar indicating whether to print the censoring levels. The default is show.cen.levels=TRUE.

pct.censored.digits

numeric scalar indicating the number of significant digits to print for the percent of censored observations.

...

arguments that can be supplied to the format function.

Details

This is the "distChooseCensored" 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 and censoring variable.

Value

Invisibly returns the input x.

Author(s)

Steven P. Millard (EnvStats@ProbStatInfo.com)

References

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

See Also


EnvStats

Package for Environmental Statistics, Including US EPA Guidance

v2.4.0
GPL (>= 3)
Authors
Steven P. Millard [aut], Alexander Kowarik [ctb, cre] (<https://orcid.org/0000-0001-8598-4130>)
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.