What is the probability of getting a score between 2 and 4?

Click For Summary
SUMMARY

The discussion focuses on calculating probabilities using a probability mass function (PMF) for a discrete random variable X with values 0, 2, 4, and 5, and corresponding probabilities of 0.15, 0.30, 0.30, and 0.25. The correct calculation for P[2 < X < 4] is confirmed to be 0, as there are no values between 2 and 4 in the distribution. For P[X ≤ 3], the correct answer is 0.15 + 0.30, resulting in a probability of 0.45. The distinction between cumulative distribution functions (CDF) and PMFs is emphasized, particularly regarding the use of less than (<) and less than or equal to (≤) symbols.

PREREQUISITES
  • Understanding of probability mass functions (PMF)
  • Knowledge of cumulative distribution functions (CDF)
  • Familiarity with discrete random variables
  • Basic concepts of probability theory
NEXT STEPS
  • Study the differences between PMF and CDF in detail
  • Learn how to calculate probabilities for binomial and Poisson random variables
  • Explore examples of discrete random variables and their PMFs
  • Practice problems involving cumulative probabilities and their interpretations
USEFUL FOR

Students learning probability theory, particularly those studying discrete random variables and their associated probability distributions. This discussion is beneficial for anyone seeking clarity on PMF calculations and the distinction between cumulative and non-cumulative probabilities.

Orphen89
Messages
26
Reaction score
0

Homework Statement



Let X be a random variable with PMF

x 0 2 4 5
p(x) 0.15 0.30 0.30 0.25

(The x values above are supposed to match up with the p(x) values)

Find P[2 < X < 4], P[X \leq 3]

The Attempt at a Solution



Okay, I kinda have an idea on how to do this, but I just want to make sure. To find P[2 < X < 4], I think it's basically just .3 + .3, since the PMF must equal 1 then you'd basically just have to add both p(x) values together. For P[X \leq 3], I think it's .15 + .2 (since both are less than 3). Are these answers correct, or am I completely wrong? (I have a bad feeling I am...)
 
Physics news on Phys.org
For the first one neither 2 nor 4 satisfy 2<x<4, do they? For the other one do you mean .15+.3? Or are you more confused than I think?
 
What you are trying to find is the cumulative distribution function (cdf) which is defined by:

P(X \leq x) = \sum_{y \leq x} p(y)

To use different numbers... say you want to find P(X \leq 2), it would be

P(X \leq 2) = p(0) + p(2) =...

but P(X &lt; 2) = p(0) \neq p(0) + p(2) = P(X \leq 2).

You're confusing the two symbols (<) less than or greater than and (<=) less than or equal to.

Edit: Also,

To find P[2 < X < 4], I think it's basically just .3 + .3, since the PMF must equal 1 then you'd basically just have to add both p(x) values together.

This is really irrelevant. By definition of a pmf, the sum of all possible p(x_i) = 1. Here you are confusing the symbols.
 
Last edited:
Dick said:
For the first one neither 2 nor 4 satisfy 2<x<4, do they? For the other one do you mean .15+.3? Or are you more confused than I think?

Yup, I was meant to write .15+.3 for the second one.

konthelion said:
What you are trying to find is the cumulative distribution function (cdf) which is defined by:

P(X \leq x) = \sum_{y \leq x} p(y)

To use different numbers... say you want to find P(X \leq 2), it would be

P(X \leq 2) = p(0) + p(2) =...

but P(X &lt; 2) = p(0) \neq p(0) + p(2) = P(X \leq 2).

Sorry, my class actually hasn't covered cdfs just yet (we've only done pmfs and are learning about binomial and poisson random variables at the moment). Do you know another way to do it with pmfs, or is it irrelevant in this case?
Also, from what I understand, in order to find P[2 < X < 4], you have to find P(3)? (Which is zero in this case?)

Thanks for all the help.
 
Orphen89 said:
Yup, I was meant to write .15+.3 for the second one.



Sorry, my class actually hasn't covered cdfs just yet (we've only done pmfs and are learning about binomial and poisson random variables at the moment). Do you know another way to do it with pmfs, or is it irrelevant in this case?
Also, from what I understand, in order to find P[2 < X < 4], you have to find P(3)? (Which is zero in this case?)

Thanks for all the help.

Right. It's zero. But you don't have to 'find P(3)'. There just aren't any points in your distribution that are strictly between 2 and 4.
 

Similar threads

Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
6
Views
2K
Replies
2
Views
1K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K