CMAverse icon indicating copy to clipboard operation
CMAverse copied to clipboard

Adjust imputation conditional statement

Open ChadFibke opened this issue 1 year ago • 0 comments

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")

ChadFibke avatar Apr 17 '23 17:04 ChadFibke