Home » Topics » Reproductive Health » Kenya 2022 calendar data
Re: Kenya 2022 calendar data [message #27933 is a reply to message #27883] |
Mon, 23 October 2023 15:27 |
Janet-DHS
Messages: 893 Registered: April 2022
|
Senior Member |
|
|
Following is a response from DHS staff member, Tom Pullum and Senior DHS staff members, Trevor Croft:
The file https://www.dhsprogram.com/data/Calendar-Tutorial/upload/Sta ta/Calendar%20recoding.do includes country specific recoding for the calendar variables. However, looking at that file we don't see any Kenya specific recoding. You need to look at the standard codes in the recode manual (not the questionnaire as they are recoded from the questionnaire). You don't need to go back through each prior round, just get the list from the latest recode manual.
Here is the recoding that is done:
{ Columns and their codes !!
{ 1---------------------->2-----------------> }
acalstrs = "BPT0634~712LMY5~K8~9XJ? 1236~74N08FADX5~~Z?"; { questionnaire }
vcalstrs = "BPT0123~56789WN~LC~EMS? 123456789CFADWM??K?"; { recode file }
If the code from the questionnaire is found in acalstrs, then the equivalent code from vcalstrs is assigned in the recode. The tilde's are place holders for odes that are no longer used.
Equivalently, here is the recoding that is done for the calendar, written in a different form:
recode q -> r; { Questionnaire to recode file }
"6" -> "1"; { 1 Pill }
"3" -> "2"; { 2 IUD }
"4" -> "3"; { 3 Injection }
// "0" -> "~" { 4 Diaphragm, not used unless included in country }
"7" -> "5"; { 5 Condom }
"1" -> "6"; { 6 Female, male sterilization }
"2" -> "7"; { 7 Female, male sterilization }
"L" -> "8"; { 8 Rhythm/Periodic abstinence }
"M" -> "9"; { 9 Withdrawal }
"Y" -> "W"; { 10 Other }
"5" -> "N"; { 11 Norplant/implants }
// "0" -> "~"; { 12 Long term Abstinence - not used unless included in country }
"K" -> "L"; { 13 Lactational amenorrhea (LAM) }
"8" -> "C"; { 14 Female condom }
// "0" -> "~"; { 15 Foam or jelly, not used unless included in country }
"9" -> "E"; { 16 Emergency contraception }
"X" -> "M"; { 17 Other modern method }
"J" -> "S"; { 18 Standard Days (SDM) }
// "0" -> "~"; { 19 CS methods }
// "0" -> "~"; { 20 CS methods }
endrecode;
Your comments about code 11 either do not refer to the calendar (perhaps they refer to V312?) or suggest that you are misinterpreting the calendar. Each position in the calendar is a single character. It is impossible to have code 11 in a single character.
|
|
|
Goto Forum:
Current Time: Thu Nov 28 13:01:44 Coordinated Universal Time 2024
|