Conditional Probability Question

randomcat
Messages
7
Reaction score
0
Suppose that there are 2 apple trees. Tree A and tree B.

A produces 0.7 of the farm's apples. And B produces 0.3.

Out of the apples that tree A produces, 0.15 are bad. For B, 0.05 are bad.

One package of goodies contains 3 apples.

Given this information, what is the P(Tree A| at least one bad apple in the package)

Okay, so here's what I tried.

Probability of at least 1 bad apple in the package from tree A is:
x=0.7*(1-(0.85)^3)
Probability of at least 1 bad apple in the package from tree B is:
y=0.3*(1-(0.95)^3)

Then P(Tree A| at least one bad apple in the package) = x/(x+y) = 0.863

Does this seem right? Any help would be greatly appreciated.
 
Physics news on Phys.org
An exact, but kludgy approach would be using a multinomial (4) distribution.
A = prob from tree A and good = .595 (no. = j)
a = prob from tree A and bad = .105 (no. = k)
B = prob from tree B and good = .285 (no. = m)
b = prob from tree B and bad = .015 (no. = n)

term = {3!/(j!k!m!n!)}AjakBmbn where j,k,m,n ≥ 0 and j+k+m+n = 3

Desired probability is fraction.
Numerator = sum of terms with k > 0 (contains a bad apple from A).
Denominator = sum of terms with k > 0 or n > 0 (contains a bad apple).
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top