For background on cross-sectional incidence estimators, please see Gao and Bannick (2022).
This package provides functions to estimate cross-sectional incidence of HIV using recent infection testing algorithms (RITA). Available estimators are:
We include functions to interface with the CEPHIA Public Use Dataset (Grebe et al. 2021) which provides data on recent infection testing algorithms. The functions in this package use CEPHIA data to estimate properties of recent infection testing algorithms, like the mean duration of recent infection (MDRI). They are also crucial for the enhanced estimator, as the enhanced estimator requires an estimate of the entire test-recent function for a RITA (which is not typically available in the literature).
You can install the package with devtools
:
require(devtools)
devtools::install_github("mbannick/XSRecency")
Or to download the package, you may clone the repository:
git clone https://github.com/mbannick/XSReceny.git
To reproduce the simulations in Bannick et al. 2023, please see this repository, which uses functions from this package.
To reproduce the simulations in Gao and Bannick (2022), please download a previous release (0.1.0) of this repository here.