compute_univariate_sumstats | R Documentation |
Function to compute regression coefficients and their standard errors from univariate simple linear regression.
compute_univariate_sumstats(
X,
Y,
standardize = FALSE,
standardize.response = FALSE,
mc.cores = 1
)
X |
n x p matrix of covariates. |
Y |
n x r matrix of responses. |
standardize |
If |
standardize.response |
If |
mc.cores |
Number of cores to use. Parallelization is done over responses. |
A list with following elements:
Bhat |
p x r matrix of the regression coeffcients. |
Shat |
p x r matrix of the standard errors for regression coeffcients. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.