<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>7328</id>
  <path>/www/nrich/html/content/id/7328/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-06-15T15:20:20</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;ul id=&quot;stemLinks&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/4311&quot;&gt;Warm-up&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/471&quot;&gt;Try this next&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/2381&quot;&gt;Think higher&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://plus.maths.org/content/revelation-game&quot;&gt;Read: mathematics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://plus.maths.org/content/anyone-tennis&quot;&gt;Read: science&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://plus.maths.org/content/do-you-know-whats-good-you-0&quot;&gt;Explore further&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt; &lt;/div&gt;
&lt;p&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;This problem involves looking at drug testing and the payoff this might give to athletes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Imagine a drug test that is 99% accurate.&lt;/p&gt;
&lt;p&gt;That is, if you are drug-free, there&amp;#39;s a 99% chance you&amp;#39;ll pass the test, and if you have taken the drug, there&amp;#39;s a 99% chance you&amp;#39;ll fail the test.&lt;/p&gt;
&lt;p&gt;In addition, imagine we know that 99% of athletes DO NOT take the drug.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If an athlete is tested and fails the test, what is the probability that they have taken the drug?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/br&gt;
Dave and Joe are athletes at approximately  the same skill level - each has an equal chance of winning in a race between the two.&lt;/p&gt;
&lt;p&gt;If Dave takes the drug but Joe doesn&amp;#39;t, Dave&amp;#39;s chance of winning increases to 75%.&lt;/p&gt;
&lt;p&gt;If Joe takes the drug but Dave doesn&amp;#39;t, Joe&amp;#39;s chance of winning increases to 75%.&lt;/p&gt;
&lt;p&gt;If they both take the drug, then each has an equal chance of winning again.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Here is a payoff matrix, showing the chances of winning:&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
&lt;table style=&quot;&quot; border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dave/Joe (%)&lt;/td&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;td&gt;75/25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;td&gt;25/75&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;The payoff of taking the drug is always better than not taking the drug, so the best strategy for both athletes is to use the drug!&lt;/p&gt;
&lt;p&gt;The race officials decide to use drug testing, so that athletes who take drugs can be disqualified.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;How does the payoff matrix change if they drug test both Dave and Joe?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
How does the payoff matrix change if they only drug test Dave?  &lt;/strong&gt;&lt;/p&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;How does the payoff matrix change if they randomly drug test either Dave or Joe with a 50% chance?&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;You could also explore the effects of the different testing regimes when three athletes are competing for Gold, Silver and Bronze.&lt;/div&gt;
&lt;p&gt;What drug testing regime do you think would be the fairest? Are there any practical issues arising from your suggestion?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div class=&quot;framework&quot;&gt;&lt;strong&gt;Notes and Background&lt;/strong&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Read more about screening on &lt;a href=&quot;http://understandinguncertainty.org/dishonesty&quot;&gt;Understanding Uncertainty&lt;/a&gt;.&lt;br&gt;&lt;/br&gt;
 &lt;/div&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;&lt;strong&gt;For the first part:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If test is positive, we are 99% sure of correctness&lt;br&gt;&lt;/br&gt;
If test is negative, we are 99% sure of correctness&lt;/p&gt;
&lt;p&gt;99% of athletes DO NOT take the drug. Which means 1% do.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
1% of 99% who have not actually taken the drug will test positive (false positive).&lt;/p&gt;
&lt;p&gt;99% of 1% who have taken the drug will test positive (true positive).&lt;/p&gt;
&lt;p&gt;Total positive tests = false positives + true positives = $0.01 \times 0.99 + 0.99 \times 0.01 = 0.0198 = 1.98%$ So 1.98% of tests are positive.&lt;/p&gt;
&lt;p&gt;Of these, 0.99% are false positives and 0.99% are true positives, so the probability an athlete has taken the drug given that they tested positive is 50%.&lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;&lt;strong&gt;If both athletes are drug tested:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/br&gt;
If both athletes take the drug, then each has 1%*(100%-1%*50%)=0.95% chance of winning if he luckily passes the test, unless the other athlete also passes and beats him. &lt;/p&gt;
&lt;p&gt;If neither takes the drug, then each has 99%*(99%*50% + 1%)= 49.995% chance of winning by passing the drug test and beating the opponent, or if the opponent fails the drug test.&lt;/p&gt;
&lt;p&gt;If one athlete takes the drug and the other doesn&amp;#39;t, then the drug-taking athlete has 1%*(99%*75% + 1%) = 0.7525% chance of winning by passing the drug test and beating the opponent, or if the opponent fails the drug test. Similarly, the undoped athlete has 99%*(1%*25%+99%) = 98.2575% chance of winning. So the payoff matrix  is now&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dave/Joe (%)&lt;/td&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;0.95/0.95&lt;/td&gt;
&lt;td&gt;
&lt;div&gt;0.7525/98.2575&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;td&gt;
&lt;div&gt;98.2575/0.7525&lt;/div&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;49.995/49.995&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;If only Dave is tested:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;If both athletes take the drug, then Dave has 1%*50% = 0.5% chance of winning. Since Joe cannot be disqualified, he will have 1-0.5%=99.5% chance of winning. If only Dave takes the drug, then he has 1%*75%=0.75% chance of winning. If only Joe takes the drug, then Dave has 99%*25% = 24.75% chance of winning. If neither dopes, then Dave has 99%*50% chance of winning.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dave/Joe (%)&lt;/td&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;0.5/99.5&lt;/td&gt;
&lt;td&gt;0.75/99.25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;td&gt;24.75/75.25&lt;/td&gt;
&lt;td&gt;49.5/50.5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Dave is much worse off as a result of drug testing. What&amp;#39;s worse, Joe is better off taking the drug because he can&amp;#39;t be found out!  The winning strategy is for Dave not to take the drug, but for Joe to take it. If we had tested just Joe instead, then the entries of the payoff matrix will simply flip.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;If Dave or Joe are tested randomly, with probability 50%&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;The answer is simply the average of the above payoff matrix (for testing Dave) and its flipped version (for testing Joe). We get the following table&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A/B&lt;/td&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Now it makes no difference whether an athlete takes the drug or not. In reality being caught drug-taking will severly damage the reputation of an athlete (and possibly lead to being banned from competing). So both athletes will choose not to take the drug.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Why do this problem?&lt;/h3&gt;
This problem invites students to work with some tricky conditional probabilities in the context of drug testing in sport. It also introduces the payoff matrix, an important representation in Game Theory.&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible approach&lt;/h3&gt;
&lt;div&gt;Introduce the first part of the problem:&lt;/div&gt;
&lt;div&gt;&quot;Imagine a drug test that is 99% accurate. That is, if you are drug-free, there&amp;#39;s a 99% chance you&amp;#39;ll pass the test, and if you have taken the drug, there&amp;#39;s a 99% chance you&amp;#39;ll fail the test. In addition, imagine we know that 99% of athletes DO NOT take the drug. If an athlete tested and fails the test, what is the probability that they have taken the drug?&quot;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;You may wish to show students &lt;a href=&quot;http://understandinguncertainty.org/screening&quot;&gt;this animation&lt;/a&gt; to introduce Bayes Theorem together with a visual way of thinking about conditional probability in circumstances such as this. &lt;a href=&quot;http://plus.maths.org/content/logic-drug-testing&quot;&gt;This Plus article&lt;/a&gt; also examines conditional probability in the context of sports doping, including
a tailored version of the animation.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
Once students have had a chance to engage with and work on this first question, introduce the second part of the problem. Give students time to make sense of the payoff matrix, and then split the class into two groups, with half the students working on the question &quot;How does the payoff matrix change if they drug test both Dave and Joe?&quot; and the other half working on &quot;How does the payoff matrix
change if they only drug test Dave?&quot;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
After students have had time to tackle their question, bring the class back together and invite each group to present their working out and the payoff matrix.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
Finally, challenge students to answer the question &quot;How does the payoff matrix change if they randomly drug test either Dave or Joe with a 50% chance?&quot; and then take some time to discuss the pros and cons of different drug-testing regimes.&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Key questions&lt;/h3&gt;
&lt;div&gt;Imagine Dave takes the drug and Joe doesn&amp;#39;t, and they are both tested. What are the different possible outcomes?&lt;/div&gt;
&lt;div&gt;What is the probability of each outcome?&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible extension&lt;/h3&gt;
Invite students to consider the possible outcomes when three athletes compete for Gold, Silver and Bronze, with different drug testing regimes.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible support&lt;/h3&gt;
&lt;div&gt;It may be helpful to consider an ordering of the events, with the associated probabilities at each stage.&lt;/div&gt;
&lt;div&gt;For example, first the athletes decide whether to take the drug or not. Then the race takes place. Then the drug testing takes place.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;It may be helpful to consider an ordering of the events, with the associated probabilities at each stage.&lt;br&gt;&lt;/br&gt;
For example, first the athletes decide whether to take the drug or not. Then the race takes place. Then the drug testing takes place.&lt;/p&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Solution part 1&lt;/span&gt;: false
positive: 99%*1%=0.99%, false negative:
1%*1%=0.01%.)  &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Solution part 2&lt;/span&gt;: true
positive: 1%*99%=0.99%, false positive: = 99%*1% = 0.99%, positive
= true positive + false positive = 1.98%, P(drug | +) = 0.99%/1.98%
= 50%.)&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Solution part 3&lt;/span&gt;: If both
athletes dopes, then each has 1%*(100%-1%*50%)=0.95% chance of
winning if s/he luckily passes the test, unless the other athlete
also passes and beats him/her. If neither dopes, then each has
99%*(99%*50% + 1%)= 49.995% chance of winning by passing the drug
test and beating the opponent, or if the opponent fails the drug
test. If one athlete dopes and the other doesn't, then the doped
athlete has 1%*(99%*75% + 1%) = 0.7525% chance of winning by
passing the drug test and beating the opponent, or if the opponent
fails the drug test. Similarly, the undoped athlete has
99%*(1%*25%+99%) = 98.2575% chance of winning. So the payoff
matrix  is now&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
  

&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A/B (%)&lt;/td&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;0.95/0.95&lt;/td&gt;
&lt;td&gt;
&lt;div&gt;0.7525/98.2575&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;td&gt;
&lt;div&gt;98.2575/0.7525&lt;/div&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;div&gt; &lt;/div&gt;

&lt;div&gt;49.995/49.995&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Solution part 4&lt;/span&gt;: If
both athletes dope, then A has 1%*50% = 0.5% chance of winning.
Since B cannot be disqualified, s/he will have 1-0.5%=99.5% chance
of winning. If only A dopes, then s/he has 1%*75%=0.75% chance of
winning. If only B dopes, then A has 99%*25% = 24.75% chance of
winning. If neither dopes, then A has 99%*50% chance of
winning.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

 

&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A/B (%)&lt;/td&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;0.5/99.5&lt;/td&gt;
&lt;td&gt;0.75/99.25&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;td&gt;24.75/75.25&lt;/td&gt;
&lt;td&gt;49.5/50.5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;As we expected, A is much worse off as a result of drug
testing. What's worse, B is better off doping because s/he can't be
found out!  The winning strategy is for A not to dope, but for
B to dope. If we had tested just B instead, then the entries of the
payoff matrix will simply flip.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Solution part 5&lt;/span&gt;: The
answer is simply the average of the above payoff matrix (for
testing  and its flipped version (for testing B). We get the
following table&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

 

&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A/B&lt;/td&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;Drug&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;No Drug&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;td&gt;50/50&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;Now probablistically it makes no difference whether an
athletes dopes or not. In reality being discovered of doping will
severly damage the reputation of an athlete. So both athletes will
choose not to dope. This scheme only requires one testing per pair.
We've accomplished the same goal while saving the cost of drug
testing!&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Drug testing</title>
  <description>How do different drug-testing regimes affect the risks and payoffs for an athlete who chooses to take drugs?</description>
  <spec_group>Admin
    <specifier>Individual</specifier>
  </spec_group>
  <spec_group>Probability
    <specifier>Conditional probability</specifier>
  </spec_group>
  <spec_group>Decision Mathematics and Combinatorics
    <specifier>Game theory</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Stage 5 Decision mapping</specifier>
  </spec_group>
</resource>