Computes confidence intervals for net chance statistic or the win ratio statisitc.
# S4 method for BuyseRes
confint(object,
statistic = BuyseTest.options()$statistic, conf.level = 0.95,
alternative = "two.sided", method.boot = "percentile")
an R object of class '>BuyseRes
, i.e., output of BuyseTest
[character] the statistic summarizing the pairwise comparison:
"netChance"
displays the net chance in favor of treatment, as described in Buyse (2010) and Peron et al. (2016)),
whereas "winRatio"
displays the win ratio, as described in Wang et al. (2016).
[numeric] confidence level for the confidence intervals.
[character] the type of alternative hypothesis: "two.sided"
, "greater"
, or "less"
.
[character] the method used to compute the boostrap confidence intervals and p-values.
Can be "percentile"
for computing the CI using the quantiles of the boostrap distribution or
"gaussian"
for using a Gaussian approximation to compute the CI where the standard error is computed using the bootstrap samples.
A matrix containing a column for the estimated statstic (over all strata),
the lower bound and upper bound of the confidence intervals, and the associated p-values.
When using resampling methods,
an attribute n.resampling
specified how many samples have been used to compute the confidence intervals and the p-values.
When using a permutation test, the uncertainty associated with the estimator is computed under the null hypothesis. Thus the confidence interval may not be valid if the null hypothesis is false. More precisely, the quantiles of the distribution of the statistic are computed under the null hypothesis and then shifted by the punctual estimate of the statistic. Therefore it is possible that the limits of the confidence interval are estimated outside of the interval of definition of the statistic (e.g. outside [-1,1] for the proportion in favor of treatment).
BuyseTest
for performing a generalized pairwise comparison.
BuyseRes-summary
for a more detailed presentation of the BuyseRes
object.