The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Kenya » Figure 4.4 Trends in early marriage
Re: Figure 4.4 Trends in early marriage [message #28018 is a reply to message #27993] Thu, 02 November 2023 08:43 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
Following is a response from Senior DHS staff member, Tom Pullum:

It will be easier if you refer to numbers in tables, rather than figures. I believe the number you are looking for is in Table 4.4 of the report, first panel (women), the column for age 18, the row for age range 25-49. The number in the table is 25.4%, which is rounded to 25% in Figure 4.4.

The Stata lines given below calculate the mean (for women age 25-49) of a binary variable that is 100 if the woman's age at first cohabitation (v511) was less than 18 and 0 otherwise. This mean is the percentage of women married by 18. The calculated value is 25.36749, which rounds to 25.4% in the table or 25% in the figure.

The GitHub program does basically the same calculation for all the cells of table 4.4. The calculation of median age at first union is trickier because it requires interpolation, but the GitHub program shows how to do that.

use "...KEIR8BFL.DTA", clear
gen married_by_18=0
replace married_by_18=100 if v511<18
summarize married_by_18 if v012>=25 & v012<=49 [iweight=v005/1000000]
 
Read Message
Read Message
Read Message
Previous Topic: Table 2.19 Health insurance coverage
Next Topic: Merging KR and PR files
Goto Forum:
  


Current Time: Sun Dec 1 05:49:27 Coordinated Universal Time 2024