Skip to content

Adjust imputation conditional statement#37

Open
ChadFibke wants to merge 1 commit into
BS1125:masterfrom
ChadFibke:fixing-imputation-condition
Open

Adjust imputation conditional statement#37
ChadFibke wants to merge 1 commit into
BS1125:masterfrom
ChadFibke:fixing-imputation-condition

Conversation

@ChadFibke
Copy link
Copy Markdown

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