When Does Knowing One Event Stop Telling Us About Another? Teach learners to distinguish independence in a complete population from independence within a specified group. Two events can be associated overall while being independent inside every category of a third variable. The capability is to specify which information is given, calculate the appropriate joint and conditional probabilities, and test an AI-generated independence claim.
This international coursework lab uses an exact, fictional two-bag card model and a separate coin example. It connects probability, language precision and evidence evaluation. All examples and assessments are instructional proposals rather than empirical findings; future superintelligence remains hypothetical.
- Name the experiment, outcomes and conditioning information.
- Calculate marginal, joint and conditional probabilities separately.
- Check independence using the product rule inside each group.
- Explain how mixing groups can create marginal dependence.
- Investigate selection that creates dependence among independent inputs.
- Transfer the method to a new complete probability model.
Choose your reading route
Coursework series: Aggregation and Weighting Lab · Base Rate Lab · Sampling and Selection Lab · Factor Interaction Lab · Vocabulary Coding and Engineering
Continue this coursework series: Stock and Flow Balance Lab · Conditional Independence Lab (this article) · Symmetry and Invariance Lab · Referential Cohesion Studio
Full chapter index
Chapters 1–5
Chapters 6–10
Chapters 11–15
Chapters 16–20
Chapters 21–25
Chapter 26
1. Independence depends on what is known
Imagine two marks appearing together on a resource card. Seeing one mark seems to provide information about the other. Yet after identifying which bag the card came from, the association may disappear. The question is not simply whether the marks are independent, but which probability distribution is being examined.
This is useful for AI-assisted analysis because a statement such as two signals are independent may omit its conditions. Learners practise attaching the population, conditioning variable and probability rule to every conclusion, then checking whether the conclusion follows from the supplied model.
2. State the experiment and its exact probabilities
Choose one of two bags, L or H, with equal probability. Each contains 100 distinct cards, all equally likely to be drawn once its bag is selected. Cards carry either, both or neither of two binary marks, A and B. The stipulated card counts are the complete model.
Every one of the 200 cards therefore has probability 1/200 in the overall experiment. When a bag is specified, every card in that bag has probability 1/100. These are probabilities under a deliberately defined sampling mechanism, not estimates calculated from a small observational sample.
3. Vocabulary Coding and Engineering: attach the condition
In eduKate’s proposed Vocabulary Coding and Engineering framework, define marginal probability as the probability without conditioning on another variable, joint probability as the probability that both specified events occur, and conditional probability as a probability restricted to a stated event of positive probability.
Use P(A given L) to mean the chance of mark A among draws from bag L. Do not confuse this with P(L given A), which refers to bag membership among cards with A. Independence, mutual exclusion, absence of association in a sample and causal separation are different claims; keep their meanings distinct.
4. Read the complete card register
Bag L contains six cards marked both A and B, fourteen marked only A, twenty-four marked only B and fifty-six marked neither. Bag H contains fifty-six marked both, twenty-four marked only A, fourteen marked only B and six marked neither.
The four categories are mutually exclusive and exhaustive within each bag. They sum to 100 in each, giving 200 cards in the combined experiment. A card with both marks belongs to the both category only; the event A includes both and A-only cards.
| Bag | Both | A only | B only | Neither | Total |
|---|---|---|---|---|---|
| L | 6 | 14 | 24 | 56 | 100 |
| H | 56 | 24 | 14 | 6 | 100 |
| Combined | 62 | 38 | 38 | 62 | 200 |
5. Calculate probabilities inside bag L
In L, the event A occurs on 6 + 14 = 20 cards, so P(A given L) = 0.20. B occurs on 6 + 24 = 30 cards, so P(B given L) = 0.30. Both marks occur on six cards, giving joint probability 0.06.
Multiplying the two marginal probabilities within L gives 0.20 × 0.30 = 0.06. This equals the conditional joint probability. Because A and B are binary events, equality for the both cell also implies the other three product relationships in the conditional two-by-two table.
6. Verify all four cells instead of assuming independence
For L, the product predictions for both, A only, B only and neither are 0.20 × 0.30 = 0.06, 0.20 × 0.70 = 0.14, 0.80 × 0.30 = 0.24 and 0.80 × 0.70 = 0.56. Multiplying by 100 reproduces the four stipulated counts.
This makes conditional independence visible as a property of the defined distribution. It is not a statement that A and B cannot occur together. Indeed six cards have both. Two events of positive probability that cannot occur together are dependent, because their joint probability is zero while the product is positive.
7. Calculate probabilities inside bag H
In H, A occurs on 80 cards and B on 70. The joint probability is 56/100 = 0.56, exactly 0.80 × 0.70. The other product cells are 0.80 × 0.30 = 0.24, 0.20 × 0.70 = 0.14 and 0.20 × 0.30 = 0.06.
The marks are independent given H as well as given L. As the two bags exhaust the positive-probability values of the bag variable, the marks are conditionally independent given that variable in this fictional experiment. A proof for only one bag would not have established that full statement.
8. Pool the bags and test the product again
Combine matching categories: there are 62 both, 38 A-only, 38 B-only and 62 neither. The event A has 100 of 200 cards and so does B, giving P(A) = P(B) = 0.50. Their overall joint probability is 62/200 = 0.31.
The product of the overall event probabilities is 0.50 × 0.50 = 0.25, not 0.31. Therefore the events are marginally dependent. The apparent tension with the two within-bag checks disappears once the conditioning context of each claim is stated.
9. Calculate what learning one mark changes
Among the 100 cards carrying A, 62 also carry B, so P(B given A) = 0.62. Among the 100 without A, 38 carry B, giving P(B given not A) = 0.38. Without any information about A, the probability of B is 0.50.
If L is already known, however, P(B given A and L) = 6/20 = 0.30, the same as P(B given L). In H the corresponding comparison is 56/80 = 0.70. Knowing A changes the overall probability of B, but it does not change that probability once the bag is given.
10. Repair an incorrect independence claim
A generated explanation says that independence inside both bags guarantees independence in the combined population. The error is multiplying probabilities after removing the conditioning variable. The calculated counterexample is enough to disprove that implication.
A correct report states both results: A and B are conditionally independent given bag membership and marginally dependent in the equally mixed experiment. The Penn State lesson on three-way tables distinguishes these two forms of independence. Neither should be substituted for the other.
11. Explain the role of the mixture
Bag H contains a larger proportion of each mark than bag L. Among A-marked cards, 80 of 100 come from H. Among cards without A, only 20 of 100 come from H. Thus learning A changes the mixture of bags that remains relevant to the probability of B.
Use the law of total probability: P(B given A) = 0.20 × 0.30 + 0.80 × 0.70 = 0.62. The conditional independence inside each bag permits the two B probabilities in that calculation. Do not treat the changed mixture as evidence that putting mark A on a card causes mark B.
12. Vary the bag probabilities explicitly
Let q be the probability of selecting H, with L selected with probability 1 − q. Keeping all within-bag counts fixed gives P(A) = 0.20 + 0.60q, P(B) = 0.30 + 0.40q and P(A and B) = 0.06 + 0.50q.
Subtracting the product of the marginal probabilities from the joint probability gives 0.24q(1 − q). For q strictly between zero and one, this is positive. At either endpoint only one bag is selected, and the overall distribution has independence. The difference is specific to these stipulated card counts.
13. Check a changed mixture with exact arithmetic
Suppose H is selected with probability one quarter. The marginal probabilities become P(A) = 0.35 and P(B) = 0.40. The joint probability becomes 0.06 + 0.50 × 0.25 = 0.185, whereas the marginal product is 0.14.
Their difference is 0.045, agreeing with 0.24 × 0.25 × 0.75. This experiment no longer draws every card across both bags with equal probability. The within-bag model is unchanged, but the marginal probabilities must be weighted by the new bag-selection probabilities.
14. Conditioning can also introduce dependence
Consider a separate experiment with two independently tossed fair coins. Each of HH, HT, TH and TT has probability one quarter. Let A mean the first coin is heads and B mean the second is heads. The product of the two probabilities is one quarter, matching the joint event HH.
Now condition on at least one head. The three remaining outcomes HH, HT and TH are equally likely under this condition. The conditional probabilities of A and B are each 2/3, while the conditional joint probability is 1/3. The product 4/9 is different, so the events are no longer independent given that selected event.
15. Do not assume every condition improves a comparison
In the coin example, selecting records because at least one mark is present removes TT. The dependence among the remaining records arises from this selection rule. This is a different mathematical mechanism from mixing the two bags. Both illustrate why a change of conditioning information matters.
Ask learners to describe the selection before calculating. Adding a third variable can remove, retain or create an association, depending on the distribution. In real causal analysis, deciding what to condition on requires substantive assumptions and evidence; an arbitrary adjustment is not automatically an improvement.
16. Handle empty conditions without inventing a probability
If q is zero in the changed bag experiment, H has zero probability. Conditional probability given H is then not defined by ordinary division in that experiment. We may retain the separate hypothetical bag-H distribution as a specified mechanism, but cannot estimate it from draws that never select H.
Similarly, if a sample has no records in a category, a within-category fraction cannot be calculated by dividing by zero. Distinguish a probability defined by a model from an estimate that needs observations. Missing information is not evidence of independence.
17. Separate an exact model from empirical evidence
The card counts define an exact finite probability model, so we can prove the stated relationships with arithmetic. For a real sample, equal or nearly equal conditional proportions do not by themselves prove population independence. Sampling variability, measurement and the selection mechanism need attention.
A practical report should retain the contingency tables and clearly label whether numbers are stipulated probabilities, empirical estimates or hypothetical model predictions. Statistical testing and uncertainty assessment may be appropriate in a real study. A generated table is not independent evidence that the assumptions hold.
18. Prompt AI for a checkable probability explanation
Try this prompt: use only the supplied fictional counts and the stated bag-selection mechanism. Give the four within-bag cells, marginal probabilities, both-mark joint probabilities and products. Test independence inside each bag and in the mixture. Then repeat with q = 0.25 and explain the different denominators.
Ask the assistant to contrast the result with the selected-coin example. Recompute the main cells and the marginal product independently, and reject any claim of causation. Keep the prompt, proposed reasoning and corrected table as evidence of what was learned rather than submitting an unexplained AI answer.
19. Assess the conditioning capability
Use a proposed four-dimension rubric: correct experiment and event definitions, probability calculations, explanation of conditional versus marginal independence, and independent transfer with limits. Score each zero to three, from absent evidence through partial and mostly correct work to precise, independently checkable reasoning.
The portfolio should include a full table, two distinct independence tests, a selection counterexample and a fresh model solution. Review the specific errors rather than interpreting the total as a fixed measure of intelligence. This rubric is an original teaching design, not a validated assessment instrument.
20. Independent transfer: construct a fresh mixture
Two new equally selected bags, U and V, each contain 100 equally likely cards. U has both 10, A-only 15, B-only 30 and neither 45. V has both 45, A-only 30, B-only 15 and neither 10. Before reading the check, calculate the joint and product in each and then in the mixture.
For U the probabilities are 0.25, 0.40 and 0.10 for A, B and both; for V they are 0.75, 0.60 and 0.45. Both products match within each bag. Overall A and B each occur with probability 0.50, and both with probability 55/200 = 0.275, not 0.25. Explain the resulting conditional independence and marginal dependence.
21. Primary school: sort and compare cards
Use two labelled sets of large cards with simple shapes or tactile marks. Ask learners to count cards with each mark and both marks, first in separate piles and then combined. Begin with counting and fractions rather than formal probability notation.
Adult-prepared examples can be reviewed using AI without requiring children’s direct service use. Explain that a fair draw means every card in the selected pile is equally likely, and that mixing piles changes the group being examined. Adapt materials to the child’s readiness and access needs.
22. Secondary school: build tables and probability trees
Students can construct two-by-two tables, calculate joint and conditional probabilities and draw a tree showing bag selection followed by marks. Compare the tree and table calculations. Require a numerical explanation of why the product rule cannot simply ignore the bag variable.
Introduce the selected-coin case with physical coins or a complete outcome list. Then ask learners to create a new model with conditional independence but marginal dependence. Assess their ability to defend the sampling procedure and every table entry, not just recall the name of a phenomenon.
23. University, institutions and EnDist
Advanced coursework can extend to graphical models, stratified analysis and causal inference. Conditional independence is a central modelling assumption, but the mathematical independence relationship alone does not identify a causal graph. Examine how substantive knowledge, measurement and sampling justify additional claims.
Within eduKate’s proposed EnDist framework, AI may distribute more analytical capacity across institutions. Education should also distribute the ability to audit which variables and conditions support a statistical conclusion. A conditional statement that loses its condition in transmission can become an entirely different assertion.
24. A four-week Conditional Independence Lab
Week one: establish event definitions and the two-bag distribution, calculate the within-bag tables, and independently verify each product. Week two: pool the bags, vary q and explain how the mixture produces marginal dependence. Deliver a labelled table and short derivation.
Week three: investigate the selected-coin example and distinguish model probabilities from estimates. Critique an AI-generated claim that merges the two forms of independence. Week four: solve the new U/V model independently and defend its conclusions using the rubric, with access supports and time for revision.
25. Questions learners, families and educators may ask
Does independence mean events cannot happen together? No. Does independence within each group imply independence overall? Not necessarily. Can conditioning make independent events dependent? Yes; the selected-coin example shows that. Does a changed conditional probability prove that one event causes the other? No.
Does the test require a positive-probability condition? Yes for the ordinary conditional fraction. Can AI assist? It can generate candidate models and explanations, but the learner must check the sampling mechanism, calculations and exact meaning of each claim. A new example should be solved rather than merely paraphrased.
26. Sources, boundaries and next steps
The formal distinction between marginal and conditional independence is developed in Penn State STAT 504: Three-Way Tables. The fictional card registers, mixtures, coin selection exercise, teaching sequence and rubric in this article are original instructional constructions or elementary mathematical examples, not evidence of educational outcomes.
Continue with the Aggregation and Weighting Lab, Base Rate Lab, Sampling and Selection Lab and Factor Interaction Lab. The central capability is to keep the condition attached to the probability, test the actual relationship and say what evidence would be needed to apply it outside the stated model.
Related coursework: Aggregation and Weighting Lab · Base Rate Lab · Sampling and Selection Lab · Factor Interaction Lab.
