print.ADcens | R Documentation |
ADcens
object.Printing method for ADcens
object.
## S3 method for class 'ADcens'
print(x, prnt = TRUE, outp = c("list", "table"), degs = 3, print.AIC = TRUE,
print.BIC = TRUE, print.infoBoot = FALSE, ...)
x |
An object of class |
prnt |
Logical to indicate if the estimations of the Anderson-Darling statistic and p-value should be printed. Default is |
outp |
Indicator of how the output will be displayed. The possible formats are |
degs |
Integer indicating the number of decimal places of the numeric results of the output. |
print.AIC |
Logical to indicate if the AIC of the model should be printed. Default is |
print.BIC |
Logical to indicate if the BIC of the model should be printed. Default is |
print.infoBoot |
Logical to indicate if the number of bootstrap samples used should be printed. Default is |
... |
Additional arguments. |
If prnt = TRUE
, a list or table (if outp = "table"
) containing the following components:
Distribution |
Null distribution. |
Hypothesis |
Parameters under the null hypothesis (if |
Test |
Vector containing the value of the Anderson-Darling statistic ( |
Estimates |
Vector with the maximum likelihood estimates of the parameters of the distribution under study. |
StdErrors |
Vector containing the estimated standard errors. |
aic |
The Akaike information criterion. |
bic |
The so-called BIC or SBC (Schwarz Bayesian criterion). |
BS |
The number of bootstrap samples used. |
The list is also returned invisibly.
K. Langohr, M. Besalú, M. Francisco, A. Garcia, G. Gómez.
# List output
set.seed(123)
ADcens(times = rweibull(100, 12, scale = 4), distr = "weibull",
BS = 149)
# Table output
set.seed(123)
print(ADcens(times = rweibull(100, 12, scale = 4), distr = "weibull",
BS = 99), outp = "table")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.