KDHS 2014 - Table 7.13 Future use of contraception [message #28633] |
Sat, 10 February 2024 10:04 |
sokiya
Messages: 80 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!
|
|
|
|
|