Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2005, 12:01 AM
peterchi peterchi is offline
Senior Member
 
Join Date: Apr 2005
Location: Delaware/Michigan/Baltimore
Posts: 150
Default Blood testing for disease in groups

This is a question from my probability homework, and someone please tell me if it's bad form to ask for homework help here (it's completely allowed in terms of my class -- we're allowed to work in groups and get help from anyone and anywhere). But if it's bad for this forum then please let me know and I won't do it again.

On to the question --

To determine whether or not they have a certain disease, 100 people are to have their blood tested. However, rather than testing each individual separately, it has been decided first to group the people into groups of 10. The blood samples of the 10 people in each group will be pooled and analyzed together. If the test is negative, one test will suffice for the 10 people. If the pool is positive, then each of the 10 people will be individually tested. Assume that the probability of disease is 10% for all people, independently of each other. Compute the distribution of the number of tests to be performed along with the expected value and variance.

So... I know that each group of 10 people has a .9^10 probability of testing negative, meaning just one test will suffice. And then with probability 1-.9^10, it will require 11 tests (1 for the whole group and then 10 individually). But I'm not really sure where to go from here.

Thanks in advance.
Reply With Quote
  #2  
Old 10-24-2005, 02:49 AM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: Blood testing for disease in groups

[ QUOTE ]
This is a question from my probability homework, and someone please tell me if it's bad form to ask for homework help here (it's completely allowed in terms of my class -- we're allowed to work in groups and get help from anyone and anywhere). But if it's bad for this forum then please let me know and I won't do it again.

On to the question --

To determine whether or not they have a certain disease, 100 people are to have their blood tested. However, rather than testing each individual separately, it has been decided first to group the people into groups of 10. The blood samples of the 10 people in each group will be pooled and analyzed together. If the test is negative, one test will suffice for the 10 people. If the pool is positive, then each of the 10 people will be individually tested. Assume that the probability of disease is 10% for all people, independently of each other. Compute the distribution of the number of tests to be performed along with the expected value and variance.

So... I know that each group of 10 people has a .9^10 probability of testing negative, meaning just one test will suffice. And then with probability 1-.9^10, it will require 11 tests (1 for the whole group and then 10 individually). But I'm not really sure where to go from here.

Thanks in advance.

[/ QUOTE ]

For convenience, let S be the probability that at least one person from a group is sick. S is the probability that a group needs to have all of its individual members tested. You found that S = 1-.9^10. Then 1-S = .9^10 is the probability that no one in a given group is sick, and so 1-S is the probability that a given group does not need to have its individual members tested.

To compute the distribution, you need to compute the probability of each possible number of tests. The minimum number of tests is 10, and that happens if nobody is sick. That has probability (1-S)^10. If exactly 1 group has sick people, then there will be 20 tests. From the binomial distribution, that has probability C(10,1)*S*(1-S)^9. If exactly 2 groups have sick people, then there will be 30 tests, and that has probability C(10,2)*S^2*(1-S)^8. Do this for each possible number of tests, up to 110 tests which will be required if someone from each group is sick, which has probability C(10,10)*S^10*(1-S)^0 = S^10. At that point you will have a function which assigns probabilities to the 11 possible numbers of tests from 10 to 110. Now technically, this is called the density function, not the distribution function. The distribution function, call it F(x), is cumulative, so that F(x) means the probability that there are <= x tests.

F(x) = 0 for x < 10 since the probability of < 10 tests is 0.
F(10) = P(<= 10 tests) = P(exactly 10 tests)
F(20) = P(<= 20 tests) = F(10) + P(exactly 20 tests)
F(30) = P(<= 30 tests) = F(20) + P(exactly 30 tests)
...
F(110) = P(<=110 tests) = F(100) + P(exactly 110 tests) = 1, since there will always be <= 110 tests.

Note that the cumulative probability distribution always starts with a value of 0 and increases to a value of 1.

To get the expected value of the number of tests, from the definition of expected value, you could compute:

E(# tests) = 10*P(exactly 10 tests) + 20*P(exactly 20 tests) +
30*P(exactly 30 tests) + ... + 110*P(exactly 110 tests).

However; there is a simpler way, and that is to recognize that the expected value of the number of tests is simply 10 + 100*S. It is a useful trick to remember that whenever you wish to compute the expected value of a number of things, you can simply add the probabilities of each thing. In this case, the probability of each of the 100 individuals being tested is S, the probability of that individual’s group being tested. Note that it doesn’t matter that these probabilities are not independent. We add 10 since we will always start with 10 tests.

To compute the variance of the number of tests, you can use this identity:

variance(x) = E(x^2) - [E(x)]^2

where x is the number of tests, and E(x) is the expected value of the number of tests that you computed in the previous part. You would just need to compute E(x^2), the expected value of the number of tests squared, using the first definition of expected value given above, where x^2 can be 10^2, 20^2, ...up to 110^2.

It is easiest to organize this on a spreadsheet such as Excel if you have access to that. Excel also has a function called =BINOMDIST, which can sum the terms for you if you set the last input to a value of TRUE for cumulative.
Reply With Quote
  #3  
Old 10-24-2005, 11:13 AM
peterchi peterchi is offline
Senior Member
 
Join Date: Apr 2005
Location: Delaware/Michigan/Baltimore
Posts: 150
Default Re: Blood testing for disease in groups

Amazing.

Thank you so much.

I will try not to go hog-wild but I probably will have a couple more questions this week as I continue to struggle with this assignment [img]/images/graemlins/crazy.gif[/img]
Reply With Quote
  #4  
Old 10-24-2005, 11:34 AM
alThor alThor is offline
Junior Member
 
Join Date: Mar 2004
Posts: 6
Default Re: Blood testing for disease in groups

Did you try the question yourself first? If there is an exam in this class, you'll not benefit from just reading the answer on a forum. You have to learn the thought process that goes with it.

A good hint, though, would be to suggest that you first answer the question as if there were only 10 people instead of 100. Get the EV and Var for that case. Then, realize that the 100 people are 10 independent groups of 10. Now apply what you were probably taught about EV and Variance of sums.

alThor
Reply With Quote
  #5  
Old 10-24-2005, 12:59 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: Blood testing for disease in groups

[ QUOTE ]
Amazing.

Thank you so much.

I will try not to go hog-wild but I probably will have a couple more questions this week as I continue to struggle with this assignment [img]/images/graemlins/crazy.gif[/img]

[/ QUOTE ]

Like alThor says, you only have to compute the variance for a single group, or even a single individual, and then use the fact that the variance of a sum is the sum of the variances. Same for the expected value, except if you use individuals, you have to remember to add the 10 mandatory group tests. A group can either get 1 test or 11 tests. An individual can get 0 test or 1 test. That makes the computation of expected value and variance so simple that you should be able to do the whole thing in your head.
Reply With Quote
  #6  
Old 10-24-2005, 01:17 PM
AaronBrown AaronBrown is offline
Senior Member
 
Join Date: May 2005
Location: New York
Posts: 505
Default Re: Blood testing for disease in groups

My opinion is that it's fine to ask homework questions, people don't have to answer if they don't want to, and whether you get help is a matter between you and your professor. I do object to people who try to disguise homework questions, but only because they're so bad at it (the ones I notice, anyway). I also object to people typing in the entire problem and asking for the complete answer, I much prefer to help people who have narrowed it down but gotten stuck; or who don't know how to start.

However, it might make sense to post a pure probability question on a pure probability board. They'll most likely have an FAQ on common homework problems, or you can search to see if it's already been answered. If not, a hundred students may benefit from the answers you get.

On the other hand, a lot of people seem to come here looking for classroom help. Maybe this is as good a place as any.
Reply With Quote
  #7  
Old 10-24-2005, 04:03 PM
peterchi peterchi is offline
Senior Member
 
Join Date: Apr 2005
Location: Delaware/Michigan/Baltimore
Posts: 150
Default Re: Blood testing for disease in groups

[ QUOTE ]
Did you try the question yourself first? If there is an exam in this class, you'll not benefit from just reading the answer on a forum. You have to learn the thought process that goes with it.

A good hint, though, would be to suggest that you first answer the question as if there were only 10 people instead of 100. Get the EV and Var for that case. Then, realize that the 100 people are 10 independent groups of 10. Now apply what you were probably taught about EV and Variance of sums.

alThor

[/ QUOTE ]
I truly appreciate your concern, and I can assure you, I did spend a good deal of time thinking about this problem on my own first. I am not taking this course as a requirement; I am taking it for my own benefit, so indeed, my actual learning of this material is my primary goal.

Thank you for your contribution, too.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.