ndirect_effect_mult_or {efflog} | R Documentation |
Natural direct effect for loglinear models with the multiplicative interaction
Description
This function calculates the natural direct effect using the odds ratio for a loglinear model with the multiplicative interaction and under dummy code parametrization
Usage
ndirect_effect_mult_or(x, y, z, w, t, q)
Arguments
x |
it is the parameter |
y |
it is the parameter |
z |
it is the parameter |
w |
it is the parameter |
t |
it is the parameter |
q |
it is the parameter |
Value
ndirect_effect_mult_or returns the natural direct effect
Author(s)
Gloria Gheno
References
Gheno Gloria (2015),The causal analysis in the loglinear model
Examples
ndirect_effect_mult_or(0.6,0.8,0.5,2,0.7,0.6)
[Package efflog version 1.0 Index]