So I have some data about a game and would like to find out if the expected values of the two groups that play this game are different.
I have 3 columns with 100 + rows of the data of the past game with: how many guys from group a who played, how many guys from group b who played and who won (a or b). The numbers of how many guys who played a single game vary from row to row.
I was thinking about calculating:
list_a = (#a / (#a + #b)) * (1 if a won, 0 if b won)
list_b = (#b / (#a + #b)) * (0 if a won, 1 if b won)
And then doing a t.test(list_a,list_b,"equal") to see if there is a difference between both mu. I have to test if the chances of winning are fair, so a person of team a is equal to win against a person of team b. Is this a correct way of checking this or what formula should i use ?