Binary Endpoint Estimation with Covariate Adjustment
Apply contrast to calculate marginal estimate of treatment effect and ...
Average over counterfactual predictions
beeca: Binary Endpoint Estimation with Covariate Adjustment
Estimate variance-covariance matrix for marginal estimand based on GLM...
Estimate marginal treatment effects using a GLM working model
Predict counterfactual outcomes in GLM models
(internal) Sanitize a glm model
(internal) Sanitize functions to check model and data within GLM model...
(internal) Sanitize function to check model and data
Performs estimation of marginal treatment effects for binary outcomes when using logistic regression working models with covariate adjustment (see discussions in Magirr et al (2024) <https://osf.io/9mp58/>). Implements the variance estimators of Ge et al (2011) <doi:10.1177/009286151104500409> and Ye et al (2023) <doi:10.1080/24754269.2023.2205802>.