Learn R Programming

conText (version 1.4.3)

run_ols: Run OLS

Description

Bootstrap model coefficients and standard errors

Usage

run_ols(Y = NULL, X = NULL)

Value

list with two elements, betas = list of beta_coefficients (D dimensional vectors); normed_betas = tibble with the norm of the non-intercept coefficients

Arguments

Y

vector of regression model's dependent variable (embedded context)

X

data.frame of model independent variables (covariates)