yqzhong7/AIPW

std error of RR(Risk Ratio)

Opened this issue · 1 comments

In line 278 of AIPW/R/AIPW_base.R, the std error of RR may calculate -(2*sigma_covar[1,2]/(mean(aipw_eif1)*mean(aipw_eif0))) twice, which occur NaNs in sqrt function.

Could you please elaborate on the issue? It would be helpful to see a reproducible error.