Description Usage Arguments Details Value Author(s) References See Also Examples

`prev`

can be used to calculate the overall estimated prevalence from a sample selection model
with binay outcome, with corresponding interval
obtained using the delta method or posterior simulation.

1 2 3 4 |

`x` |
A fitted |

`sw` |
Survey weights. |

`type` |
This argument can take three values: |

`ind` |
Binary logical variable. It can be used to calculate the prevalence for a subset of the data. |

`delta` |
If |

`n.sim` |
Number of simulated coefficient vectors from the posterior distribution of the estimated model parameters. This is used
when |

`prob.lev` |
Overall probability of the left and right tails of the prevalence distribution used for interval calculations. |

`hd.plot` |
If |

`main` |
Title for the plot. |

`xlab` |
Title for the x axis. |

`...` |
Other graphics parameters to pass on to plotting commands. These are used only when |

`prev`

estimates the overall prevalence of a disease (e.g., HIV) when there are missing values that are not at random.
An interval for the estimated prevalence can be obtained using the delta method or posterior simulation.

`res` |
It returns three values: lower confidence interval limit, estimated prevalence and upper confidence interval limit. |

`prob.lev` |
Probability level used. |

`sim.prev` |
If |

Authors: Giampiero Marra, Rosalba Radice, Guy Harling, Mark E McGovern

Maintainer: Giampiero Marra [email protected]

McGovern M.E., Barnighausen T., Marra G. and Radice R. (2015), On the Assumption of Joint Normality in Selection Models: A Copula Approach Applied to Estimating HIV Prevalence. *Epidemiology*, 26(2), 229-237.

Marra G., Radice R., Barnighausen T., Wood S.N. and McGovern M.E. (in press), A Simultaneous Equation Approach to Estimating HIV Prevalence with Non-Ignorable Missing Responses. *Journal of the American Statistical Association*.

`JRM-package`

, `SemiParBIV`

, `SemiParTRIV`

1 | ```
## see examples for SemiParBIV and SemiParTRIV
``` |

JRM documentation built on July 13, 2017, 5:03 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.