I've gathered some binary data and my observations look like this:

trt1 trt2 trt3 trt4

p1 1 1 0 1

p2 1 1 1 1

p3 1 1 1 1

p4 1 1 1 1

p5 1 1 1 1

p6 1 1 1 1

p7 1 1 0 1

p8 1 1 0 0

p9 1 1 1 1

when I tried to calculate the Phi coefficient between these 4 columns using SPSS, I ran into a problem since the software would't calculate this coefficient for the first column, saying: "No statistics are computed because trt1 is a constant."

Can anyone help by suggesting another way to calculate some sort of correlation coefficient or by solving this?

Similar questions and discussions