expb.r | R Documentation |
exponentiated logistic regression coefficient and confidence interval to correlation coefficient
expnentiated b and ci -> t -> r
unadjusted t-statistics estimate bivariate correlation coefficient (enter k = 1)
adjusted t-statistics (e.g., from a regression) estimate partial correlation coefficient (aloe & thompson, 2013).
expb.r(b, cil, ciu, n, k)
b |
exponentiated logistic regression coefficient |
cil |
the lower bound of the 95 confidence interval |
ciu |
the upper bound of the 95 confidence interval |
n |
the sample size |
k |
the total number of predictors, enter k = 1 if bivariate |
expb.r(4.05, 1.56, 10.51, 141, 8)
dat %>% mutate (r_from_expbci = expb.r(expb_coef, expb_lowerci, expb_upperci, expb_n, expb_predictors)) -> dat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.