bootstrap_ols {conText} | R Documentation |
Bootstrap OLS
Description
Bootstrap model coefficients and standard errors
Usage
bootstrap_ols(Y = NULL, X = NULL, stratify = NULL)
Arguments
Y |
vector of regression model's dependent variable (embedded context) |
X |
data.frame of model independent variables (covariates) |
stratify |
covariates to stratify when bootstrapping |
Value
list with two elements, betas
= list of beta_coefficients (D dimensional vectors);
normed_betas
= tibble with the norm of the non-intercept coefficients
[Package conText version 1.4.3 Index]