powered by
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)
Adjusted effect size of x on y given u and z
Effect of x on y given z
Effect of u on y given x and z
Effect size difference of interest
adjusted_coef(effect_xz = .2, effect_uxz = .4, effect_d = .12)
Run the code above in your browser using DataLab