permute_ols: Permute OLS

permute_olsR Documentation

Permute OLS

Description

Estimate empirical p-value using permutated regression

Usage

permute_ols(Y = NULL, X = NULL)

Arguments

Y

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

X

data.frame of model independent variables (covariates)

Value

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


conText documentation built on Feb. 16, 2023, 7:32 p.m.