11-21-2016 12:12 PM
I have a dataset of patients who reported alcohol consumption during the last 3 months,see below
What would be the most efficient way of coding the patients into three categories
1- No alcohol drink during the last 3 months
2-moderate alcohol consumption ( those who reported drinking 25 glasses per month)
3-Excessive alcohol consumption ( those who reported drinking more than 25 glasses per month
input ID month1 month2 month3;
11-21-2016 01:13 PM
This is great!! Thank you very much.
One more question, if the month variable was such as alco_month_1, alco_month_2, and alco_month_last, how can this be tranformed mm = max(of month:) ?
Need further help from the community? Please ask a new question.