Is there an and/or command in Stata? I would like to generate a variable (recoverev) that would equal 1 if one or both variables (gaf11 and/or gaf12) is greater than or equal to 61. This is the code I have so far
gen recoverev=1 if gaf11>=61 | gaf12>=61
replace recoverev=0 if recoverev!=1
Where I currently have an or symbol in between gaf11>=61 and gaf12>=61, I need a symbol for and/or
0 Response to And/or symbol
Post a Comment