The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Reproductive Health » Pregnancy History
Re: Pregnancy History [message #10046 is a reply to message #10045] Mon, 20 June 2016 02:22 Go to previous messageGo to previous message
waqas is currently offline  waqas
Messages: 35
Registered: June 2015
Location: Islamabad, Pakistan
Member

We have multiple separate viariables for each child against the following:-
idx97_ ord97_ s215_ s216_ s217_ s219_ s220m_ s220y_ ///
s221_ s222_ s223_ s224_ s225u_ s225n_ s226m_ s226y_ s227_ s228_.

Do i need to have to merge all children as below:-

For S215:-

Compute S215=$sysmiss.
If S215$1=1 or S215$2=1 or ..... or S215$21=1 S215=1.
If S215$1=0 or S215$2=0 or ..... or S215$21=0 S215=0.
Exe.

The same above strategies is for other variables.

I am asking above because the STAT codes you provided before showing only one child with addition '_' attribute with each variable.

More over only one entery is there in shared codes but Data file has 21 entries for each of variables mentioned above.

Thank You


Waqas Imran
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Manual calculation of fertility
Next Topic: TIMELY & COMPLETION ANTENATAL
Goto Forum:
  


Current Time: Tue May 14 17:23:06 Coordinated Universal Time 2024