Description Usage Arguments Value References Examples
Bootstrapped confidence functions for coefficients of a linear model using BCa and the case resampling bootstrap.
1 | lm.beta.boot.conf(formula, data, B = 2000)
|
formula |
the model to be fitted |
data |
the data frame containing the data for fitting |
B |
the number of bootstrap samples used to approximate the bootstrap distribution |
A list of lists containing the confidence functions pconf, dconf, cconf, and qconf for each coefficient of the linear model, as well as the P-curve and S-curve.
Tore Schweder and Nils Lid Hjort. Confidence, likelihood, probability. Vol. 41. Cambridge University Press, 2016.
Bradley Efron and Trevor Hastie. Computer Age Statistical Inference. Vol. 5. Cambridge University Press, 2016.
1 2 3 4 5 | data(fat)
beta.boot.conf <- lm.beta.boot.conf(body.fat ~ age + weight + height, data = fat, B = 2000)
display.cconf(beta.boot.conf$weight)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.