What Is the Probability a Lemon Dreamboat Car Came from Factory A?

  • Context: Undergrad 
  • Thread starter Thread starter silkdigital
  • Start date Start date
  • Tags Tags
    Probability Stuck
Click For Summary

Discussion Overview

The discussion revolves around calculating probabilities related to Dreamboat cars produced at three factories and the probability of matching colors between cards and envelopes. The focus is on applying conditional probability and combinatorial reasoning in these contexts.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant proposes a method to calculate the probability that a lemon Dreamboat car came from factory A, initially ignoring production percentages.
  • Another participant suggests using Bayes' theorem to incorporate production percentages into the probability calculation.
  • A later reply provides a corrected approach, emphasizing the need to weight error percentages by production percentages, leading to a different probability outcome.
  • Participants discuss the probability of matching colors between cards and envelopes, with one suggesting a related question about green cards in green envelopes as a simpler approach.
  • There is a realization among participants that matches only exist for even k values when k is greater than or equal to 4 in the envelope question.

Areas of Agreement / Disagreement

Participants generally agree on the need to incorporate production percentages into the probability calculations, but there are differing interpretations of how to approach the envelope question and the conditions under which matches occur.

Contextual Notes

Some assumptions regarding the independence of events and the definitions of "lemon" and "matching colors" are not explicitly stated, which may affect the calculations and interpretations presented.

Who May Find This Useful

Readers interested in probability theory, particularly in applications of conditional probability and combinatorial problems, may find this discussion relevant.

silkdigital
Messages
4
Reaction score
0
Question:

Dreamboat cars are produced at three different factories A, B, and C. Factory A produces 20% of the total output of Dreamboats, B 50%, and C 30%. However, 5% of the cars at A are lemons, 2% at B are lemons, 10% at C are lemons. If you buy a Dreamboat and it turns out to be a lemon, what is the probability that it was produced at factory A?

My workings were:

0.05 / (0.05 + 0.02 + 0.1) = 29.41%

I ignored the output percentages because the base condition is that the car is a lemon already. Is my logic on the right track? Not sure if I'm correct!

Another tough question is this:

Suppose that 10 cards, of which 7 are red and 3 are green, are put at random into 10 envelopes, of which seven are red and three are green, so that each envelope contains one card. Determine the probability that exactly k envelopes will contain a card with a matching color.

I've managed to obtain k=4
[7C4 * 3C3] / 10C7

and k=10
[7C7 * 3C0] / 10C7

Not sure what the next steps are to express in terms of any k. Hope that makes sense.
Thanks for any help in advance, having some difficulty!
 
Physics news on Phys.org
Silkdigital,

For the dreamboats, you need
[tex]P(\text{produced at A} | \text{is a lemon}) = \frac{P(\text{produced at A and is a lemon)}}{P(\text{is a lemon})}[/tex]
for which I think you need the output percentages.

For the cards, it may be easier to answer a closely related question: How many green cards are in green envelopes? This is exactly like taking a random sample of three cards without replacement and asking how many of them are green.
 
silkdigital said:
Question:

Dreamboat cars are produced at three different factories A, B, and C. Factory A produces 20% of the total output of Dreamboats, B 50%, and C 30%. However, 5% of the cars at A are lemons, 2% at B are lemons, 10% at C are lemons. If you buy a Dreamboat and it turns out to be a lemon, what is the probability that it was produced at factory A?

My workings were:

0.05 / (0.05 + 0.02 + 0.1) = 29.41%

Note, you failed to weight your error percentages by the production percentages. The weights can be assigned in various ways provided the proportions are preserved. So for factory A: (0.2)(0.05)/[(0.2)(0.05)+(0.5)(0.02)+(0.3)(0.10)] = 0.01/(0.01+0.01+0.03)=0.2

So if you have a defect, the probabilities are 0.2 from A, 0.2 from B and 0.6 from C. Note they sum to 1.
 
SW VandeCarr said:
Note, you failed to weight your error percentages by the production percentages. The weights can be assigned in various ways provided the proportions are preserved. So for factory A: (0.2)(0.05)/[(0.2)(0.05)+(0.5)(0.02)+(0.3)(0.10)] = 0.01/(0.01+0.01+0.03)=0.2

So if you have a defect, the probabilities are 0.2 from A, 0.2 from B and 0.6 from C. Note they sum to 1.

Yes I realized it now. I guess I misinterpreted the question. I did the same thing and ended with 0.2, for the envelope question I realized matches only exist for even k when k>=4 (ie 4,6,8,10) and all marginal probabilities add to 1.
Thanks for the help guys!
 
silkdigital said:
Yes I realized it now. I guess I misinterpreted the question. I did the same thing and ended with 0.2, for the envelope question I realized matches only exist for even k when k>=4 (ie 4,6,8,10) and all marginal probabilities add to 1.
Thanks for the help guys!

You're welcome.
 

Similar threads

Replies
3
Views
1K
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
5
Views
3K
Replies
6
Views
3K
  • · Replies 125 ·
5
Replies
125
Views
20K
  • · Replies 2 ·
Replies
2
Views
499
  • · Replies 1 ·
Replies
1
Views
4K