Description Usage Arguments Value See Also Examples
View source: R/summary.intELtest.R
Returns a list containing the integrated EL statistics, the critical value based on bootstrap, and the p-value of the test.
1 2 |
object |
the result of a call to the |
digits |
significant digits to print, the default value is |
quiet |
a logical indicating whether to reduce the amount of output or not, the default value is |
... |
for future method |
summary.intELtest
returns a list with following components:
call
the statement used to create the intELtest
object
teststat
the resulting integrated EL statistics
critval
the critical value based on bootstrap
pvalue
the p-value of the test
sided
the value of the input argument of intELtest
alpha
the value of the input argument of intELtest
hepatitis
, intELtest
, print.intELtest
1 2 3 4 5 6 7 8 9 10 11 | library(survELtest)
result = intELtest(survival::Surv(hepatitis$time, hepatitis$censor) ~ hepatitis$group)
summary(result)
## OUTPUT:
## Call:
## intELtest(formula = survival::Surv(hepatitis$time, hepatitis$censor) ~
## hepatitis$group)
##
## Two-sided integrated EL test statistic = 1.42, p = 0.007,
## critical value based on bootstrap = 0.875 at a significance level of 0.05
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.