New STATA user here. I have a large dataset and I can't figure out how to use count if function if I want to use both the and and "or" operator. For example, I want to find how many cells in the race category have 6 (multi racial) AND which of those has a "Yes" (ie 1) value in the Native columns or the Hawaiian columns. I am able to get the first part
count if RaceEthn ==6 & hawaiipi ==1
How do I add the "OR" part of the command, ie amiakn ==1
Thank you.
count if RaceEthn ==6 & hawaiipi ==1
How do I add the "OR" part of the command, ie amiakn ==1
Thank you.

Comment