// Numbas version: finer_feedback_settings {"name": "Which coin is more likely to be biased?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Which coin is more likely to be biased?", "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "tags": ["Bias", "coin", "Coin", "Experimental probability", "experimental probability", "Experimental Probability", "Probability", "probability", "taxonomy"], "advice": "
The results from the tosses of both coins are given in the table below.
\nOutcome | \nCoin 1 | \nCoin 2 | \n
Heads | \n$\\var{h1}$ | \n$\\var{h2}$ | \n
Tails | \n$\\var{t1}$ | \n$\\var{t2}$ | \n
We can calculate the number of tosses of each coin by adding together the number of heads and tails obtained for each coin.
\nCoin $1$ was tossed $\\var{h1+t1}$ times.
\nCoin $2$ was tossed $\\var{h2+t2}$ times.
\nThis means that for Coin $1$, the experimental probability of tossing heads is
\n\\[
\\begin{align}
\\displaystyle\\frac{\\var{h1}}{10000} &= \\var{{h1}/10000}\\\\
&= \\var{100*({h1}/10000)}\\%.
\\end{align}
\\]
Whereas for Coin $2$, the experimental probability of tossing heads is
\n\\[\\begin{align}\\displaystyle\\frac{\\var{h2}}{15} &= \\var{dpformat({h2}/15,2)} \\; (\\text{rounded to two decimal places})\\\\&= \\var{dpformat(100*({h2}/15),0)}\\%. \\end{align} \\]
\n\\[\\begin{align}\\displaystyle\\frac{\\var{h2}}{15} &= \\var{{h2}/15}\\\\&= \\var{100*({h2}/15)}\\%. \\end{align} \\]
\nWe can see from part a) that the number of tosses of Coin $1$ is much larger than the number of tosses of Coin $2$.
\nIt is important to know that as the number of trials in an experiment gets very large the experimental probability tends towards the theoretical probability.
\nFor an unbiased coin, the theoretical probability of tossing heads is $50\\%$ so as the number of tosses gets very large we would expect the experimental probability of tossing heads to get closer to $50\\%$.
\nTherefore, as the number of tosses of Coin $1$ is very large and the experimental probability of tossing heads with this coin is significantly different from $50\\%$, then it is quite likely that Coin $1$ could be biased.
\nOn the other hand, as the number of tosses for Coin $2$ is small, we cannot give an accurate opinion of whether this coin is biased or unbiased.
\nSo, there is more evidence of bias for Coin $1$ than for Coin $2$.
\nAs discussed in part b), there is more evidence of bias for Coin $1$ than for Coin $2$.
\nFurthermore, we saw that the experimental probability of tossing heads with Coin $1$ is significantly different from $50\\%$, which means that the coin could be biased in favour of heads.
\nSo, as we want the coin to land tails then we want to choose the coin that has the most reliable chance of landing tails-up.
\nSince there is less evidence of bias for Coin $2$ than for Coin $1$, we should choose to use Coin $2$ in the bet as there is a more reliable chance of tossing tails with this coin.
", "variables": {"h1": {"description": "number of heads for coin 1.
", "name": "h1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(6000..7000 #250)"}, "h2": {"description": "Number of heads for coin 2.
", "name": "h2", "group": "Ungrouped variables", "templateType": "anything", "definition": "15 - t2"}, "t2": {"description": "Number of tails for coin 2.
", "name": "t2", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(2,3)"}, "t1": {"description": "Number of tails for coin 1
", "name": "t1", "group": "Ungrouped variables", "templateType": "anything", "definition": "10000 - h1"}, "win": {"description": "Money won in part b.
", "name": "win", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(5..20 #5)"}}, "extensions": [], "statement": "Two different coins are flipped a different number of times. It is known that one of the coins is biased.
\nThe results for both coins are given in the table below.
\nOutcome | \nCoin 1 | \nCoin 2 | \n
---|---|---|
Heads | \n$\\var{h1}$ | \n$\\var{h2}$ | \n
Tails | \n$\\var{t1}$ | \n$\\var{t2}$ | \n
Calculate the experimental probability of tossing heads, $P(\\text{heads})$, for each coin. Enter your answers as fractions.
\n$P(\\text{heads})\\; \\text{for Coin $1$} =$ [[0]]
\n$P(\\text{heads})\\; \\text{for Coin $2$} =$ [[1]]
\n", "marks": 0}, {"scripts": {}, "minMarks": 0, "distractors": ["", ""], "variableReplacementStrategy": "originalfirst", "stepsPenalty": 0, "displayType": "radiogroup", "choices": ["Coin 1
", "Coin 2
"], "showFeedbackIcon": true, "prompt": "Based on the available results and the experimental probabilities calculated in part a), for which coin is there more evidence of bias?
", "steps": [{"scripts": {}, "variableReplacements": [], "type": "information", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "prompt": "We say that an event is biased if one outcome of the event is more likely than the other outcomes.
", "marks": 0}], "shuffleChoices": false, "matrix": ["1", 0], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}, {"scripts": {}, "minMarks": 0, "distractors": ["", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "choices": ["Coin 1
", "Coin 2
"], "showFeedbackIcon": true, "prompt": "You decide to take part in a bet with your friend Alex.
\nAlex says that if you toss either one of the above coins and the coin lands on tails then you win $£\\var{win}$. However, if the coin lands on heads then Alex wins $£\\var{win}$.
\nWhich coin should you choose in order to have a more reliable chance of winning the bet?
", "shuffleChoices": false, "matrix": [0, "1"], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}], "ungrouped_variables": ["h1", "t1", "h2", "t2", "win"], "rulesets": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "This question aims to assess the student's understanding of the difference between biased and unbiased events and also to assess the student's understanding of the fact that the experimental probability tends towards the theoretical probability as the number of trials increases.
"}, "preamble": {"css": "", "js": ""}, "functions": {}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}]}