stats_glm_logit: Fit outcome models using 'stats::glm'

View source: R/te_stats_glm_logit.R

stats_glm_logitR Documentation

Fit outcome models using stats::glm

Description

[Experimental]

Usage

stats_glm_logit(save_path)

Arguments

save_path

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

Details

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

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

Value

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

See Also

Other model_fitter: parsnip_model(), te_model_fitter-class

Examples

stats_glm_logit(save_path = tempdir())

CAM-Roche/RandomisedTrialsEmulation documentation built on April 14, 2025, 7:44 a.m.