Description Usage Arguments Value Author(s) References Examples
View source: R/total_effect_mult_or.R
This function calculates the total effect using the odds ratio for a loglinear model with the multiplicative interaction and under dummy code parametrization
1 | total_effect_mult_or(x, y, z, w, t, q)
|
x |
it is the parameter μ^{Y=1} |
y |
it is the parameter μ^{Y=1,X=1} |
z |
it is the parameter μ^{Y=1, Z=1} |
w |
it is the parameter μ_c^{Z=1} |
t |
it is the parameter μ_c^{Z=1} |
q |
it is the parameter μ^{Y=1,X=1,Z=1} |
The total effect
Gloria Gheno
Gheno, Gloria, (2015),The causal analysis in the loglinear model
1 2 | #> total_effect_mult_or(0.6,0.8,0.5,2,0.7,0.6)
#[1] 0.6815234
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.