Estimates true prevalence and confidence limits for given sample size and result, according to specified method

1 |

`x` |
number of positive units (scalar) |

`n` |
sample size (no. units sampled) (scalar) |

`se` |
test sensitivity (scalar) |

`sp` |
test specificity (scalar) |

`type` |
method for estimating CI, one of c("normal", "c-p", "sterne", "blaker", "wilson", "all") |

`conf` |
desired level of confidence for CI, default = 0.95 (scalar) |

list with 2 elements, a matrix of apparent prevalence and lower and upper confidence limits and a matrix of true prevalence and lower and upper confidence limits using the chosen method(s)

1 2 3 4 5 6 7 8 9 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.