ndirect_effect_mult_or: Natural direct effect for loglinear models with the...

Description Usage Arguments Value Author(s) References Examples

View source: R/ndirect_effect_mult_or.R

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

1
ndirect_effect_mult_or(x, y, z, w, t, q)

Arguments

x

it is the parameter μ^{Y=1}

y

it is the parameter μ^{X=1,Y=1}

z

it is the parameter μ^{Z=1, Y=1}

w

it is the parameter μ_c^{Z=1}

t

it is the parameter μ_c^{X=1,Z=1}

q

it is the parameter μ^{X=1,Z=1,Y=1}

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

1
 ndirect_effect_mult_or(0.6,0.8,0.5,2,0.7,0.6)  

efflog documentation built on May 29, 2017, 9:49 p.m.

Search within the efflog package
Search all R packages, documentation and source code