The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Reproductive Health » delivery assistance syntax spss, nepal 2016.
delivery assistance syntax spss, nepal 2016. [message #18490] Fri, 06 December 2019 23:54
RAM DHAKAL is currently offline  RAM DHAKAL
Messages: 4
Registered: November 2019
may be useful.
Creating delivery assistance variable of dhs nepal 2016 .
1. for health professional.

if (M3A=1 or M3B=1 or m3c=1 or m3d=1 or m3e=1 or m3f=1) deliAss1=1.
recode deliAss1 (1=1) (sysmis=2) into deliAss_1.
fre deliAss_1.

for TBAS.

if ( M3G=1) deliAss21=1.
if (deliAss_1 = 2) deliAss2= deliAss21.
fre deliAss2.
recode deliAss2 (1=1) (sysmis=2) into deliAss_2.
fre deliAss_2.

for other health professional.

if (deliAss_1=1 or deliAss_2=1) deliAss12=1.
fre deliAss12.
recode deliAss12 (1=1) (sysmis=2) into deliAss_12.
fre deliAss_12.

if (m3h=1 or M3I=1) deliAss31=1.
fre deliAss31.

if (deliAss_12=2) deliAss3= deliAss31.
fre deliAss3.
recode deliAss3 (1=1) (sysmis=2) into deliAss_3.
fre deliAss_3.

for no assistance.

if (m3n=1) deliAss4=1.
fre deliAss4.
recode deliAss4 (1=1) (sysmis=2) into deliAss_4.
fre deliAss_4.

combining all into one.
if (deliAss_1=1) deliAss=1.
if (deliAss_2=1) deliAss=2.
if (deliAss_3=1) deliAss=3.
if (deliAss_4=1) deliAss=4.
val lab deliAss 1 'Health Professionals' 2 'TBAs' 3 'Others' 4 'No'.
var lab deliAss 'Delivery Assistance'.
fre deliAss.
Previous Topic: Calculating Confidence Interval
Next Topic: Women's Questionaire
Goto Forum:

Current Time: Thu May 6 11:33:08 Coordinated Universal Time 2021