adjusted_coef {ViSe} | R Documentation |
This function calculates the adjusted effect after controlling for confounding effects. You can use d values or standardized regression coefficients.
adjusted_coef(effect_xz, effect_uxz, effect_d)
effect_xz |
Effect of x on y given z |
effect_uxz |
Effect of u on y given x and z |
effect_d |
Effect size difference of interest |
Adjusted effect size of x on y given u and z
adjusted_coef(effect_xz = .2,
effect_uxz = .4,
effect_d = .12)