Learn R Programming

SemiParBIVProbit (version 3.2-9)

est.prev: Estimated overall prevalence from sample selection models

Description

est.prev can be used to calculate the overall estimated prevalence from a sample selection model, with corresponding confidence intervals.

Usage

est.prev(x, sig.lev=0.05)

Arguments

x
A fitted SemiParBIVProbit object as produced by SemiParBIVProbit().
sig.lev
Significance level.

Value

  • resIt returns three values: lower confidence interval limit, estimated prevalence and upper confidence interval limit.
  • sig.levSignificance level used.

Details

est.prev estimates the overall prevalence of a disease (e.g. HIV) when there are missing values that are not at random.

See Also

SemiParBIVProbit-package, SemiParBIVProbit, summary.SemiParBIVProbit

Examples

Run this code
## see examples for SemiParBIVProbit

Run the code above in your browser using DataLab