The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » South Africa 2016 - HIV prevalence
South Africa 2016 - HIV prevalence [message #16871] Mon, 11 March 2019 18:11 Go to previous message
Suzanne Ryan-Ibarra is currently offline  Suzanne Ryan-Ibarra
Messages: 2
Registered: December 2018
Member
Hello,

I'm calculating HIV prevalence among women ages 15-49 years, using the variable HIV03 in the South Africa 2016 HIV dataset called ZAAR17FL.sas7bdat, which I merged with the individual recode file called ZAIR71FL.sas7bdat.

My code is below:
proc surveyfreq data=ZA_hiv;
table hiv03/row cl;
cluster v021;
stratum v022;
format hiv03 hiv.;
title 'HIV Prevalence - South Africa DHS 2016';
weight hiv_wgt;
run;

In the SAS output (attached), the sum of weights is 2485, which matches the number in Table 13.3 in the report FR337 available here: https://dhsprogram.com/pubs/pdf/FR337/FR337.pdf. However, I am concerned that the prevalence estimates calculated using my code above for women 15-49 who are HIV positive are 27.7%, and these do not match exactly the prevalence reported in the FR337 report, which is 27.3%.

Can anyone please advise on next steps to troubleshoot?

Thanks!
  • Attachment: ZA_output.rtf
    (Size: 13.41KB, Downloaded 317 times)
 
Read Message
Read Message
Previous Topic: DHS pakistan 2012-13
Next Topic: DHS 1990 Pakistan merging BR with PR files
Goto Forum:
  


Current Time: Fri Apr 26 15:34:45 Coordinated Universal Time 2024