Multiple Two Sample T Tests To Compare Rugby Teams?

apple405

New Member
Joined
Aug 13, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi there Newbie here!

I have a theoretical example I am looking for help on, regarding matches between rugby teams. I believe this may possibly be able to be solved with "multiple two sample T tests?"
I have 10 rugby teams who have played each other (mostly) and I have the score difference between them in each match. And I would like the score difference to be used to determine who is the best team. eg Team A beats Team B 100-0, Team B beats Team C 12-8, but Team C beats Team A 10-0, in this case Team A would be ranked first due to their massive score difference. However, in this scenario not every team has played each other so I will be trying to work of relative frequencies if you get me? [For the image below, the team on the y axis is the first team, meaning if there score is 8, it means they won by 8 points).
Example 1.png
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
With data being like this:

Team ATeam BTeam CTeam DTeam ETeam FTeam GTeam HTeam ITeam J
Team A-2-6421-1825
Team B2-57-7-38-5-7
Team C645-21923
Team D-7218-2531-12
Team E-2174144
Team F1838-19-18-411-40-17
Team G25-14-11-11
Team H-255-23-31-44011-27
Team I7121727-12
Team J12


Are you looking for something like this:

Book1
ABC
13RankTeamGoal Difference
141Team C109
152Team I51
163Team J12
174Team E8
185Team D7
196Team G-11
207Team F-31
218Team A-38
229Team B-53
2310Team H-54
Sheet6
Cell Formulas
RangeFormula
B14:B23B14=INDEX($A$2:$A$11,MATCH(C14,MMULT($B$2:$K$11+0,TRANSPOSE(($B$2:$K$2+1)^0)),0))
C14:C23C14=LARGE(MMULT($B$2:$K$11+0,TRANSPOSE(($B$2:$K$2+1)^0)),A14)
 
Upvote 0
With data being like this:

Team ATeam BTeam CTeam DTeam ETeam FTeam GTeam HTeam ITeam J
Team A-2-6421-1825
Team B2-57-7-38-5-7
Team C645-21923
Team D-7218-2531-12
Team E-2174144
Team F1838-19-18-411-40-17
Team G25-14-11-11
Team H-255-23-31-44011-27
Team I7121727-12
Team J12


Are you looking for something like this:

Book1
ABC
13RankTeamGoal Difference
141Team C109
152Team I51
163Team J12
174Team E8
185Team D7
196Team G-11
207Team F-31
218Team A-38
229Team B-53
2310Team H-54
Sheet6
Cell Formulas
RangeFormula
B14:B23B14=INDEX($A$2:$A$11,MATCH(C14,MMULT($B$2:$K$11+0,TRANSPOSE(($B$2:$K$2+1)^0)),0))
C14:C23C14=LARGE(MMULT($B$2:$K$11+0,TRANSPOSE(($B$2:$K$2+1)^0)),A14)
Thanks very much for your reply! My question is a bit more complicated than that. As in I would like the points difference between the teams to show how much better one team is than another and then average it out. I have simplified the data below.

In this example, the results are as follows:
Team A 0-0 Team B (no points difference)
Team A 50-0 Team C (+50 points difference)
Team B 60-0 Team C (+60 points difference)
Team C 0-12 Team D (-12 points differnence)
So we can deduce; Team A is equal to Team B, Team A is 50 points better than Team C, Team B is 60 points better than Team C (which now means Team B is 10 points better than Team A if you get me, but as I said before they are also equal, so I am going to average the difference )[10+0]/2 and say that Team B is 5 points better than Team A. It's really about comparing the 4 teams with relative values/proportions? If you have a better suggestion about how I could compare the data to see how the teams rank I would be very grateful!
 

Attachments

  • Example 2.png
    Example 2.png
    3.4 KB · Views: 4
Upvote 0
I have drawn a sheet where we can find that which Team is better than Which team. Please go through this and let me know whether i am correct with my concept

Book1
ABCDEFGHIJKLMNOPQRSTUVWX
2Team ATeam BTeam CTeam DTeam ETeam FTeam GTeam HTeam ITeam JTeam ATeam BTeam CTeam DTeam ETeam FTeam GTeam HTeam ITeam J
3Team A-2-6421-1825Team A000021002500
4Team B2-57-7-38-5-7Team B2007000000
5Team C645-21923Team C6450001902300
6Team D-7218-2531-12Team D002001803100
7Team E-2174144Team E07000414400
8Team F1838-19-18-411-40-17Team F1838000011000
9Team G25-14-11-11Team G00025000000
10Team H-255-23-31-44011-27Team H050004011000
11Team I7121727-12Team I0701201702700
12Team J12Team J00000000120
13
14Team 1Team 2
151Team ATeam B0
162Team ATeam C0
173Team ATeam D0
184Team ATeam E21
195Team ATeam F0
206Team ATeam G0
217Team ATeam H25
228Team ATeam I0
239Team ATeam J0
241Team BTeam A2
252Team BTeam C0
263Team BTeam D7
274Team BTeam E0
285Team BTeam F0
296Team BTeam G0
30Team BTeam H0
31Team BTeam I0
32Team BTeam J0
33Team CTeam A64
34Team CTeam B5
35Team CTeam D0
36Team CTeam E0
37Team CTeam F19
38Team CTeam G0
39Team CTeam H23
40Team CTeam I0
41Team CTeam J0
42Team DTeam A0
43Team DTeam B0
44Team DTeam C2
45Team DTeam E0
46Team DTeam F18
47Team DTeam G0
48Team DTeam H31
49Team DTeam I0
50Team DTeam J0
51Team ETeam A0
52Team ETeam B7
53Team ETeam C0
54Team ETeam D0
55Team ETeam F4
56Team ETeam G14
57Team ETeam H4
58Team ETeam I0
59Team ETeam J0
60Team FTeam A18
61Team FTeam B38
62Team FTeam C0
63Team FTeam D0
64Team FTeam E0
65Team FTeam G11
66Team FTeam H0
67Team FTeam I0
68Team FTeam J0
69Team GTeam A0
70Team GTeam B0
71Team GTeam C0
72Team GTeam D25
73Team GTeam E0
74Team GTeam F0
75Team GTeam H0
76Team GTeam I0
77Team GTeam J0
78Team HTeam A0
79Team HTeam B5
80Team HTeam C0
81Team HTeam D0
82Team HTeam E0
83Team HTeam F40
84Team HTeam G11
85Team HTeam I0
86Team HTeam J0
87Team ITeam A0
88Team ITeam B7
89Team ITeam C0
90Team ITeam D12
91Team ITeam E0
92Team ITeam F17
93Team ITeam G0
94Team ITeam H27
95Team ITeam J0
96Team JTeam A0
97Team JTeam B0
98Team JTeam C0
99Team JTeam D0
100Team JTeam E0
101Team JTeam F0
102Team JTeam G0
103Team JTeam H0
104Team JTeam I12
105#REF!#REF!#REF!
106#REF!#REF!#REF!
107#REF!#REF!#REF!
108#REF!#REF!#REF!
109#REF!#REF!#REF!
110#REF!#REF!#REF!
111#REF!#REF!#REF!
112#REF!#REF!#REF!
113#REF!#REF!#REF!
114#REF!
115
116
117
118
Sheet3
Cell Formulas
RangeFormula
M3:V12M3=IF(B3:K12<0,0,B3:K12)
K15:K114K15=INDEX($L$3:$L$12,INT((ROW(A1:A100)-ROW(A1))/9)+1)
L15:L113L15=INDEX($M$2:$V$2,SMALL(IF($M$2:$V$2<>K15,COLUMN($A:$J)),MOD(ROWS($A$1:A1)-1,9)+1))
M15:M113M15=INDEX($M$3:$V$12,MATCH(K15,$L$3:$L$12,0),MATCH(L15,$M$2:$V$2,0))
G15:G29G15=MOD(ROWS($A$1:A1)-1,9)+1
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
Dynamic array formulas.
 
Upvote 0
A logical approach for ranking would be to have a number of wins as the first criteria and then in case of an equal number of wins, goal difference should be considered as a factor after the number of wins.

For Example, in the below table you can see that Team C, E & I are having equal no. of wins. In that case, the Goal difference should be the deciding factor.

Team ATeam BTeam CTeam DTeam ETeam FTeam GTeam HTeam ITeam JNo. of WinsGoal DifferenceRemaks
Team A-2-6421-18252-38
Team B2-57-7-38-5-72-53
Team C645-219234109Rank 1
Team D-7218-2531-1237
Team E-217414448Rank 3
Team F1838-19-18-411-40-173-31
Team G25-14-11-111-11
Team H-255-23-31-44011-273-54
Team I7121727-12451Rank 2
Team J12112


Note: The columns "No. of Wins", "Goal Difference" and "Remarks" are just to make you understand the concept and are not required for the function to work. You can delete them if you want

Book1
AB
15RankTeam
161Team C
172Team I
183Team E
194Team D
205Team F
216Team H
227Team A
238Team B
249Team J
2510Team G
Sheet1
Cell Formulas
RangeFormula
B16:B25B16=INDEX($A$2:$A$11,MATCH(LARGE(MMULT(--($B$2:$K$11>0),TRANSPOSE(COLUMN($B$2:$K$2)^0))+(MMULT($B$2:$K$11+0,TRANSPOSE(COLUMN($B$2:$K$2)^0))/SUM(ABS($B$2:$K$11))),A16),MMULT(--($B$2:$K$11>0),TRANSPOSE(COLUMN($B$2:$K$2)^0))+(MMULT($B$2:$K$11+0,TRANSPOSE(COLUMN($B$2:$K$2)^0))/SUM(ABS($B$2:$K$11))),0))
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,543
Members
449,316
Latest member
sravya

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top