lm.ci | R Documentation |
Calculates (classical) confidence intervals for an ordinary multiple linear regression model in the n > p situation.
lm.ci(x, y, level = 0.95, ...)
x |
Design matrix (without intercept). |
y |
Response vector. |
level |
Coverage level. |
... |
Additional arguments to be passed to |
A model with intercept is fitted but the p-value of the intercept is not reported in the output.
Matrix of confidence interval bounds (not including the intercept).
Lukas Meier
hdi
x <- matrix(rnorm(100 * 5), nrow = 100, ncol = 5)
y <- x[,1] * 2 + x[,2] * 2.5 + rnorm(100)
ci <- lm.ci(x, y)
ci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.