extract_lm_quantities {codaredistlm} | R Documentation |
Extract critical quantities from a lm object (for confidence interval calculations)
Description
Extract critical quantities from a lm object (for confidence interval calculations)
Usage
extract_lm_quantities(lm_X, alpha = 0.05)
Arguments
lm_X |
a lm object |
alpha |
level of significance. Defaults to 0.05. |
Value
A list containing the lm
model matrix (dmX
),
the inverse of t(dmX) x dmX
(XtX_inv
),
the standard error (s_e
),
the estimated single column beta matrix (beta_hat
), and
the critical value of the relevant degrees of freedom t-dist (crit_val
).
[Package codaredistlm version 0.1.0 Index]