The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nepal » number of women with a live birth in the 2 years preceding the survey (number of women with a live birth in the 2 years preceding the survey)
Re: number of women with a live birth in the 2 years preceding the survey [message #30211 is a reply to message #30182] Tue, 15 October 2024 14:01 Go to previous messageGo to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 888
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

You can do this merge with the following Stata lines
* Merge IR and NR files in Nepal survey

use "...NPIR82FL.DTA", clear
*keep the variables you need from the IR file
keep v*

quietly merge 1:m v001 v002 v003 using "...\NPNR82FL.DTA"

tab _merge

* _merge=1: women who did not have a pregnancy in the past 3 years
* _merge=3: pregnancies in the past 3 years

keep if _merge==3
drop _merge

* Save this file with another name
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: out-of-pocket expenditure
Next Topic: NDHS 2022 analysed data matching with the country report
Goto Forum:
  


Current Time: Fri Nov 22 07:34:25 Coordinated Universal Time 2024