Are there any bounds for C? If 0 < (b - a) < 1, then it would mean there is an over 100% chance for a random variable.
Staffjamesfong1
@vhlee7 Good question. The answer here is that p(x) is a probability density function, not the probabilities themselves.
In this class, we don't really distinguish between the two. The only property we care about is that the total probability sums up to 1. The values themselves can exceed 1.
Consider this: if I pick a random value between 1 and 4, what is the probability I get exactly π? Surely a 0% chance, right? But wait, doesn't that mean that every value between 1 and 4 has probability 0%? What is going on?
If you are interested in learning more, I recommend CS70's notes on probability.
Are there any bounds for C? If 0 < (b - a) < 1, then it would mean there is an over 100% chance for a random variable.
@vhlee7 Good question. The answer here is that p(x) is a probability density function, not the probabilities themselves.
In this class, we don't really distinguish between the two. The only property we care about is that the total probability sums up to 1. The values themselves can exceed 1.
Consider this: if I pick a random value between 1 and 4, what is the probability I get exactly π? Surely a 0% chance, right? But wait, doesn't that mean that every value between 1 and 4 has probability 0%? What is going on?
If you are interested in learning more, I recommend CS70's notes on probability.