View source: R/bootBraidModel.R
calcBraidBootstrap | R Documentation |
Uses residuals-based bootstrapping to estimate confidence intervals on a BRAID fit's response surface parameters
calcBraidBootstrap(bfit, ciLevs = c(0.025, 0.975), numBoot = NULL)
bfit |
A BRAID fit object of class |
ciLevs |
The lower and upper quantiles at which the confidence intervals should be estimated. Default is 0.025 and 0.975, producing 95% confidence intervals |
numBoot |
The number of bootstrapped coefficient values to estimate. Defaults to a number large enough that at least 10 measurement should lie outside the estimated interval; but held to a minimum value of 100 and a maximum value of 1000. |
An object of class braidrm
but with three additional elements:
ciLevs
: The two quantiles at which the confidence intervals are set
ciCoefs
: An array of bootstrapped coefficients. The number of rows is
the number of successful bootstrapped fits; there is one column for each
the nine BRAID parameters
ciMat
: An array of confidence intervals on the fitted parameters. The
rows correspond to the free parameters included in the fit, and are named
for those parameters; the firt column contains the lower bound of the
confidence intervals, the second column the upper bound.
bfit <- braidrm(measure ~ concA + concB, synergisticExample, getCIs = FALSE)
summary(bfit)
bfit_ci <- calcBraidBootstrap(bfit)
summary(bfit_ci)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.