RotoGuru Baseball Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread


0 Subject: OT: Probability Question

Posted by: Ender
- [2131019] Sun, May 07, 2006, 21:35

Forgive the OT post, but this is likely the forum most trafficked by the guys I'm looking for on this one.

I am going to swallow my pride and ask a couple questions that I should already have figured out, but haven't given them enough time. I am tutoring a student in Finite Math tomorrow and my skills are rusty in this area from having spent waaay too much time on 8th grade level math and not enough in keeping higher math skills sharp.

Anyway:

Problem #1:
A lot contains 300 parts of which 30 are defective and 270 are good. Three parts are selected at random (no replacement).

(a) What is the probability that exactly one of the 3 parts is defective?

I started off with (270/300)(269/299)(30/298), but I lack confidence in that response for some reason. I tried to convince myself by finding P(0) + P(1) + P(2) + P(3) and it didn't add up to 1. That's where I lost confidence in the answer. I couldn't find the error in my logic of the response or in the calculation of the sum of the probabilities.

(b) What is the probability that at least one of the three parts is defective.

This is what led me to the P(1) + P(2) + P(3) calculation above. I double checked the P(0) value and it didn't jive.

Problem 2
John Q. Badstudent is taking a math class and a sociology class. He estimates that the probability of passing the math class is .45, the probability of passing sociology is .60, and the probability of passing at least one of these classes is .90 What is the probability of passing both classes?

This one escapes, but I am certain I need consider Union, Intersection, and the like. I just having trouble fitting it all together.

There are enough statisticians and actuaries running around here I figure someone can help me out. I appreciate any of it.
1JeffG
      Leader
      ID: 01584348
      Sun, May 07, 2006, 22:57
Ok, it has been a generation since I took stats, but here is how I remember it.

If you have A unique parts and are choosing B and order does not matter, the the number of combinations is (A B) read "A choose B" which is A! divided by (B! * (A - B)!).

1A If you consider each of the 300 parts unique and order does not matter, there are '300 choose 3' denoted (300 3) combinations or 300!/(3!)*(297)!. That is your denominator. which is (300*299*298)/(3*2*1).

So picking 2 good and 1 bad is (270 2) * (30 1). That is your numerator.

Using the calculator. I get .245

1B. The probability at least one is defective is one minus the probability none are defective.

so that is (270 3)/(300 3). So 1 - .728 is .272.
2JeffG
      Leader
      ID: 01584348
      Sun, May 07, 2006, 23:06
2. I am missing something on this. If they are unrelated events, the probability of event A is .45 and probability of event B is .60. Then isn't the probability of event A AND event B is p(a) * p(b). That is .27.
3Sludge
      ID: 14411118
      Sun, May 07, 2006, 23:10
I started off with (270/300)(269/299)(30/298), ... I couldn't find the error in my logic of the response or in the calculation of the sum of the probabilities.

Not a bad approach. JeffG's answer is correct, but you can also get the correct answer with your approach as well.

The probability you give is the probability of drawing GGD in that order. What about drawing GDG or DGG? (270/300)*(30/299)*(269/298) and (30/300)*(270/299)*(269/298), respectively. Note that these are each the same as your original, but you need to add those three together (e.g. multiply your original by 3). What do you get? 0.2445.
4Sludge
      ID: 14411118
      Sun, May 07, 2006, 23:12
Since this seems like homework, I wasn't going to answer #2, but I feel I must now that JeffG has given an incorrect answer.

Look at the general rule of additivity for probabilities.

P(A or B) = P(A) + P(B) - P(A and B)
P(A union B) = P(A) + P(B) - P(A intersect B)
5Ender
      ID: 285713
      Mon, May 08, 2006, 09:19
Homework? LOL

I'm the teacher in this situation. I am tutoring an adult student to help her prepare for a test. These were 2 study questions. SO any help can be given with a clean conscience :)

Thanks. Problem 1 makes sense now. I new there was something I was leaving out. I didn't divide out the permutations of the 3 parts.

So Problem 2 amounts to P(M)+P(S) - P(M&S) = .45 + .60 - .90 = .15? That's the formula I found that led me to the comment about Unions and INtersections above, but it just doesn't feel right. I know sometimes probability works out that way. I am used to surprising answers in this branch (the birthday problem as an example), but the "at least one class" still leaves me scratching my head. It feels like it should somehow be P(1) + P(Both) and I can reconcile those 2 ideas.
6Sludge
      ID: 11042612
      Mon, May 08, 2006, 11:15
Ender -

Draw a Venn diagram, and it will make sense.
7Ender
      ID: 285713
      Mon, May 08, 2006, 11:37
Got it. Thanks again.
8holt
      ID: 1331253
      Tue, May 09, 2006, 08:06
I'm getting .2472 for 1A and .2767 for 1B but those are rounded off. the actual numbers are pretty long.
9weykool
      ID: 3645097
      Tue, May 09, 2006, 09:20
When making 3 selections with 2 outcome you will always have 8 possible outcomes:
GGG GGD GDG DGG GDD DGD DDG DDD


None defective-(270/300)(269/299)(268/298)*1 = .7282
One defective--(270/300)(269/299)(30/298) *3 = .2445
Two defective--(270/300)(30/299)(29/298) *3 = .0264
All defective--(30/300)(29/299)(28/298) *1 = .0009

If you add them all up you will get 1.0
1A = .2445
1B = .2718
11weykool
      ID: 394849
      Tue, May 09, 2006, 16:23
As for problem #2 it doesnt compute.
IF the probability of passing is .45 and .60 then the probablity of failing must be .55 and .40.
The probabilty of failing both must be .55 x .40 = .22
So the probability passing at least 1 would be .78 not .90
The 4 outcomes are:
PP PF FP FF
PP=.45*.60 = .27
PF=.45*.40 = .18
FP=.55*.60 = .33
FF=.55*.40 = .22
Total = 1.00
Passig at least 1 = .78
Passing both = .22
12Salt Bandit
      ID: 35618614
      Tue, May 09, 2006, 16:42
weykool - Your calculations for problem 2 assume they are independent events, which is not the case for this problem.
13weykool
      ID: 394849
      Tue, May 09, 2006, 18:37
Salt please explain.
14Sludge
      ID: 11042612
      Tue, May 09, 2006, 19:07
P(M) = 0.45
P(S) = 0.6
P(M or S) = 0.9

All of the above are given.

P(M and S) = P(M)+P(S)-P(M or S) = 0.45 + 0.6 - 0.9 = 0.15. This is your PP above.

PF = P(M and S') = 0.30.
FP = P(M' and S) = 0.45.
FF = P(M' and S') = P((M or S)') = 0.10.

A' = "A complement" or "not A".

Again, draw a Venn Diagram, and all will be revealed.
15Salt Bandit
      ID: 810262813
      Mon, May 22, 2006, 15:20
weykool - sorry to take so long for this response.

The probabilty of failing both must be .55 x .40 = .22
The equation you're using P(A and B) = P(A) * P(B) only holds true of A and B are independent.

Events are independent when knowing the result of one event doesn't change the probability of the other event;
P(A|B) = P(A)
More info

Given the information for problem 2, you can conclude the chances of passing math and soc are dependent (because P(A and B) != P(A) * P(B))

Sludge's response in [14] uses more general equations that don't reply on independence.
Rate this thread:
5 (top notch)
4 (even better)
3 (good stuff)
2 (lightweight)
1 (no value)
If you wish, you may rate this thread on scale of 1-5. Ratings should indicate how valuable or interesting you believe this thread would be to other users of this forum. A '5' means that this thread is a 'must read'. A '1' means that this is a complete waste of time.

If you have previously rated this thread, rating it again will delete your previous rating.

If you do not want to rate this thread, but want to see how others have rated it, then click the button without entering a rating, or else click here.

RotoGuru Baseball Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread




Post a reply to this message: (But first, how about checking out this sponsor?)

Name:
Email:
Message:
Click here to create and insert a link
Click here to insert a random spelling of Mientkiewicz
Ignore line feeds? no (typical)   yes (for HTML table input)


Viewing statistics for this thread
Period# Views# Users
Last hour11
Last 24 hours11
Last 7 days11
Last 30 days1210
Since Mar 1, 2007104461350