cell_effect_or: Cell effect for loglinear model without the multiplicative...

Description Usage Arguments Value Author(s) References Examples

View source: R/cell_effect_or.R

Description

This function calculates the cell effect using the odds ratio for a loglinear model without the multiplicative interaction and under dummy code parametrization

Usage

1
cell_effect_or(x, y, z, w)

Arguments

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}

Value

The cell effect

Author(s)

Gloria Gheno

References

Gheno, Gloria, (2015),The causal analysis in the loglinear model

Examples

1
2
#> cell_effect_or(0.6,0.8,0.5,2)
#[1] 1.004926

efflog documentation built on May 31, 2017, 3:51 a.m.