Description Usage Arguments Details Value Author(s)
View source: R/impcov_adjust.R
Adjusts the HIV prevalence for imperfect HIV testing coverage
1 2 | impcov_adjust(data = NULL, hiv_prv_point = NULL,
hiv_cov_point = NULL)
|
data |
The dataframe output from either the hiv_prv_cov function (if adjustment for missing reporting periods is not being performed) or the hiv_prv_ipcw function (if adjustment for missing reporting periods is also being performed). The required variables include:
|
hiv_prv_point |
Optional argument if |
hiv_cov_point |
Optional argument if |
This function was designed to adjust HIV prevalence when HIV testing coverage is less than 100%. A dataframe with one or many HIV prevalence
and HIV testing coverage estimates is input and all prevalence estimates are adjusted for imperfect HIV testing coverage. This means that if the input data is stratified by
time
, period
, and/or year
, the adjustment will also be stratified by the same variable(s). Alternatively, one can supply only point estimates of both HIV prevalence and HIV testing coverage and obtain the adjusted prevalence estimate.
The adjustment factor for specific testing coverage can be found in the adjust_table dataset. These were estimated using the President Emergency Funds for AIDS Relief in Africa (PEPFAR) Monitoring, Evaluation, and Reporting (MER) database. Binomial logistic regression models with facility-level fixed effects and marginal standardization were used to assess the effect of testing coverage on HIV prevalence (see Maheu-Giroux et al. (2019) for details on the methods, applied to Malawi). The database contains information on more than 37 millions ANC attendees from 19,527 unique facilities from 17 countries in sub-Saharan Africa, totalling 226,541 observations over the 2015-2019 period.
A dataframe including the original input data with an additional column, Adjusted_prev
, for the HIV prevalence adjusted for imperfect HIV testing coverage.
Mathieu Maheu-Giroux
Brittany Blouin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.