dp.inputs.survey.hiv.prevalence | R Documentation |
Get HIV prevalence data from household surveys that have been entered into Spectrum for validation of its HIV prevalence estimates.
dp.inputs.survey.hiv.prevalence(dp.raw, direction = "wide")
dp.raw |
DemProj module data in raw format, as returned by
|
direction |
Request "wide" (default) or "long" format data. |
A data frame.
Spectrum can store data from up to five household surveys. Data consist of HIV prevalence estimates by sex (male, female, both) and five-year age group (0-4, 5-9, ..., 75-79, 80+). Five statistics are stored for each group:
Number - not used
Prevalence - HIV prevalence point estimate
Lower - 95% confidence interval lower bound
Upper - 95% confidence interval upper bound
N - sample size. Countries may enter non-integral survey-weighted sample sizes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.