Hello,
I have a large dataset which is already programmed into STATA of which I want to combine 8 variables for a descriptive table analysis.
They are all dichotomous 'yes/no' variables, and are involved in history of medical conditions. There were 8 questions for participants for which they answered yes/no for the 8 conditions and therefore I have 8 variables. I want to present the data in a descriptive table as 'Participants with history of any of the following [8 conditions]' and state n (%).
for example:
heart disease Rheumatoid Arthritis High blood pressure
1 yes no no
2 no no yes
3 no no no
4 yes no yes
which would show 'Participants with any history of heart disease, RA or high BP' which would be 3 (75%).

I am new to STATA so apologise if this is a very basic question!

Thanks