Description Usage Arguments Details Value Author(s) References Examples
Computes point estimate and confidence interval for a single linear parametric function in a linear model.
1 |
y |
Responese vector in linear model. |
X |
Design/model matrix or matrix containing values of explanatory variables (generally including intercept). |
p |
Coefficient vector of linear parametric function for which confidence interval is needed. |
alpha |
Non-coverage probability of confidence interval. |
type |
Type of confidence interval ("lower", "upper", "both"). |
tol |
A relative tolerance to detect zero singular values while computing generalized inverse, in case X is rank deficient (default = sqrt(.Machine$double.eps)). |
Normal distribution of response (given explanatory variables and/or factors) is assumed.
Returns a list of two objects:
estimate |
Point estimate. |
ci |
Confidence interval. |
Debasis Sengupta <shairiksengupta@gmail.com>, Jinwen Qiu <qjwsnow_ctw@hotmail.com>
Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.