extract_lm_quantities: Extract critical quantities from a lm object (for confidence...

View source: R/extract_lm_quantities.R

extract_lm_quantitiesR 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).


tystan/deltacomp documentation built on Oct. 26, 2022, 7:24 a.m.