| backdr_exp | R Documentation |
Compute standardized estimates with parametric exposure model.
backdr_exp(data, formula, exposure.name, confound.names, att = FALSE)
standexp.r(data, formula, exposure.name, confound.names, att = FALSE)
data |
Dataframe of raw data. |
formula |
Formula representing the model. |
exposure.name |
Name of exposure variable. |
confound.names |
Names of the confound variables. |
att |
if |
The standardized estimates are computed using the exposure model.
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. Also T, i.e. the
exposure, must always be binary, if not it can be made binary
"one can first recode the data so that T = 1 when it is previously equaled,
and T = 0 when it previously equaled any value other than t", p. 113.
Dataframe in a useable format for rsample::bootstraps.
Section 6.2.2
# An example can be found in the location identified in the
# source section above at the github site
# https://github.com/FrankLef/FundamentalsCausalInference.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.