Conditional probability for random variable

Click For Summary
The discussion revolves around calculating conditional probabilities for a random variable X using its cumulative distribution function (CDF). The user successfully calculates P(X≤1.5|X<2) as 1 and P(X≤1.5|X≤2) as 2/3, but expresses confusion about calculating P(X=-2| |X|=2). Clarification is provided that P(|X|=2) involves summing P(X=2) and P(X=-2), leading to the conclusion that P(X=2| |X|=2) is 2/3. The user acknowledges a mistake in their earlier probability statement and confirms that their calculations and reasoning are mostly correct.
libelec
Messages
173
Reaction score
0

Homework Statement



For the random variable X with the following cumulative distribution function:

opyr9.png


Calculate P(X\leq1.5|X<2), P(X\leq1.5|X\leq2) and P(X = -2| |X|=2)

The Attempt at a Solution



This is an exercise about a subject I'm yet to see in class, but the teacher asked us to give it a try. I understand for conditional probability with random variables that P(X\leqa| X\leqb) = (P(X\leqa, X\leqb)/(P(X\leqb)), that is, the probability for the intesection of X\leqa and X\leqb divided by the probability of X\leqb.

For the first case, the intersection is X\leq1.5, and P(X\leq1.5) = 2/3 acording to the CDF. And P(X<2) is also 2/3, so P(X\leq1.5|X<2) = 1.

For the second case, the intersection is again X\leq1.5 and its probability is 2/3, but now, due to the jump in the function for X = 2, P(X\leq2) = 1. So P(X\leq1.5|X\leq2) = 2/3.

I don't know if what I'm doing is right or not. I've checked some text, but the exercises are mostly done through the distribution of probability function, not the CDF.

And for the third case I'm confused, since I have no idea how to calculate P(|X|= 2). Is it the sum of P(X=2) and P(X=-2) (since I can think |X|= 2 as (X=2 v X=-2), so the P(X=2 v X=-2) = P(X=2) + P(X=-2), taking into account that those are disjoint events)?

Thanks.
 
Physics news on Phys.org
Anyone?
 
For the last part, you want the probability that X=2 given that |X|=2.

So there are two possibilities:
X=-2, X=2. These are disjoint events, each with a non-zero probability, and you want to know that given X is 2 or -2, what's the probability that it's two. There isn't really anything involving distributions here other than reading P(X=2) and P(X=-2) off of the graph
 
Office_Shredder said:
For the last part, you want the probability that X=2 given that |X|=2.

So there are two possibilities:
X=-2, X=2. These are disjoint events, each with a non-zero probability, and you want to know that given X is 2 or -2, what's the probability that it's two. There isn't really anything involving distributions here other than reading P(X=2) and P(X=-2) off of the graph

Right, so it's P(X=-2)/(P(X=-2) + P(X=2)) = (1/3)/(1/3 + 2/3) = 1/3. Is this OK?

And are the other calculations (and most importantly, the reasoning behind them) OK as well?

Thanks.
 
Except that the probability that X=2 is not 2/3

Your other calculations look good

EDIT: I typed the wrong number for what the probability that X=2 isn't.
 
Last edited:
OK, thank you.
 
I apologize. I typed the wrong number in my last post, it was supposed to say that P(X=2) is not 2/3 like you had in your calculation.
 

Similar threads

Replies
8
Views
1K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K