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 is currently offline
Messages: 8
Registered: July 2018
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: Wed Aug 17 10:14:40 Coordinated Universal Time 2022