There are 4 options (same-gender, opposite, mixed, alone) and each time the child played with those they got a 1- the children’s gender was also recorded. So for the same-gender column there are x incidences of children (of either gender) playing with same-gender peers, etc..

So I did an independent samples t-test comparing the same-gender choice to the opposite-gender choice because I want to know if they chose to play with same-gender significantly more than opposite. But I don’t know what the independent variable is. Is it gender? I feel like it isn’t though because I am not comparing if girls played with same-gender more than boys. So I’m thinking maybe I used the wrong test… or worse still maybe I can’t do this at all. I’m so confused. Can you help me? Please?? Thanks