Skip to main content
1 of 2

Comparing three clusters with only binary variables

I have three clusters of patients ,and for each patient I have 189 binary variables which are diagnosis codes ( 0 indicates the patient doesn't have the diagnosis and 1 otherwise)

I want to perform comparisons between the three group and to examine if there are variables with significant difference scores between groups ( e.g if there is cluster/group with high proportion of specific diagnosis ). Which test should I use? if its chi square what is the expected value for each variable?