Description Usage Arguments Examples
Estimate confidence interval of ED50 using isotonic regression based on bootstrap method.
1 | bootBC.ci(tObserved, tBoot, conf = 0.95)
|
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. |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.