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

  • Thread starter Thread starter silkdigital
  • Start date Start date
  • Tags Tags
    Probability Stuck
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
P(\text{produced at A} | \text{is a lemon}) = \frac{P(\text{produced at A and is a lemon)}}{P(\text{is a lemon})}
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.
 
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...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.
Back
Top