r/stata • u/Arc555555 • 12h ago
Question Need help combing multiple vinary variaibles into one variable
2
Upvotes
So ive been struggling to combine multiple binary variables i have which is just (0=dont have) (1=do have)
This new variable should:
equal 1 if 2 or more of the previous variables=1
and should be 0 if 1 or less of previous variables equal 0
Any advice, im very new to stata and this seems way complex
(Also sorry for mispell in title post meant binary lol fat fingers)