When Can a Combined Result Reverse Every Group Comparison? Teach learners to retain the counts behind a percentage, inspect how groups are combined, and explain why two correct summaries can point in opposite directions. An AI-generated ranking becomes more useful when its reader can reconstruct the denominator and ask which population the ranking describes.
This international coursework lab uses an original fictional task register to build an aggregation reversal from first principles. It connects arithmetic with interpretation, common-weight comparisons and independent transfer. The learning activities are proposals; they do not report actual system performance or assume that future superintelligence already exists.
- Keep successful cases and eligible cases together.
- Calculate subgroup rates before combining the register.
- Recover the weights behind an overall percentage.
- Explain how different group mixtures can reverse a ranking.
- Label a common-weight comparison separately from observed totals.
- Distinguish descriptive arithmetic from a claim about causes.
Choose your reading route
Coursework series: Mixture and Concentration Lab · Sampling and Selection Lab · Factor Interaction Lab · Assessment Item Design Studio · Vocabulary Coding and Engineering
Continue this coursework series: Aggregation and Weighting Lab (this article) · Boolean Logic Lab · Geometric Scaling Lab · Error Detection and Checksums Lab
Full chapter index
Chapters 1–5
Chapters 6–10
Chapters 11–15
Chapters 16–20
Chapters 21–25
Chapter 26
1. A summary needs a population attached to it
Imagine two fictional task-processing methods. One has a higher recorded success fraction within each task category. The other has the higher fraction when all its tasks are combined. Before deciding that a calculation must be wrong, inspect how many tasks of each category each method received. The totals may be answering a different question from the category comparisons.
The capability developed here is tracing a summary back to the cases it represents. AI can help organise a register, generate alternative mixtures and present calculations. The learner remains responsible for defining the comparison, checking its arithmetic and explaining its scope. A percentage without that explanation is an incomplete report.
2. Define the unit, outcome and grouping rule
For this exercise, one record represents one fictional task attempt. Every attempt has exactly one method label, A or B, exactly one category, short or long, and exactly one outcome, successful or unsuccessful. These labels are stipulated by the exercise. Short and long describe the assigned task categories; they are not measurements of learner ability.
The success fraction is the number of successful attempts divided by all eligible attempts in the specified group. No attempt is omitted because it failed, and no attempt appears twice. Before computing, write this contract beside the register. A different outcome definition, overlapping categories or a changed denominator would create a different mathematical problem.
3. Vocabulary Coding and Engineering: specify what overall means
Within eduKate’s proposed Vocabulary Coding and Engineering framework, attach a precise meaning to subgroup rate, aggregate rate, weight and comparison population. Here, a weight is a group’s share of eligible attempts within one method. Overall means all eligible attempts for that method in this fictional register. It does not mean all possible tasks or every future use.
Create a small vocabulary ledger that pairs each term with its numerator, denominator and population. Include a counterexample: an equal average of two category percentages is not generally the fraction of successful attempts across those categories. Keeping these meanings stable allows the calculation to travel between a learner, an AI assistant and a reviewer without silently changing the question.
4. Read the fictional task register
Method A records 18 successes among 20 short tasks and 24 successes among 80 long tasks. Method B records 64 successes among 80 short tasks and 4 successes among 20 long tasks. Thus each method has 100 attempts, but their category mixtures differ. A receives mostly long tasks; B receives mostly short tasks.
Write all four cells as success count over attempt count: A-short 18/20, A-long 24/80, B-short 64/80 and B-long 4/20. Retain these fractions even after adding percentages. The full register contains 200 distinct fictional attempts. Its counts are invented to illustrate a mathematical relationship, not collected from students, schools or AI products.
| Method | Category | Successes | Attempts | Fraction |
|---|---|---|---|---|
| A | Short | 18 | 20 | 90% |
| A | Long | 24 | 80 | 30% |
| B | Short | 64 | 80 | 80% |
| B | Long | 4 | 20 | 20% |
5. Compare like categories first
Among short tasks, A has 18/20 = 90% and B has 64/80 = 80%. Among long tasks, A has 24/80 = 30% and B has 4/20 = 20%. A therefore has a higher recorded success fraction within both categories. The difference is ten percentage points in each comparison.
Notice the precise claim: it describes the supplied records within a named category. It does not establish that choosing A caused a better result. The register contains no account of assignment, task characteristics beyond the category label, or repeated observations. Keep the descriptive comparison intact while leaving those unprovided explanations open. Accurate arithmetic and restrained interpretation belong in the same answer.
6. Pool the counts and observe the reversal
For A, add successes and attempts separately: (18 + 24)/(20 + 80) = 42/100 = 42%. For B, the corresponding calculation is (64 + 4)/(80 + 20) = 68/100 = 68%. B’s aggregate fraction is higher by twenty-six percentage points, even though A’s fraction is higher in each category.
This is an example of the association reversal discussed under Simpson’s paradox in Penn State’s lesson on three-way tables. There is no contradiction between the calculations. The within-category comparisons hold category membership fixed, while each aggregate uses that method’s own category mixture. The apparent clash comes from treating these different summaries as if they answered one identical question.
7. Recover the hidden weights
A’s short-task weight is 20/100 = 0.2 and its long-task weight is 0.8. Its aggregate is therefore 0.2 × 0.90 + 0.8 × 0.30 = 0.42. B’s weights are 0.8 and 0.2, giving 0.8 × 0.80 + 0.2 × 0.20 = 0.68. Each pair of weights sums to one.
This expression reveals what pooling does: each category rate contributes in proportion to its number of attempts. A’s aggregate lies closer to its 30% long-task rate; B’s lies closer to its 80% short-task rate. The weights are observable properties of this register. They are not preferences chosen after seeing which method wins.
8. Explain why averaging percentages can answer another question
The simple mean of A’s two category percentages is (90% + 30%)/2 = 60%. That is not A’s observed aggregate of 42%. The simple mean assigns equal importance to the two categories, whereas the observed aggregate gives four times as much weight to long tasks because there are four times as many of them.
An equal-category summary can still be useful if equal category weights are deliberately part of the question. Label it accordingly. The error is presenting 60% as the observed fraction of successful A attempts in the original register. Ask the learner to express both summaries in words before choosing a formula; this often makes the denominator decision visible.
9. Construct a comparison with common weights
Suppose the comparison question deliberately gives short and long categories equal weight for both methods. Using the observed category fractions as inputs, A’s constructed summary is 0.5 × 0.90 + 0.5 × 0.30 = 60%. B’s is 0.5 × 0.80 + 0.5 × 0.20 = 50%. The common-weight difference is ten percentage points.
These are standardised descriptive summaries under a stated weighting choice. They are not additional observations, guaranteed results for a new batch, or an experiment establishing causal superiority. Write the common weights alongside the result and explain why that mix was selected. Another target population might justify another shared mixture; its purpose should be specified before interpreting the comparison.
10. Catch a ranking that loses its denominator
A generated report says, ‘B is better at both kinds of task because its overall success rate is 68%, compared with A’s 42%.’ The two percentages are correct, but the statement about both kinds is contradicted by the four original fractions. Repair the sentence by naming the actual comparison: B has the higher aggregate fraction in this register, whose category mixtures differ.
A second report says, ‘A is always better because it wins in every category.’ That also goes beyond the record. A has higher recorded fractions within these two categories; the register does not settle every task, population or causal question. A strong correction retains the valid evidence and removes only the unsupported extension.
11. Vary the common weight without losing the comparison
Let w be a shared short-task weight between zero and one. A’s summary is 0.90w + 0.30(1 − w) = 0.30 + 0.60w. B’s is 0.80w + 0.20(1 − w) = 0.20 + 0.60w. Subtracting gives 0.10 for every permitted w. Under any common mixture, A remains ten percentage points higher in this example.
For instance, a quarter short and three-quarters long gives A 45% and B 35%. All-short gives 90% and 80%; all-long gives 30% and 20%. These boundary cases check the expressions. The fixed ten-point gap follows from this particular register’s equal category gaps; it is not a universal size for aggregation reversals.
12. Find the mixture difference needed for this reversal
Now allow different weights: wA for A’s short-task share and wB for B’s. Keeping the four category rates fixed, A minus B is 0.10 + 0.60(wA − wB). B is higher precisely when wB − wA exceeds 1/6. Equality gives a tie. The original weights differ by 0.8 − 0.2 = 0.6, so they satisfy the reversal condition.
This is a sensitivity exercise on a defined arithmetic model. It shows which combinations of rates and weights produce the ordering. It does not explain why the original tasks were distributed that way. A learner should distinguish an algebraic condition for reversal from evidence about the process that generated the observations.
13. Use bounds as a quick arithmetic check
With nonnegative weights summing to one, A’s aggregate must lie between 30% and 90%, and B’s between 20% and 80%. The recorded aggregates, 42% and 68%, pass this check. A claimed A aggregate of 95% could not be obtained by correctly pooling only these two categories with their stated rates.
Passing the bound does not prove the computation correct: 55%, for example, lies inside A’s range but is not its original aggregate. Bounds are a useful first check, followed by reconstruction from counts. If a reported result falls outside the permitted range, inspect missing groups, negative or unnormalised weights, changed definitions and arithmetic before drawing a substantive conclusion.
14. Keep percentages and percentage points distinct
Within short tasks, the change from B’s 80% to A’s 90% is ten percentage points. Relative to 80%, the proportional increase is 10/80 = 12.5%. Within long tasks, the change from 20% to 30% is also ten percentage points but a 10/20 = 50% relative increase. Equal point differences need not be equal relative changes.
For this lab, report point differences when comparing the rates, and retain the underlying fractions. If using a relative comparison, state its baseline explicitly. Ask an AI assistant to flag every use of ‘percent higher’ and rewrite it unambiguously. A polished sentence should preserve the mathematical object being compared, not merely sound decisive.
15. Handle a missing category without inventing a rate
Imagine a new register in which method C has no long-task attempts. Its long-task rate would require dividing by zero eligible attempts, so it is undefined. Entering zero percent would falsely say that long tasks were attempted and none succeeded. The original A/B example has positive denominators in all four cells and avoids this problem.
A common-weight summary that assigns positive weight to C’s missing category cannot be calculated from its observed category rates alone. Report the gap or introduce a clearly justified additional model; do not silently fill the cell. Missing observations and unsuccessful observations carry different meanings, even when a spreadsheet or generated report makes both look like empty performance.
16. Choose a summary that fits the stated question
Ask three separate questions. What fraction succeeded among the attempts each method actually received? Use the observed aggregates. What happened within each named category? Use the category rates. How do the recorded category rates compare under a specified shared mix? Use the common-weight summaries. Each calculation should be accompanied by the question it answers.
None of these descriptive summaries alone tells us what would happen if the same new tasks were reassigned from one method to another. Investigating that question needs information about assignment and other relevant differences, alongside an appropriate study design. More categories are not automatically a solution: their relevance depends on the purpose and the process being examined.
17. Build an inspectable report rather than a bare leaderboard
Prepare a one-page register with the four success counts, four attempt counts, category percentages, method totals and category weights. Add the equal-weight summaries in a separately labelled section. Include a short caption explaining why the observed and equal-weight rankings differ. A reader should be able to reproduce every percentage without access to the original spreadsheet formula.
A chart can supplement this report, but the counts remain available in text or a table. Do not use colour as the only way to identify methods or categories. If a learner gives an oral explanation, let them point to or describe the relevant cells. The intended evidence is understanding the combination rule, not speed at formatting a dashboard.
18. Prompt AI for a transparent aggregation audit
A suitable prompt is: ‘Use only these four fictional count pairs. State each denominator, calculate category rates and observed aggregates, and derive the weights. Then calculate both methods under a shared 50–50 category mix. Explain why the rankings differ, show the arithmetic and distinguish observations from constructed summaries. Do not infer causes or invent additional records.’
Check the response against the original counts and recompute at least one cell, one aggregate and one standardised summary independently. Ask for a counterexample to any claim that a within-category advantage must survive different mixtures. Preserve the prompt, output and corrections as a short audit trail showing what the learner accepted, rejected and repaired.
19. Assess the reasoning behind the combined result
Use four proposed classroom dimensions: preserving units and denominators; calculating rates and weights; explaining the reversal and the chosen comparison; and transferring the method while stating limits. Score each from zero to three. Zero means no relevant evidence, one a partly correct attempt, two correct work with an incomplete explanation, and three correct work with a clear, independently checkable justification.
Require an artifact for each dimension: an annotated register, a reproducible calculation, a corrected ranking statement and a new solved example. A single total should not conceal which capability needs attention. This is an original teaching rubric, not a validated scale, a measure of intelligence or evidence of proficiency across all statistical questions.
20. Independent transfer: a second fictional register
Method R records 24 successes in 30 compact tasks and 28 in 70 extended tasks. Method S records 49 in 70 compact tasks and 9 in 30 extended tasks. Work independently before checking: the category rates are R 80% and 40%, S 70% and 30%. R is ten percentage points higher within both categories.
The observed aggregates are R 52/100 = 52% and S 58/100 = 58%, so S is higher overall. With common equal weights, R becomes 60% and S 50%. Explain the reversal using compact-task shares of 0.3 and 0.7. Under a shared 25% compact-task weight, the corresponding summaries are 50% and 40%. These results describe this new invented register, not the earlier one.
21. Primary school: keep the whole beside the part
Use small collections of counters, with marked counters representing success. Begin with one collection and ask children to identify the marked part and the whole. Combine collections physically, then recount both quantities. Where fractions are not yet secure, focus on accurate grouping and explaining which objects belong in the total rather than introducing an algebraic reversal immediately.
An adult can prepare simple variations with AI and verify them before use; children need not access a service. Offer tactile objects, drawings or spoken descriptions as appropriate. The early foundation is recognising that ‘more marked objects’ and ‘a greater share marked’ answer different questions. Keep numbers and notation matched to the child’s current mathematical knowledge.
22. Secondary school: construct and defend a reversal
Students can reproduce the four-cell example in a spreadsheet, preserving counts and formulas in separate columns. Then ask them to change the group sizes while retaining the category rates, using counts that make the chosen fractions exact. They should find one reversal, one tie and one case in which the aggregate agrees with both category comparisons.
A peer reviewer checks the arithmetic and asks which population every result describes. Include a task that repairs an ambiguous AI-generated ranking. This extends ordinary work on ratios, percentages, functions and data handling into a defensible explanation. The challenge lies in coordinating representations, rather than memorising the name of a paradox and applying it whenever two numbers disagree.
23. University, institutions and EnDist
Advanced learners can study contingency tables, standardisation, sampling uncertainty and causal inference through suitable disciplinary sources. The toy register isolates arithmetic so that its combination rule is visible. It supplies no uncertainty estimates and cannot establish whether observed differences in a real system would persist, generalise or result from the method being compared.
Within eduKate’s proposed EnDist framework, AI may distribute the ability to generate summaries and examine many alternative groupings. Education should distribute the ability to inspect those summaries as well. Institutions can require comparison reports to retain denominators, category definitions and weighting choices, so that greater analytical capacity supports understandable decisions and a clear record of the evidence used.
24. A four-week Aggregation and Weighting Lab
Week one: define the record contract, reconstruct all four cells and calculate the category comparisons. Deliver an annotated count register. Week two: derive the observed weights, explain the reversal and compare the original aggregates with a shared 50–50 mix. Deliver a brief report that labels each question and its corresponding result.
Week three: vary the shared weights, derive the reversal condition for different weights and repair an AI-generated interpretation. Week four: solve the independent transfer register, review a peer’s explanation and revise the report. Assess the four rubric dimensions using the learner’s calculations and explanation, with suitable access supports and enough time to check the work.
25. Questions learners, families and educators may ask
Can both the subgroup and aggregate percentages be correct? Yes; the calculations describe different group mixtures. Is an equal average of category percentages always wrong? No, provided equal category weighting is the intended question and the result is labelled accurately. Does a reversal mean the data are fraudulent? No; this example follows directly from the supplied counts.
Should every comparison use common weights? The appropriate summary depends on the question and target population. Does a category advantage establish causation? No. Can AI help? It can draft tables, vary fictional counts and check algebra, while the learner verifies definitions, arithmetic and interpretation. An unexplained ranking should be treated as the beginning of an inquiry, not its completion.
26. Sources, boundaries and next steps
The standard statistical background is described in Penn State STAT 504: Three-Way Tables and Types of Independence. The two task registers, numerical choices, exercises, teaching sequence and rubric here are original fictional instructional materials. Their computations can be checked from the definitions given; they are not empirical comparisons or evidence of educational outcomes.
Continue with the Mixture and Concentration Lab, Sampling and Selection Lab, Factor Interaction Lab and Assessment Item Design Studio. The lasting capability is to ask what a combined number represents, reconstruct its weights and explain the claim it supports. As AI makes summaries easier to produce, learners can become more capable authors and reviewers of the reasoning those summaries carry.
Related coursework: Mixture and Concentration Lab · Sampling and Selection Lab · Factor Interaction Lab · Assessment Item Design Studio.
