Before you readA patient’s temperature is measured to infinite precision. What is the probability that it is exactly 37 °C?
Watch: Why “probability of 0” does not mean “impossible” · 3Blue1Brown · Probabilities of probabilities, part 2
A random variable X is a number that depends on chance: a dice roll, a blood pressure, a pixel value. Its distribution says how likely each value is.
A discrete variable has a probability mass function with
A continuous variable has a density Probability is area under the density:
So a density is not a probability. It can be larger than 1, and any single value has probability 0, which answers the question above. The cumulative distribution function is
Two variables have a joint distribution The rules from the last section carry over, with integrals in place of sums for continuous variables:
The first is the marginal of X. X and Y are independent when for every x and y.
P(-1 ≤ X ≤ 1) = 0.683p(0) = 0.399
Recall
How do you get a probability from a density Recall
Can a density be larger than 1?Recall
How do you get the marginal from a joint Exercise
X has density for and 0 elsewhere. Find Exercise
With the same density, find Exercise
X and Y are each 0 or 1, with and where means Give and then to three decimal places.