backdr_exp_gee: Compute standardized estimates with parametric exposure model

View source: R/backdr_exp_gee.R

backdr_exp_geeR Documentation

Compute standardized estimates with parametric exposure model

Description

Compute standardized estimates with parametric exposure model.

Usage

backdr_exp_gee(data, formula, exposure.name, confound.names)

standexpgee(data, formula, exposure.name, confound.names)

Arguments

data

Dataframe of raw data.

formula

Formula representing the model.

exposure.name

Name of exposure variable.

confound.names

Names of the confound variables.

Details

The standardized estimates are computed using the exposure model and the geeglm from the geepack package. This method requires 2 different formulas which are created from the arguments formula. The 2 formulas created are for the exposure model and another one for the weighted linear model.

Value

Dataframe in a useable format for rsample::bootstraps.

See Also

backdr_exp

Examples

# An example can be found in the location identified in the
# source section above at the github site
# https://github.com/FrankLef/FundamentalsCausalInference.

FrankLef/fciR documentation built on Nov. 12, 2023, 6:09 a.m.