The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Kenya » KDHS 2014 - Table 7.13 Future use of contraception
KDHS 2014 - Table 7.13 Future use of contraception [message #28633] Sat, 10 February 2024 10:04 Go to previous message
sokiya is currently offline  sokiya
Messages: 79
Registered: May 2017
Location: Nairobi
Senior Member
Hi,
I am trying to reproduce results in Table 7.13 Future use of contraception using the following syntax
use "KEIR71FL.dta", clear
gen fp_future_use = v362 
replace fp_future_use=5 if fp_future_use==9
replace fp_future_use = . if  (v502!=1 | v312!=0)
label values fp_future_use V362
ta fp_future_use [iw=v005]
The challenge is how the Missing category was created. Any help will be appreciated.
Thanks in advance!
 
Read Message
Read Message
Read Message
Previous Topic: Table 6.5 Fertility planning status
Next Topic: KDHS 2022 - Current use of contraception
Goto Forum:
  


Current Time: Thu Nov 28 06:41:16 Coordinated Universal Time 2024