{"base":{"id":"m10-30","subject":"Statistics","title":"Probability","scene":"mix","steps":[{"use":"stats","mode":"complement","eyebrow":"The probability scale","title":"It happens, or it doesn't","body":"Probabilities go from 0 (impossible) to 1 (certain). P(not A) = 1 − P(A). Change the number of red counters.","controls":[{"id":"red","label":"Red counters out of 10","min":0,"max":10,"step":1,"value":3}]},{"use":"stats","mode":"space","eyebrow":"Sample spaces","title":"Two dice, 36 outcomes","body":"For two events, list every outcome in a grid. Each of the 36 outcomes is equally likely. Highlight each event.","actions":[{"id":"e0","label":"Event 1"},{"id":"e1","label":"Event 2"},{"id":"e2","label":"Event 3"}]},{"use":"stat9","mode":"tree","eyebrow":"Tree diagrams","title":"Multiply along, add down","body":"Multiply probabilities along branches for \"and\"; add the results of different paths for \"or\". Swap between with and without replacement.","actions":[{"id":"swap","label":"With / without replacement"}]},{"use":"stats","mode":"experiment","eyebrow":"Relative frequency","title":"Do many trials","body":"Relative frequency = times it happened ÷ trials. With more trials it settles near the theoretical probability.","actions":[{"id":"roll10","label":"Roll 10"},{"id":"roll100","label":"Roll 100"},{"id":"roll1000","label":"Roll 1000"},{"id":"reset","label":"Reset"}]},{"use":"stat9","mode":"expect","eyebrow":"Expected frequency","title":"Trials × probability","body":"If P(six) = 1/6 and you roll 60 times, you expect about 10 sixes. Change the number of trials.","controls":[{"id":"n","label":"Trials","min":6,"max":600,"step":6,"value":60}]},{"use":"stat9","mode":"quiz","look":"tree","eyebrow":"Check yourself","title":"Two events","body":"A bag has 3 red and 2 blue balls. A ball is taken, replaced, then another is taken.","question":"What is P(both red)?","options":["6/25","9/25","3/10"],"answer":1,"right":"Correct. 3/5 × 3/5 = 9/25.","wrong":"Not quite. With replacement, the second draw is the same as the first: multiply."}],"more":[{"type":"cards","id":"worked","eyebrow":"Worked examples","title":"Step by step","items":[{"tag":"Single","title":"A letter from MATHEMATICS","body":"11 letters, M appears 2 times\nP(M) = 2/11","code":true},{"tag":"Complement","title":"P(rain) = 0.35","body":"P(no rain) = 1 − 0.35 = 0.65","code":true},{"tag":"Two dice","title":"P(total of 8)","body":"(2,6) (3,5) (4,4) (5,3) (6,2)\nP = 5/36","code":true},{"tag":"Tree, with replacement","title":"P(one red, one blue), 3R 2B","body":"RB: 3/5 × 2/5 = 6/25\nBR: 2/5 × 3/5 = 6/25\ntotal = 12/25","code":true},{"tag":"Without replacement","title":"P(both red), 3R 2B","body":"3/5 × 2/4 = 6/20 = 3/10","code":true},{"tag":"Expected","title":"P(win) = 0.15, 200 plays","body":"200 × 0.15 = 30 wins","code":true}]},{"type":"cards","id":"ideas","eyebrow":"Popular idea vs science","title":"Common mix-ups","items":[{"tag":"Popular idea","title":"\"After five heads, tails is \"due\"\"","body":"Coins have no memory. Each flip is still 1/2: this is the gambler's fallacy."},{"tag":"Popular idea","title":"\"Two outcomes means a 50% chance\"","body":"Winning the lottery has two outcomes, win or lose, but they are not equally likely."}]},{"type":"cards","id":"mistakes","eyebrow":"Common mistakes","title":"Watch out for these","items":[{"tag":"Mistake","title":"Adding when you should multiply","body":"\"A and then B\" means multiply along the branches."},{"tag":"Mistake","title":"Forgetting to change the denominator","body":"Without replacement, the total goes down by one for the second pick."},{"tag":"Mistake","title":"Probabilities above 1","body":"A probability can never be more than 1 or less than 0."},{"tag":"Mistake","title":"Writing ratios","body":"Write probabilities as fractions, decimals or percentages, not 3 : 5."}]},{"type":"calc","id":"calc","eyebrow":"Calculator","title":"How many times should it happen?","intro":"The probability of a spinner landing on gold is 0.2. Choose the number of spins.","input":{"label":"Spins","min":10,"max":500,"step":10,"value":50,"unit":"spins"},"rows":[{"label":"Expected golds","mul":0.2,"unit":"","decimals":0,"color":"#d9a020"},{"label":"Expected not gold","mul":0.8,"unit":"","decimals":0,"color":"#5b6474"}],"note":"Expected frequency = trials × probability. Real results will vary around this."},{"type":"cards","id":"deeper","eyebrow":"Go deeper","title":"More than the lesson","items":[{"tag":"History","title":"A letter about dice","body":"In 1654 Blaise Pascal and Pierre de Fermat exchanged letters about how to split the prize in an unfinished dice game. Their solution founded probability theory."},{"tag":"Real world","title":"Weather forecasts","body":"A \"70% chance of rain\" means that on days with conditions like these, it rained about 70% of the time."},{"tag":"Surprise","title":"The birthday problem","body":"In a group of just 23 people, there is a better than 50% chance that two share a birthday. Most people guess you need far more."}]},{"type":"cards","id":"challenge","eyebrow":"Challenge yourself","title":"Stretch your brain","intro":"Try each one on paper before opening the card.","items":[{"tag":"Challenge","title":"Three coins","body":"Find P(at least one head) with three coins.\n\nAnswer: 1 − P(no heads) = 1 − 1/8 = 7/8."},{"tag":"Challenge","title":"Socks","body":"A drawer has 4 black and 6 white socks. Two are taken without replacement. P(a matching pair)?\n\nAnswer: 4/10 × 3/9 + 6/10 × 5/9 = 12/90 + 30/90 = 42/90 = 7/15."},{"tag":"Challenge","title":"Fair?","body":"A spinner lands on red 46 times in 200 spins. It has 4 equal sections. Is it fair?\n\nAnswer: expected 50; 46 is close, so there is no strong evidence it is unfair."}]},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Try it yourself","items":[{"title":"Coin-flip experiment","time":"15 minutes","need":["A coin","Paper for a tally"],"steps":["Flip a coin 10 times and record heads.","Continue to 50 flips, recording every 10.","Work out the relative frequency of heads after 10, 20, … 50 flips."],"why":"Relative frequency wobbles at first and settles nearer 0.5 as flips increase.","safety":"None."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Eight more questions","questions":[{"question":"P(rolling a 4 on a fair dice) =","options":["1/4","4/6","1/6"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"P(A) = 0.3. P(not A) =","options":["0.7","0.3","1.3"],"answer":0,"right":"Correct.","wrong":"Not quite."},{"question":"Two coins. P(two heads) =","options":["1/2","1/4","1/3"],"answer":1,"right":"Correct.","wrong":"Not quite."},{"question":"A probability of 0 means…","options":["certain","even chance","impossible"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"Relative frequency 18 out of 60 =","options":["0.3","0.18","3.3"],"answer":0,"right":"Correct.","wrong":"Not quite."},{"question":"P(red) = 1/5 over 100 trials. Expected reds =","options":["5","20","50"],"answer":1,"right":"Correct.","wrong":"Not quite."},{"question":"How many outcomes for two dice?","options":["12","6","36"],"answer":2,"right":"Correct.","wrong":"Not quite."},{"question":"On a tree diagram, probabilities on branches from one point add up to…","options":["1","0","2"],"answer":0,"right":"Correct.","wrong":"Not quite."}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can…","items":["use the probability scale and P(not A) = 1 − P(A)","list outcomes in a sample space diagram","draw and use tree diagrams with and without replacement","calculate relative frequency","find expected frequency","explain the gambler's fallacy"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"Outcome","meaning":"One possible result."},{"word":"Event","meaning":"One or more outcomes."},{"word":"Sample space","meaning":"All possible outcomes."},{"word":"Relative frequency","meaning":"Times an event happened ÷ trials."},{"word":"Independent events","meaning":"Events where one does not affect the other."},{"word":"Mutually exclusive","meaning":"Events that cannot happen at the same time."}]},{"type":"sources","id":"sources","title":"Sources","items":["OpenStax Introductory Statistics, chapter 3","NRICH: probability problems","UK Met Office: what does a percentage chance of rain mean?","Stanford Encyclopedia of Philosophy: interpretations of probability"]}]},"overlay":null}