bootBC.ci {ed50}R Documentation

Estimate Confidence Interval of ED50 Using Isotonic Regression

Description

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

Usage

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

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)

[Package ed50 version 0.1.1 Index]