bootBC.ci {ed50} | R Documentation |
Estimate confidence interval of ED50 using isotonic regression based on bootstrap method.
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. |
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)