The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Ethiopia » Dropping mothers' records without dropping the child's
Dropping mothers' records without dropping the child's [message #9073] Sat, 06 February 2016 03:32 Go to previous message
Alinoor is currently offline  Alinoor
Messages: 6
Registered: January 2016
Location: Jigjiga
Member
hey there,
i'am using 2011 Ethiopia data set particularly child record. as we know it's one record per child and much of the mother's information is attached to the child's record. if i want to drop an observation based on one of the maternal characteristics without dropping child's, how can i do it?
for instance i tried to keep the height measurements of those mothers with only one child but ended up dropping child records too:

replace v438=1 if (hwidx~=1)
tab v438
drop if v438==1
tab v438

thank u


Alinoor
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Women's status module
Next Topic: How to identify ANC and Instuitional Delivery variables from the 2011 Ethiopian DHS?
Goto Forum:
  


Current Time: Fri Apr 19 12:46:45 Coordinated Universal Time 2024