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 next message
sokiya is currently offline  sokiya
Messages: 76
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!
Re: KDHS 2014 - Table 7.13 Future use of contraception [message #28645 is a reply to message #28633] Tue, 13 February 2024 15:04 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3043
Registered: February 2013
Senior Member

Following is a response from Senior DHS staff member, Tom Pullum:

Table 7.13 in the Kenya 2014 final report is like table 6.5, in that it has a spurious "missing" category that you will not find in other final reports. Somehow, during data processing, someone apparently re-classified about 30 cases that were Not Applicable (NA) on v362 as "missing". Frankly, I think it would be a waste of your time to try to find out how or why they made this mistake. I have looked into all the variables that went into the construction of this table. None of them have any "missing" codes or cases. What you did seems to me to be correct.

Re: KDHS 2014 - Table 7.13 Future use of contraception [message #28651 is a reply to message #28645] Wed, 14 February 2024 02:57 Go to previous message
sokiya is currently offline  sokiya
Messages: 76
Registered: May 2017
Location: Nairobi
Senior Member
Thanks so much for the guidance. I sincerely appreciate.
Previous Topic: Table 6.5 Fertility planning status
Next Topic: KDHS 2022 - Current use of contraception
Goto Forum:
  


Current Time: Sat Apr 27 07:46:28 Coordinated Universal Time 2024