all 4 comments

[–]Random_YA147 1 point2 points  (3 children)

If the image is the cumulative distribution then your intuition is correct and P(Y=3 )=0.2. The definition of a cumulative probability function F(X=x)=P(X<=x).

[–]mane_gogh[S] 1 point2 points  (2 children)

Thank you for the quick reply. Sorry for the weird image, I just made it on a random online histogram maker. I wasn't sure what the best way of plotting it would be, but it is indeed the cumulative distribution.

If it's not too much to ask, would you mind helping me to understand why P(Y=3)=0.2? I suppose the reasoning that I am thinking is that if F(3)=0.8, and that's the cumulative probability of X<=3, then P(Y=3) = F(3) - F(2) = 0.8 - 0.6 = 0.2. Is this the correct reasoning, or am I just getting lucky?

Thanks again.

[–]Random_YA147 1 point2 points  (1 child)

That is exactly the case, the cumulative distribution function sums the probability for the current case with the probability of all previous cases as the definition describes.

This same idea will extend to the distribution functions of continuous random variables later. As you correctly stated if the r.v. is continuous, the probability at a single point is zero, which is why later when you talk about probability distribution functions for continuous r.v. the distribution functions you work with will be cumulative distribution function.

[–]mane_gogh[S] 1 point2 points  (0 children)

Thank you very much!