Description Usage Arguments Value Author(s) References Examples

View source: R/ndirect_effect_or.R

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

1 | ```
ndirect_effect_or(x, y, z, w, t)
``` |

`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 |

The natural direct effect

Gloria Gheno

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

1 2 | ```
#> ndirect_effect_or(0.6,0.8,0.5,2,0.7)
#[1] 0.8039409
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.