print.gofCensored {EnvStats} | R Documentation |
Print Output of Goodness-of-Fit Tests Based on Censored Data
Description
Formats and prints the results of performing a goodness-of-fit test. This method is
automatically called by print
when given an object of class
"gofCensored"
. Currently, the only function that produces an object of
this class is gofTestCensored
.
Usage
## S3 method for class 'gofCensored'
print(x, show.cen.levels = TRUE,
pct.censored.digits = .Options$digits, ...)
Arguments
x |
an object of class |
show.cen.levels |
logical scalar indicating whether to print the censoring levels. The default is
|
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 |
Details
This is the "gofCensored"
method for the generic function
print
.
Prints name of the test, hypothesized distribution, estimated population parameter(s),
estimation method, data name, sample size, censoring information, value of the test
statistic, parameters associated with the null distribution of the test statistic,
p-value associated with the test statistic, and the alternative hypothesis.
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
Censored Data, gofCensored.object
,
print
.