The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » generating a new variable
generating a new variable [message #15440] Thu, 19 July 2018 14:21 Go to previous message
lynn.alghazzi@gmail.com is currently offline  lynn.alghazzi@gmail.com
Messages: 8
Registered: July 2018
Member
if i am generating a new variable using egen that is the acceptance of violence by mixing the five conditions under which violence is accepted so: egen acceptance_of_violence anymatch(v744a v744b v744c v744d v744e), values(1), is this command enough or do i have to remove the missing values also? if i do, how do i deal with the missing values? and for the seeking help variable is 1 coded for seeking help and 0 not for seeking help?
 
Read Message
Read Message
Previous Topic: Combining twins into single delivery events
Next Topic: ever married sample
Goto Forum:
  


Current Time: Tue Oct 19 11:35:01 Coordinated Universal Time 2021