Calculates sample size to achieve desired population-level sensitivity, assuming pooled sampling and allowing for imperfect sensitivity and specificity of the pooled test

1 |

`sep` |
desired population sensitivity (scalar or vector) |

`k` |
pool size (constant across pools) (scalar or vector of same length as sep) |

`pstar` |
design prevalence (scalar or vector of same length as sep) |

`pse` |
pool-level sensitivity (scalar or vector of same length as sep) |

`psp` |
pool-level specificity (scalar or vector of same length as sep) |

vector of sample sizes

1 2 3 4 |

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.