Learn R Programming

riskRegression (version 2020.02.05)

confint.influenceTest: Confidence Intervals and Confidence Bands for the Difference Between Two Estimates

Description

Confidence intervals and confidence Bands for the difference between two estimates.

Usage

# S3 method for influenceTest
confint(
  object,
  parm = NULL,
  level = 0.95,
  nsim.band = 10000,
  transform = "none",
  seed = NA,
  ...
)

Arguments

object

A influenceTest object, i.e. output of the influenceTest function.

parm

not used. For compatibility with the generic method.

level

[numeric, 0-1] Level of confidence.

nsim.band

[integer, >0] the number of simulations used to compute the quantiles for the confidence bands.

transform

[character] the transformation used to improve coverage of the confidence intervals. Can be "none" or "atanh".

seed

[integer, >0] seed number set before performing simulations for the confidence bands. If not given or NA no seed is set.

...

not used.

Details

Except for the cumulative hazard, the confidence bands and confidence intervals are automatically restricted to the interval [-1;1].