Conditional probability choosing from the objects

Click For Summary

Discussion Overview

The discussion revolves around a conditional probability problem involving the selection of objects based on color and type. Participants analyze the correct approach to calculating the probability of selecting an X given that the object is red, exploring various interpretations and methods of calculation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes their initial approach to solving the problem, which involved calculating the probability of selecting a red object and then multiplying by the probability of selecting an X from the red objects.
  • Another participant points out that the original question directly provides the conditional probability P(X | red) as 3/7, suggesting that the first participant may have overlooked this direct answer.
  • A third participant distinguishes between the concepts of "A and B" (the probability of selecting an object that is both an X and red) and "A given B" (the probability of selecting an X given that the object is red), emphasizing the importance of defining probability spaces.
  • Further clarification is provided regarding the probability spaces involved, with an explanation of how the probabilities are computed differently depending on the context of the selection.
  • One participant summarizes that given the selection is red, there are 7 items, of which 3 are Xs, leading to the conclusion that P(X | red) = 3/7.
  • A final participant expresses gratitude for the assistance and acknowledges the need for further practice with probability problems.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the initial approach to the problem, with some arguing that the first participant misinterpreted the question while others provide clarifications on the concepts involved. The discussion remains unresolved regarding the initial misunderstanding of the problem.

Contextual Notes

Participants express uncertainty about the implications of their calculations and the definitions of probability spaces. There are unresolved questions about the correct interpretation of conditional probabilities and how they relate to the overall problem.

Who May Find This Useful

This discussion may be useful for individuals studying probability, particularly those seeking to understand conditional probabilities and the distinctions between different probability spaces.

Vital
Messages
108
Reaction score
4
Hello.
I am reading an online stats book, and there is the following question, which I solved incorrectly, and I think I understand what is my mistake, but I will be grateful for your explanation, if I have incorrectly detected the logic behind my mistake. I am weak at math (trying to improve it on my own - mainly the process of thinking and analyzing math problems), so I am coming here for help.)

Also, as I was analyzing my mistake, I came up with some other ones by thinking about other possible questions about choosing a red object for this particular problem. I am sorry for lengthy and a bit tangled explanation below.

Problem:
One of the following 30 items is chosen at random. What is the probability it is an X given that it is red? Put your answer in decimal form.
They give a picture, on which there are 7 red items (zeros and X's) and there are 3 red X-s. Also, there are two more colors - blue and pink, each containing Xs and 0s. The total number of X (red, blue, pink) = 13.

My solution:
I have solved the problem by first finding the probability of choosing a red object out of 30 objects:
P(red) = 7/30
And then multiplying this by the probability that X comes up out of these red ones:
P(X | red) = 3/7

Hence, the answer I gave was: P = P(red) x P(X|red) = 0.1

The book give the answer P(X | red) = 3/7 = 0.43

My explanation of my mistake - please, let me know if it is correct, or not:

(1) P = P(red) x P(X|red) = 0.1 this approach and hence the answer are wrong because

P(red) means that we first compute the probability of "taking out" one red object out of 30 objects, i.e. that is out first event.

And if then we multiply it by P(X | red), it means that we are trying to compute the second event of choosing any (not only red) X out of the now 29 objects, and, if that was a question, the correct approach would be:

P(red) x P(X | red) = (7 / 30) x (13 / 29)

But, when I wrote that, I realized that 13/29 might also be incorrect, because 7/30 might include the red X, and hence when computing the second event there might be less than 13 Xs left. Oops, I am stumbled here.

(2) On the other hand, if first we need to choose any red object, and then choose only a red X, the correct approach would be:

P(red) x P(red X | red) = (7 / 30) x (3 / 6) but here again a question - if we choose a red object in the first event and the probability is P(red) = (7 / 30), then P(red X | red) = (3 / 6) might be incorrect in the numerator as there might already be less than 3 red Xs, correct?

Thank you very much.
 
Physics news on Phys.org
Vital said:
What is the probability it is an X given that it is red? ...
P(X | red) = 3/7
I don’t understand how you missed this question. The question is asking for P(X|red) and you have P(X|red) right here. Why did you go on and multiply that by anything? It seems like the problem is that you somehow didn’t recognize that you already had the answer
 
  • Like
Likes   Reactions: FactChecker
You must make a distinction between two concepts:

1) The probability of "A and B" (In the example, the probability of choosing something that is both an X and Red)

2) The probability of "A given B" (In the example, the probability of choosing an X given you have chosen an object that is red).

Your first line of thinking looks like a correct calculation for the probability of "A and B", which can be computed by ##P(A \cap B) = P(A)P(B|A) = P(B) P(A|B)##.

In a probability problem, you should always define "probability spaces" A probability space consists of a set of "outcomes" and a probability "measure" on subsets of the outcomes. There may be several probability spaces involved in a single problem.

In the problem at hand, the set of "outcomes" in the overall probability space ##S## consists of the individual choices of objects. The probability measure defined on ##S## assigns a probability measure of 1/30 to each outcome.

The probability of "An X and a red object" is the probability measure of the subset of the outcomes in ##S## consisting of the 3 red X's. This set had measure 3/30.

The phrase "The probability of an X given the object is red" refer to a different probability space than ##S##. It refers to a probability space ##S_R## whose set outcomes consist only of the red objects. The probability measure of an outcome in ##S_R## is defined by dividing the probability measure of an outcome in ##S## by the probability measure of the set ##S_R## in ##S##. The probability measure of an outcome in ##S_R## is (1/30)/(7/30) = 1/7.

The probability of the set of outcomes consisting of 3 red X's as a subset of ##S_R## is 3/7.

Conditional probability is a confusing concept because both ##P(A \cap B)## and ##P(A|B)## involve the same set of outcomes. In the problem at hand, both concepts involve finding the probability of 3 red X's. In general, both concepts involve the set ##A \cap B##. However, the two concepts ask for probabilities in different probability spaces. In computing ##P(A|B)## we consider a probability space where the only possible outcomes are those in set ##B ##. ##\ ## In computing ##P(A \cap B)## we consider a larger probability space, which may include outcomes not in set ##B##.

There are other ways to explain the distinction between ##P(A \cap B## and ##P(A|B)## anecdotally. One can tell stories about "For ##P(X | red)## you know you have chosen one of the 7 red objects so... " etc. ##\ ## Yet the fundamental mathematical reason for the distinction between ##P(A \cap B)## and ##P(A|B)## is that ##P(A|B)## is defined to involve a different probability space than ##P(A \cap B)##.
 
Last edited:
  • Like
Likes   Reactions: Vital, FactChecker and Dale
Given the item is red leaves you with 7 (red) items. Out of these 7 items, there are 3 Xs. So, the probability of selecting X given red is 3/7. If the question is what is the probability of selecting X, then you say P(X) = P(X/red)P(red) + P(X/blue)P(blue) +...
 
Thank you all very much for your help. I have to do much more exercises to get to grips with probability problems.
 
  • Like
Likes   Reactions: Dale

Similar threads

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