The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » Child marriage for 2013 Sierra Leone DHS
Child marriage for 2013 Sierra Leone DHS [message #12637] Wed, 28 June 2017 05:55 Go to next message
akwarae@gmail.com is currently offline  akwarae@gmail.com
Messages: 13
Registered: August 2014
Member
Hello, I would like to create crosstabs by various characteristics on child marriage.
One of the used definition to calculate this is proportion of 20-24 year olds married before the age of 18.
How do I go about creating this variable "Proportion of 20-24 year olds married before age 18" in the raw 2013 SLDHS so that I can crosstab with education, wealth quintile etc?

Many thanks.
Re: Child marriage for 2013 Sierra Leone DHS [message #12645 is a reply to message #12637] Wed, 28 June 2017 08:44 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member

Following is a response from Senior DHS Stata Specialist, Tom Pullum:


The following lines will construct a binary variable that is 1 if the first cohabitation occurred before 18, 0 otherwise, and NA if current age is not 20-24. For this survey, the overall percentage is 38.9.

gen married_before_18=0
replace married_before_18=1 if v509-v011<12*18
replace married_before_18=. if v013~=2
tab married_before_18 [iweight=v005/1000000],m
tab married_before_18 [iweight=v005/1000000]
Re: Child marriage for 2013 Sierra Leone DHS [message #12651 is a reply to message #12645] Wed, 28 June 2017 10:12 Go to previous message
akwarae@gmail.com is currently offline  akwarae@gmail.com
Messages: 13
Registered: August 2014
Member
Thank you very much.
Previous Topic: Namibia 2013 - diabetes medication variable
Next Topic: Philippines 2013 - Wealth Quintiles
Goto Forum:
  


Current Time: Tue Nov 26 15:27:58 Coordinated Universal Time 2024