Description Usage Arguments Details Value Author(s) See Also Examples
Estimate bootstrapped confidence intervals of a BRAID surface fit's parameters, by sampling residuals and refitting.
1 | getBRAIDbootstrap(bfit, ciLevs = c(0.025, 0.975),numBoot=NULL)
|
bfit |
a BRAID surface fit of class 'braidrm' |
ciLevs |
a two-element vector specifying the lower and upper percentiles of the desired confidence interval. The default
value of |
numBoot |
the number of bootstrapped coefficients to be calculated. If |
This function constructs bootstrapped confidence intervals for objects of class braidrm
. If the input already has
bootstrapped confidence intervals (or has tried and failed to generate them), this function will throw a warning and
return the input model.
An object of class braidrm
, with the new elements:
ciPass |
TRUE if a sufficient proportion of bootstrapping trials successfully converged, FALSE otherwise |
ciLevs |
Two-element vector specifying the lower and upper percentiles of the desired confidence interval. Defaults to 0.025 and 0.975 for a 95% confidence interval. |
ciVec |
Assuming 'ciPass' is true, a vector containing the lower and upper bounds on the confidence intervals of all free parameters |
bCoefs |
Array containing the best-fit parameter values from all bootstrapping trials. Useful for calculating confidence intervals on other values. |
Nathaniel R. Twarog
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.