Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std error of RR(Risk Ratio) #46

Open
zyjdhr opened this issue Mar 15, 2024 · 1 comment
Open

std error of RR(Risk Ratio) #46

zyjdhr opened this issue Mar 15, 2024 · 1 comment

Comments

@zyjdhr
Copy link

zyjdhr commented Mar 15, 2024

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.

@yqzhong7
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants