dstanley4 / apaTables

Development version of apaTables R package. Current stable version is on the CRAN.
http://dstanley4.github.io/apaTables/
Other
55 stars 12 forks source link

Computation of CIs for standardized regression coefficients #2

Open wviechtb opened 7 years ago

wviechtb commented 7 years ago

At the moment, CIs for standardized regression coefficients are computed with convert_b_to_beta() which applies b * (sd_pred/sd_crit) to the coefficient and regular CI bounds. However, for the CI, this ignores the sampling variability in ci_crit and sd_pred (if the predictor is random). See:

Would be nice to implement maybe the delta method approach, which seems to work well. Also, there is the fungible package, which provides more appropriate SEs (from which the CI can be computed).

bwiernik commented 4 years ago

I have implemented these more accurate normal-theory SE methods in the configural package. Happy to make a pull request to add them here.