Description Usage Arguments Value References Examples
Confidence functions for the coefficients of a linear model under Gaussian noise assumptions.
1 | lm.beta.conf(mod)
|
mod |
an output from lm |
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.
1 2 3 4 5 6 7 8 9 | # Prediction of body fat percentage from other body measurements.
data(fat)
mod <- lm(body.fat ~ age + weight + height, data = fat)
beta.conf <- lm.beta.conf(mod)
display.cconf(beta.conf$weight)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.