I have a dummy variable for health (0 or 1), and for each observation a treatment (one of three possible treatments for each observation). I want to test the null hypothesis that the proportion (mean) healthy within each treatment group is not significantly different than any other treatment group's proportion. \begin{align} H_0\!: P_j = P_{j'}\quad &\text{for some } j \ne j' \\ H_A\!\!: P_j\ne P_{j'}\quad &\text{for all } j \ne j' \end{align} That is, my alternative hypothesis is that every proportion (mean) is different than every other proportion. My data looks something like this:
treatment, health
1, 1
1, 0
2, 0
2, 0
3, 1
3, 1
...