Skip to contents

Specify that the pooled logistic regression outcome models should be fit using stats::glm with family = binomial(link = "logit").

Usage

stats_glm_logit(save_path)

Arguments

save_path

Directory to save models. Set to NA if models should not be saved.

Value

An object of class te_stats_glm_logit inheriting from te_model_fitter which is used for dispatching methods for the fitting models.

Details

Outcome models additional calculate robust variance estimates using sandwich::vcovCL.

See also

Other model_fitter: te_model_fitter-class

Examples

stats_glm_logit(save_path = tempdir())
#> An object of class "te_stats_glm_logit"
#> Slot "save_path":
#> [1] "/tmp/RtmpKwnwI6"
#>