Conditional Probability Question

Click For Summary
SUMMARY

The discussion centers on calculating the conditional probability P(Tree A | at least one bad apple in the package) given two apple trees, A and B, producing 70% and 30% of the farm's apples, respectively. The probability of at least one bad apple from tree A is calculated as x = 0.7 * (1 - (0.85)^3), while for tree B, it is y = 0.3 * (1 - (0.95)^3). The final conditional probability is determined to be P(Tree A | at least one bad apple) = x / (x + y) = 0.863, confirming the calculations are accurate. Additionally, a multinomial distribution approach is suggested for a more complex analysis.

PREREQUISITES
  • Understanding of conditional probability
  • Familiarity with multinomial distributions
  • Basic knowledge of probability calculations
  • Experience with statistical analysis tools
NEXT STEPS
  • Study the principles of conditional probability in depth
  • Learn about multinomial distributions and their applications
  • Explore probability calculation techniques using Python or R
  • Investigate real-world applications of conditional probability in agriculture
USEFUL FOR

Mathematicians, statisticians, data analysts, and anyone interested in probability theory and its applications in real-world scenarios, particularly in agricultural contexts.

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).
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K