Unit 9, lesson 61

Point Probabilities and Mixed Distributions

How a point mass puts positive probability on one value, how a mixed distribution adds a spread-out part, how CDF jumps and left limits give point probabilities, and what probability zero and almost surely mean.

  • Video 61
  • Densities and Mixed Distributions

In a constructed model of a service desk, 2020 percent of requests are handled at once and the rest wait a time spread evenly over the first minute. Waiting exactly zero then has probability 0.20.2, while waiting exactly half a minute has probability 00, even though it can happen. A density alone cannot describe the first fact, and the point probabilities alone add up to only 0.20.2, so they cannot describe how the remaining 0.80.8 is spread over the minute. This lesson puts both kinds of probability into one distribution, reads point probabilities from the jumps of its CDF, and separates events of probability zero from impossible events.

Key terms

Point mass

Definition A random variable XX has a point mass, also called an atom, at a real number aa if

P(X=a)>0,P(X = a) > 0,

and the number P(X=a)P(X = a) is the mass at aa. For each positive integer nn, fewer than nn values can have mass greater than 1/n1/n, since the masses of distinct values add to at most 11. So a distribution has at most countably many atoms. The distribution that puts probability 11 on the single value aa, the law of the constant random variable equal to aa, is also called the point mass at aa.

In plain words An atom is a single value that holds a positive share of probability by itself. A discrete distribution is made entirely of atoms. A distribution with a density has none, because a density spreads probability over intervals and gives each single value probability 00. A density height is not a point mass, so an atom is drawn as a separate labeled spike or dot, not as part of a density curve.

Example For the waiting time TT in minutes at the service desk, P(T=0)=0.2P(T = 0) = 0.2, so TT has an atom at 00 with mass 0.20.2. It has no other atom. Every time tt with 0<t<10 < t < 1 can occur, but P(T=t)=0P(T = t) = 0, as the card on probability-zero events shows. A fair die roll, by contrast, has six atoms of mass 16\tfrac16 each and no continuous part.

Mixed distribution

Definition A random variable XX has a mixed distribution, in the sense used in this course, if it has atoms a1,a2,…a_1, a_2, \dots with masses m1,m2,…m_1, m_2, \dots and there is a function h≥0h \ge 0 such that for all real numbers c<dc < d

P(c<X≤d)=∑c<ai≤dmi+∫cdh(x) dx,\begin{aligned} &P(c < X \le d) \\[0.4em] &\quad = \sum_{c < a_i \le d} m_i + \int_c^d h(x)\,dx, \end{aligned}

where the total atom mass M=∑imiM = \sum_i m_i satisfies 0<M<10 < M < 1 and the total area under hh is 1−M1 - M. Equivalently, with probability MM the value of XX comes from the discrete distribution with masses mi/Mm_i / M, and with probability 1−M1 - M it comes from the continuous distribution with density h/(1−M)h / (1 - M). A mixed XX has no density at all, because a variable with a density gives every single value probability 00. The function hh describes only the continuous part.

In plain words Part of the probability sits on single values and the rest is spread out. The two parts are kept apart in the bookkeeping, the atoms by their masses and the spread part by the area under hh, and together they add to 11. The continuous part carries only its own weight 1−M1 - M, not a full unit of probability.

Example The waiting time TT has the atom 00 with mass M=0.2M = 0.2, and h(t)=0.8h(t) = 0.8 for 0<t<10 < t < 1 with h(t)=0h(t) = 0 elsewhere. The area under hh is 0.80.8, and 0.2+0.8=10.2 + 0.8 = 1. Given T>0T > 0, the waiting time is uniform on (0,1)(0, 1). Its CDF FT(t)=P(T≤t)F_T(t) = P(T \le t) has three pieces.

ThresholdFT(t)F_T(t)
t<0t < 000
0≤t<10 \le t < 10.2+0.8t0.2 + 0.8t
t≥1t \ge 111

So P(T≤0.5)=0.2+0.4=0.6P(T \le 0.5) = 0.2 + 0.4 = 0.6, where the atom contributes 0.20.2 and the continuous part contributes 0.8⋅0.5=0.40.8 \cdot 0.5 = 0.4. Among requests that wait at all, the share that waits at most half a minute is

P(T≤0.5∣T>0)=0.40.8=0.5,\begin{aligned} &P(T \le 0.5 \mid T > 0) \\[0.4em] &\quad = \frac{0.4}{0.8} = 0.5, \end{aligned}

which uses P(T>0)=0.8>0P(T > 0) = 0.8 > 0. This answer and 0.60.6 refer to different groups of requests. If instead 4040 percent were handled at once and the positive waits kept the same uniform law, then P(T≤0.5)=0.4+0.6⋅0.5=0.7P(T \le 0.5) = 0.4 + 0.6 \cdot 0.5 = 0.7.

Left limit of a CDF

Definition Let FF be the CDF of a random variable XX and let aa be a real number. The left limit of FF at aa is

F(a−)=lim⁡t→a−F(t),F(a^-) = \lim_{t \to a^-} F(t),

the limit as tt increases to aa through values t<at < a. The superscript means from below and does not make aa negative. The limit exists because FF is nondecreasing and bounded, and it equals P(X<a)P(X < a), because the events {X≤a−1/n}\{X \le a - 1/n\} increase to {X<a}\{X < a\}. So

P(X<a)=F(a−),P(X≥a)=1−F(a−),\begin{gathered} P(X < a) = F(a^-), \\[0.4em] P(X \ge a) = 1 - F(a^-), \end{gathered}

and for a≤ba \le b the closed interval has P(a≤X≤b)=F(b)−F(a−)P(a \le X \le b) = F(b) - F(a^-).

In plain words The left limit is the level the CDF approaches just before reaching aa. It counts all the probability strictly below aa and leaves out any mass at aa itself, while F(a)F(a) includes that mass. Whether an endpoint belongs to an event decides which of the two to use.

Example For the waiting time, FT(t)=0F_T(t) = 0 for every t<0t < 0, so FT(0−)=0F_T(0^-) = 0, while FT(0)=0.2F_T(0) = 0.2. Hence

P(0<T≤0.5)=FT(0.5)−FT(0)=0.6−0.2=0.4,\begin{aligned} &P(0 < T \le 0.5) \\[0.4em] &\quad = F_T(0.5) - F_T(0) \\[0.4em] &\quad = 0.6 - 0.2 = 0.4, \end{aligned}

but P(0≤T≤0.5)=FT(0.5)−FT(0−)=0.6P(0 \le T \le 0.5) = F_T(0.5) - F_T(0^-) = 0.6. The two events differ only by the value 00, and the answers differ by its mass 0.20.2. At 0.50.5 the left limit is 0.2+0.8⋅0.5=0.60.2 + 0.8 \cdot 0.5 = 0.6, which equals FT(0.5)F_T(0.5), so including or excluding the endpoint 0.50.5 changes nothing.

CDF jump

Definition The jump of the CDF FF of a random variable XX at a real number aa is

F(a)−F(a−)=P(X=a),F(a) - F(a^-) = P(X = a),

since P(X≤a)−P(X<a)=P(X=a)P(X \le a) - P(X < a) = P(X = a). So FF is continuous at aa exactly when P(X=a)=0P(X = a) = 0, the atoms of XX are exactly the points where FF jumps, and each jump size is the mass of its atom. Because FF is right-continuous, F(a)F(a) is the upper level at a jump. The CDF of a mixed distribution rises in two ways, by jumps at its atoms and continuously as area under hh accumulates.

In plain words A vertical step in the graph of a CDF marks a single value that holds probability, and the height of the step is that probability. A steep but unbroken rise is not a jump. It means a large amount of probability on a short stretch, as with a high density, and each single value there still has probability 00.

Example The waiting-time CDF jumps by 0.20.2 at 00 and has no other jump. At 11 it reaches 11 continuously, since FT(1−)=0.2+0.8=1=FT(1)F_T(1^-) = 0.2 + 0.8 = 1 = F_T(1). An atom can also sit at the top of a range. In a constructed model, a load XX in kilograms is uniform on (0,10)(0, 10), and a scale that cannot show more than 88 displays Y=min⁡(X,8)Y = \min(X, 8). Then FY(y)=0F_Y(y) = 0 for y<0y < 0, FY(y)=y/10F_Y(y) = y/10 for 0≤y<80 \le y < 8, and FY(y)=1F_Y(y) = 1 for y≥8y \ge 8. The jump at 88 is

FY(8)−FY(8−)=1−0.8=0.2,\begin{aligned} &F_Y(8) - F_Y(8^-) \\[0.4em] &\quad = 1 - 0.8 = 0.2, \end{aligned}

which is P(Y=8)=P(X≥8)P(Y = 8) = P(X \ge 8). The displayed reading has an atom at 88 and a continuous part of weight 0.80.8.

Probability-zero event

Definition An event AA with P(A)=0P(A) = 0 is a probability-zero event, also called a null event. The empty event ∅\varnothing has probability 00, but a probability-zero event need not be empty. If the CDF FF of XX is continuous at aa, then {X=a}\{X = a\} has probability 00 even when aa is a value that XX can take, because

P(X=a)≤F(a)−F(a−ε)\begin{aligned} &P(X = a) \\[0.4em] &\quad \le F(a) - F(a - \varepsilon) \end{aligned}

for every ε>0\varepsilon > 0, and the right side tends to F(a)−F(a−)=0F(a) - F(a^-) = 0 as ε\varepsilon decreases to 00. A countable union of probability-zero events again has probability 00. The formula P(A∣B)=P(A∩B)/P(B)P(A \mid B) = P(A \cap B)/P(B) requires P(B)>0P(B) > 0, so it cannot condition on a probability-zero event.

In plain words Probability zero means the model gives the event no share of probability, not that the event cannot happen. An impossible event always has probability 00, but the converse is false in general, and continuous models give many counterexamples. These statements concern an idealized exact quantity. A measurement recorded to a fixed number of digits has a discrete set of recorded values, and each of them can have positive probability.

Example Every waiting time between 00 and 11 minute can occur. For each ε\varepsilon with 0<ε≤0.50 < \varepsilon \le 0.5, the interval (0.5−ε,0.5](0.5 - \varepsilon, 0.5] contains 0.50.5 and has probability 0.8ε0.8\varepsilon. So P(T=0.5)≤0.8εP(T = 0.5) \le 0.8\varepsilon for every such ε\varepsilon, which forces P(T=0.5)=0P(T = 0.5) = 0. The event that TT is a positive rational number is the countable union of the events {T=r}\{T = r\} over positive rational rr, each of probability 00, so it also has probability 00. If waiting times are recorded to the nearest tenth of a minute with halves rounded up, the recorded value 0.50.5 means 0.45≤T<0.550.45 \le T < 0.55, an event of probability 0.8⋅0.1=0.080.8 \cdot 0.1 = 0.08.

Almost surely

Definition An event AA happens almost surely if P(A)=1P(A) = 1, which is the same as P(Ac)=0P(A^{c}) = 0. Random variables XX and YY are equal almost surely if P(X=Y)=1P(X = Y) = 1. An almost sure event can fail on a nonempty set of outcomes, as long as that set has probability 00. When the sample space Ω\Omega is finite or countable and every outcome has positive probability, the only probability-zero event is ∅\varnothing, and almost surely means surely.

In plain words Almost surely means with probability one under the model. It is weaker than logical certainty, since exceptions may exist as long as together they carry no probability.

Example Let U∼Uniform⁡(0,1)U \sim \operatorname{Uniform}(0, 1). Its CDF is continuous, so P(U=1/2)=0P(U = 1/2) = 0 and P(U≠1/2)=1−0=1P(U \ne 1/2) = 1 - 0 = 1. So U≠1/2U \ne 1/2 almost surely, although 1/21/2 is a value UU can take. For the waiting time, T≠0.5T \ne 0.5 almost surely, while T>0T > 0 is not almost sure, since P(T>0)=0.8P(T > 0) = 0.8. A variable that equals TT except that the value 0.50.5 is replaced by 0.60.6 is equal to TT almost surely and has the same distribution.

Check yourself

  1. In a constructed model, 3030 percent of tasks finish immediately, so the completion time TT in minutes has an atom at 00 with mass 0.30.3. The other 7070 percent have a completion time uniform on (2,4)(2, 4). Find P(T≤3)P(T \le 3), P(0<T<2)P(0 < T < 2) and P(T=3)P(T = 3).
Show the answer

By 33 minutes all immediate tasks have finished, and so has the share (3−2)/(4−2)=12(3 - 2)/(4 - 2) = \tfrac12 of the others. So

P(T≤3)=0.3+0.7⋅12=0.65.\begin{aligned} P(T \le 3) &= 0.3 + 0.7 \cdot \tfrac12 \\[0.4em] &= 0.65. \end{aligned}

The open interval (0,2)(0, 2) excludes the atom at 00 and lies below the continuous part, so P(0<T<2)=0P(0 < T < 2) = 0. The value 33 lies inside (2,4)(2, 4) and is not an atom, so P(T=3)=0P(T = 3) = 0.

  1. For the same TT, write the CDF FTF_T as a table. Use it to find P(0<T≤3)P(0 < T \le 3) and P(0≤T≤3)P(0 \le T \le 3), and find P(T≤3∣T>0)P(T \le 3 \mid T > 0).
Show the answer

The CDF is 00 below 00, jumps to 0.30.3 at 00, stays flat until 22, rises with slope 0.7/2=0.350.7/2 = 0.35 until 44, and then stays at 11.

ThresholdFT(t)F_T(t)
t<0t < 000
0≤t<20 \le t < 20.30.3
2≤t<42 \le t < 40.3+0.35(t−2)0.3 + 0.35(t - 2)
t≥4t \ge 411

So P(0<T≤3)=FT(3)−FT(0)=0.65−0.3=0.35P(0 < T \le 3) = F_T(3) - F_T(0) = 0.65 - 0.3 = 0.35, while P(0≤T≤3)=FT(3)−FT(0−)=0.65−0=0.65P(0 \le T \le 3) = F_T(3) - F_T(0^-) = 0.65 - 0 = 0.65. The two answers differ by the jump 0.30.3 at 00. Since P(T>0)=0.7>0P(T > 0) = 0.7 > 0, the conditional probability is defined, and

P(T≤3∣T>0)=0.350.7=0.5.\begin{aligned} &P(T \le 3 \mid T > 0) \\[0.4em] &\quad = \frac{0.35}{0.7} = 0.5. \end{aligned}

Among tasks that do not finish immediately, half finish by 33 minutes, the midpoint of (2,4)(2, 4).

  1. A student says that every random variable has P(X≤a)=P(X<a)P(X \le a) = P(X < a), because a single value has probability zero. Give a counterexample from question 1, and find every aa for which the equation does hold for that TT. Then decide whether P(T=3)=0P(T = 3) = 0 means that a completion time of exactly 33 minutes is impossible in the model.
Show the answer

The equation fails at a=0a = 0, since P(T≤0)=FT(0)=0.3P(T \le 0) = F_T(0) = 0.3 but P(T<0)=FT(0−)=0P(T < 0) = F_T(0^-) = 0. In general the difference P(X≤a)−P(X<a)P(X \le a) - P(X < a) is P(X=a)P(X = a), the jump of the CDF at aa. For this TT the only atom is 00, so the equation holds for every a≠0a \ne 0 and fails only at a=0a = 0.

The event {T=3}\{T = 3\} has probability 00, but it is not impossible. The value 33 lies inside the interval where the continuous part has positive density, and every interval (3−ε,3](3 - \varepsilon, 3] with 0<ε≤10 < \varepsilon \le 1 has probability 0.35ε>00.35\varepsilon > 0. What is true is that T≠3T \ne 3 almost surely.

How this lesson connects