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

Adjust imputation conditional statement #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChadFibke
Copy link

Description

Addresses bug noted in #35 , which allows estimation of causal effects from both rb, and gformula models using estimation = "imputation" from cmest() and cmsens().

Changes

The following minor fix has been added to est.rb() and est.gformula()

if (is_glm_yreg && family_yreg$family %in% c("binomial", "quasibinomial") &&
          family_yreg$link == "logit")

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

Successfully merging this pull request may close these issues.

1 participant