In a constructed model of a service desk, 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 , while waiting exactly half a minute has probability , even though it can happen. A density alone cannot describe the first fact, and the point probabilities alone add up to only , so they cannot describe how the remaining 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 has a point mass, also called an atom, at a real number if
and the number is the mass at . For each positive integer , fewer than values can have mass greater than , since the masses of distinct values add to at most . So a distribution has at most countably many atoms. The distribution that puts probability on the single value , the law of the constant random variable equal to , is also called the point mass at .
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 . 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 in minutes at the service desk, , so has an atom at with mass . It has no other atom. Every time with can occur, but , as the card on probability-zero events shows. A fair die roll, by contrast, has six atoms of mass each and no continuous part.
Mixed distribution
Definition A random variable has a mixed distribution, in the sense used in this course, if it has atoms with masses and there is a function such that for all real numbers
where the total atom mass satisfies and the total area under is . Equivalently, with probability the value of comes from the discrete distribution with masses , and with probability it comes from the continuous distribution with density . A mixed has no density at all, because a variable with a density gives every single value probability . The function 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 , and together they add to . The continuous part carries only its own weight , not a full unit of probability.
Example The waiting time has the atom with mass , and for with elsewhere. The area under is , and . Given , the waiting time is uniform on . Its CDF has three pieces.
| Threshold | |
|---|---|
So , where the atom contributes and the continuous part contributes . Among requests that wait at all, the share that waits at most half a minute is
which uses . This answer and refer to different groups of requests. If instead percent were handled at once and the positive waits kept the same uniform law, then .
Left limit of a CDF
Definition Let be the CDF of a random variable and let be a real number. The left limit of at is
the limit as increases to through values . The superscript means from below and does not make negative. The limit exists because is nondecreasing and bounded, and it equals , because the events increase to . So
and for the closed interval has .
In plain words The left limit is the level the CDF approaches just before reaching . It counts all the probability strictly below and leaves out any mass at itself, while includes that mass. Whether an endpoint belongs to an event decides which of the two to use.
Example For the waiting time, for every , so , while . Hence
but . The two events differ only by the value , and the answers differ by its mass . At the left limit is , which equals , so including or excluding the endpoint changes nothing.
CDF jump
Definition The jump of the CDF of a random variable at a real number is
since . So is continuous at exactly when , the atoms of are exactly the points where jumps, and each jump size is the mass of its atom. Because is right-continuous, 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 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 .
Example The waiting-time CDF jumps by at and has no other jump. At it reaches continuously, since . An atom can also sit at the top of a range. In a constructed model, a load in kilograms is uniform on , and a scale that cannot show more than displays . Then for , for , and for . The jump at is
which is . The displayed reading has an atom at and a continuous part of weight .
Probability-zero event
Definition An event with is a probability-zero event, also called a null event. The empty event has probability , but a probability-zero event need not be empty. If the CDF of is continuous at , then has probability even when is a value that can take, because
for every , and the right side tends to as decreases to . A countable union of probability-zero events again has probability . The formula requires , 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 , 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 and minute can occur. For each with , the interval contains and has probability . So for every such , which forces . The event that is a positive rational number is the countable union of the events over positive rational , each of probability , so it also has probability . If waiting times are recorded to the nearest tenth of a minute with halves rounded up, the recorded value means , an event of probability .
Almost surely
Definition An event happens almost surely if , which is the same as . Random variables and are equal almost surely if . An almost sure event can fail on a nonempty set of outcomes, as long as that set has probability . When the sample space is finite or countable and every outcome has positive probability, the only probability-zero event is , 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 . Its CDF is continuous, so and . So almost surely, although is a value can take. For the waiting time, almost surely, while is not almost sure, since . A variable that equals except that the value is replaced by is equal to almost surely and has the same distribution.
Check yourself
- In a constructed model, percent of tasks finish immediately, so the completion time in minutes has an atom at with mass . The other percent have a completion time uniform on . Find , and .
Show the answer
By minutes all immediate tasks have finished, and so has the share of the others. So
The open interval excludes the atom at and lies below the continuous part, so . The value lies inside and is not an atom, so .
- For the same , write the CDF as a table. Use it to find and , and find .
Show the answer
The CDF is below , jumps to at , stays flat until , rises with slope until , and then stays at .
| Threshold | |
|---|---|
So , while . The two answers differ by the jump at . Since , the conditional probability is defined, and
Among tasks that do not finish immediately, half finish by minutes, the midpoint of .
- A student says that every random variable has , because a single value has probability zero. Give a counterexample from question 1, and find every for which the equation does hold for that . Then decide whether means that a completion time of exactly minutes is impossible in the model.
Show the answer
The equation fails at , since but . In general the difference is , the jump of the CDF at . For this the only atom is , so the equation holds for every and fails only at .
The event has probability , but it is not impossible. The value lies inside the interval where the continuous part has positive density, and every interval with has probability . What is true is that almost surely.