bse.r | R Documentation |
regression coefficient and standard error to correlation coefficient
unadjusted b and se estimate bivariate correlation coefficient (enter k = 1)
adjusted b and se estimate partial correlation coefficient (aloe & thompson, 2013).
bse.r(b, se, n, k)
b |
the regression coefficient (un-transformed only, see other functions e.g., expb.r() for transformed coefficients) |
se |
the standard error |
n |
the analytical sample size |
k |
the total number of predictors, enter k = 1 if bivariate |
bse.r(.25, .09, 100, 3)
dat %>% mutate (r_from_bse = bse.r(reg_coef, reg_se, reg_n, reg_predictors)) -> dat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.