The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Kenya » Kenya 2014 Table 13.19
Kenya 2014 Table 13.19 [message #11517] Fri, 06 January 2017 04:58 Go to previous message
cmergenthaler is currently offline  cmergenthaler
Messages: 7
Registered: July 2016
Location: Netherlands
Member
Dear DHS experts,

I am trying to match a value presented in Kenya's 2014 final DHS report table 13.19, specifically the % of women 15 19 and 20 24 who used a condom at last sexual intercourse (also unmarried and had sex within past 12 months). My Stata syntax yields weighted proportions which are slightly off from those which are presented.

tab v761 if (v529 >=0 | v529 <= 12) & v535 == 0 & v013 == 1 [iweight = v005/1000000]

condom used |
during last |
sex with |
most recent |
partner | Freq. Percent Cum.
------------+-----------------------------------
no | 177.935511 44.03 44.03
yes | 226.186149 55.97 100.00
------------+-----------------------------------
Total | 404.12166 100.00


55.97 should be 55.6 according to the table.

tab v761 if (v529 >=0 | v529 <= 12) & v535 == 0 & v013 == 2 [iweight = v005/1000000]

condom used |
during last |
sex with |
most recent |
partner | Freq. Percent Cum.
------------+-----------------------------------
no | 171.948023 34.77 34.77
yes | 322.565111 65.23 100.00
------------+-----------------------------------
Total | 494.513134 100.00

65.23 should be 64.8 according to the table.


I'm appreciative for your support, as I'm unsure why I'm not able to match these proportions exactly!

Kind regards,

Christina Mergenthaler
 
Read Message
Read Message
Read Message
Previous Topic: Merging Datasets
Next Topic: Help regarding the variable
Goto Forum:
  


Current Time: Fri Jan 21 22:03:40 Coordinated Universal Time 2022