bootBC.ci: Estimate Confidence Interval of ED50 Using Isotonic...

Description Usage Arguments Examples

Description

Estimate confidence interval of ED50 using isotonic regression based on bootstrap method.

Usage

1
bootBC.ci(tObserved, tBoot, conf = 0.95)

Arguments

tObserved

the vector of observed statistics.

tBoot

The matrix with R rows each of which is a bootstrap replicate of the statistics.

conf

Confidence level.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
library(ed50)
library(boot)
pavaData <- preparePava(groupS)
bootResult <- boot(data = groupS,
              statistic = bootIsotonicRegression,
                      R = 10,
                    sim = 'parametric',
                ran.gen = bootIsotonicResample,
                    mle = list(baselinePava = pavaData,
                                  firstDose = 2.5,
                          PROBABILITY.GAMMA = 0.5),
           baselinePava = pavaData,
      PROBABILITY.GAMMA = 0.5)
bootBC.ci(tObserved = bootResult$t0[3],
              tBoot = bootResult$t[, 3],
               conf = 0.95)

ed50 documentation built on May 2, 2019, 7:29 a.m.

Related to bootBC.ci in ed50...