How Do You Calculate Probabilities for Different Sizes and Types of Shirts?

  • Thread starter Thread starter kenny1999
  • Start date Start date
  • Tags Tags
    Probability
AI Thread Summary
The discussion revolves around calculating probabilities for two types of shirts (A and B) produced in specific ratios and sizes. For part (a), the probability of randomly selecting a shirt A in size S is calculated using the ratios provided, yielding a formula that combines the proportion of shirt A and the proportion of size S. In part (b), the challenge is to find the conditional probability of selecting shirt B given that the shirt is size S, which involves using the Total Probability Theorem and understanding the independence of events. Participants emphasize the need to derive numerical values from the given ratios to compute these probabilities accurately. The conversation highlights the importance of foundational probability concepts, including independence and conditional probabilities, in solving the problem.
kenny1999
Messages
235
Reaction score
5

Homework Statement



Another challenging question about probability.....

Originial question:

A factory produces two types of shirt: shirt A and shirt B. Each type of shirt has 3 sizes: small (S), medium (M) and large (L). The number of shirt A produced and the number of shirt B produced are in a ratio 2:3. For each type of shirt, the number of shirts in S, M, L sizes are in the ratio 2:5:3

(a) If a shirt is chosen at random, find the probability that it is shirt A in S size.

(b) If a shirt is chosen at random and found to be size S, find the probability that it is shirt B.


Homework Equations





The Attempt at a Solution



(a) (2/5) x (2/10) (my approach is the proportion of shirt A multiply the proportion of small size, i don't know if it's true.)

(b) I think it is a conditional probablilty problem but i am not sure. I can construct the equation. It should be

P(shirt B | size S) = P ( B and S ) / P(S)

then i come into problem , i don't know what P(S) and P(B and S) should be.

Thank you for help.
 
Physics news on Phys.org
Do you know that if you have N things, m of them fitting a given requirement, and one is chosen at random (all being equally likely) then the probability of it fitting that requirement is m/N? That's usually the first formula one learns about probability.
Now what you need to do is use those given proportions to get some numbers.

If "The number of shirt A produced and the number of shirt B produced are in a ratio 2:3" and there were 2+ 3= 5 shirts made, how many of them would be type A? If there were 2+ 3+ 5= 10 shirts made, how many of them would be size S?

Now multiply that by 5: if there were 50 shirts made, how many of them would be size Z. And of those, how many would be type A? (Look back to the first question.)

That last number, divided by the total number of shirts, 50, is the probability a shirt chosen at random would be of type A and size small.
 
I'm not sure about this, but:

I think you did (a) correctly. Basically P(A and Small size) = P(A)*P(S) = (2/5)*(2/10).

And I think you also are on the right track for b.

To find P(S) make a diagram like so:

http://img20.imageshack.us/img20/391/fileqy.jpg

And go along each branch that leads to small (there are two of them). Then you multiply along each branch and get P(S) by adding the probabilities for each branch.

This is equivalent to applying the Total Probability Theorem.

You get P(B) the same way you got P(A) in part (a).

I'm not very good at probability, but that's what I'd do. :)
 
Last edited by a moderator:
I overlooked something that might be helpful, regarding your question about how to calculate P(B and S).

Assuming that the two events A and B are independent, we can use the relationship P(A ∩ Β) = P( A and B) = P(A)*P(B).

This is what you used in part A.

So to calculate P(B and S) you assume independence and use the same relationship. P(B and S) = P(B)*P(S)
 
Joshuarr said:
I overlooked something that might be helpful, regarding your question about how to calculate P(B and S).

Assuming that the two events A and B are independent, we can use the relationship P(A ∩ Β) = P( A and B) = P(A)*P(B).

This is what you used in part A.

So to calculate P(B and S) you assume independence and use the same relationship. P(B and S) = P(B)*P(S)

how do you know it is independent? sorry i can't accept this and I think i haven't learned about Bayer Theorem
 
Joshuarr said:
I overlooked something that might be helpful, regarding your question about how to calculate P(B and S).

Assuming that the two events A and B are independent, we can use the relationship P(A ∩ Β) = P( A and B) = P(A)*P(B).

This is what you used in part A.

So to calculate P(B and S) you assume independence and use the same relationship. P(B and S) = P(B)*P(S)

HallsofIvy said:
Do you know that if you have N things, m of them fitting a given requirement, and one is chosen at random (all being equally likely) then the probability of it fitting that requirement is m/N? That's usually the first formula one learns about probability.
Now what you need to do is use those given proportions to get some numbers.

If "The number of shirt A produced and the number of shirt B produced are in a ratio 2:3" and there were 2+ 3= 5 shirts made, how many of them would be type A?


If there were 2+ 3+ 5= 10 shirts made, how many of them would be size S?

Now multiply that by 5: if there were 50 shirts made, how many of them would be size Z. And of those, how many would be type A? (Look back to the first question.)

That last number, divided by the total number of shirts, 50, is the probability a shirt chosen at random would be of type A and size small.


Thanks for part (a)

how about part (b), given that they are in size S and look for probability to be in Shirt B
 
You know two events are independent if P(A|B) = P(A).

That is, knowing B doesn't change the probability of A.

This is a common assumption with coin tosses. Say there's a coin that has P(Heads) = 1/2.

If you have A = {1st coin toss is heads} and B = {2nd coin toss is heads}, then P(A and B) = P(A)*P(B).

Knowing that the first coin toss is heads does not give you any information about what the second coin toss will be.

In this particular example, if someone picks a shirt and tells you it's small, you don't know whether it's type A or B. The given information does not change the probability. Also vice versa, if you know that it's type A or B shirt, that doesn't help you determine whether it's small, medium or large.

So

P(Size | Type_of_shirt) = P(Size)
P(Type_of_shirt| Size) = P(Type_of_shirt)

Thus they are independent.
 
Back
Top