Description Usage Arguments Value References Examples

Averages the log odds ratio using retrospective logistic regression.

1 | ```
avg_RR_logit(y, t, x, w = "control")
``` |

`y` |
n-dimensional vector of binary outcomes |

`t` |
n-dimensional vector of binary treatments |

`x` |
n by d matrix of covariates |

`w` |
'case' if the average is conditional on the case sample; 'control' if it is conditional on the control sample default w = 'control' |

An S3 object of type "ciccr". The object has the following elements.

`est` |
a scalar estimate of the weighted average of the log odds ratio using retrospective logistic regression |

`se` |
standard error |

Jun, S.J. and Lee, S. (2020). Causal Inference in Case-Control Studies. https://arxiv.org/abs/2004.08318.

1 2 3 4 5 6 |

ciccr documentation built on Oct. 29, 2020, 5:07 p.m.

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.