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

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.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top