Re: Creating a variable for disease [message #15073 is a reply to message #15034] |
Wed, 30 May 2018 07:54 |
Bridgette-DHS
Messages: 3218 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS Stata Specialist, Tom Pullum:
Yes, you definitely can construct such a variable. It would be 1 if any of the three relevant variables is "yes" and 0 otherwise, except that it would be NA (dot) if all of the three variables are NA. But it would seem much more appropriate to me to think of illness as a consequence, rather than as a determinant, of malnutrition.
|
|
|