backdr_out: Compute standardized estimates with parametric outcome model

View source: R/backdr_out.R

backdr_outR Documentation

Compute standardized estimates with parametric outcome model

Description

Compute standardized estimates with parametric outcome model.

Usage

backdr_out(
  data,
  formula,
  exposure.name,
  confound.names,
  family = c("binomial", "poisson", "gaussian")
)

standout(
  data,
  formula,
  exposure.name,
  confound.names,
  family = c("binomial", "poisson", "gaussian")
)

Arguments

data

Dataframe of raw data.

formula

Formula representing the model.

exposure.name

Name of exposure variable.

confound.names

Names of the confound variables.

family

Name of the model's family. Must be one of c("binomial", "poisson", "gaussian"). default is "binomial".

Details

The standardized estimates are computed using the outcome model. See chapter 6, section 6.1.2, for details.

Value

Dataframe in a useable format for rsample::bootstraps.

Source

Section 6.1.2

See Also

effect_measures

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.