A credit model raises a warning signal for a borrower, and the signal is positive for percent of the borrowers who default. It is tempting to read this as a percent chance of default, but in a constructed model where percent of borrowers default and percent of the others also trigger the signal, the answer is about percent. The difference comes from which outcomes remain possible once the signal is seen and from the denominator that a conditional probability uses. This lesson sets up probability spaces and sigma algebras as the record of what can be observed, defines conditional probability on a finite information partition, and derives Bayes’ theorem to show how the base rate changes the meaning of a positive signal.
Key terms
Sigma algebra
Definition Let be a nonempty set of outcomes, also called states. A collection of subsets of is a sigma algebra if
Its members are the measurable events, the events to which a probability can be assigned. A sigma algebra also contains and is closed under countable intersections and under differences. The power set of , the collection of all subsets, is the largest sigma algebra on , and is the smallest, the trivial sigma algebra. For any collection of subsets, the sigma algebra generated by is the smallest sigma algebra that contains , the intersection of all sigma algebras that contain it. When is finite, closure under complements and finite unions is already enough.
In plain words A sigma algebra lists the yes or no questions about the outcome that are allowed. If a question about an event is allowed, so is the question whether the event failed to happen, and so is the question whether at least one of a sequence of allowed events happened. A smaller sigma algebra allows fewer questions and so describes coarser information.
Example In a constructed one-period credit model a borrower defaults () or not (), and a warning signal is positive () or negative (). The four states are , , and , and the letters also name events, with and for . The power set has events. An observer who sees only the signal can answer exactly the questions in
a sigma algebra with four events. The default event is not in , because the signal alone does not reveal whether default occurred. The collection is not a sigma algebra, since it lacks the complement .
Probability space
Definition A probability space is a triple made of a nonempty outcome set , a sigma algebra on and a probability measure on . A probability measure is a function from to with that is countably additive,
for pairwise disjoint events . It follows that , that , that when , and that . On a finite whose sigma algebra is the power set, a probability measure is the same thing as a list of state masses that add to , with . An event of probability zero is a null event, and a statement holds almost surely if it fails at most on a null event. A null event need not be empty. A random variable with a continuous distribution takes each single value with probability zero, yet it always takes some value. The same pair can carry several measures. In this course is the physical measure, and later lessons add a pricing measure that in general gives the same events different probabilities.
In plain words The outcome set says what could happen, the sigma algebra says which questions about it receive probabilities, and the measure assigns those probabilities consistently. Probabilities of separate possibilities add, and all possibilities together have probability one. The measure is a modeling choice, so two models can agree on the outcomes and the events and still disagree about the probabilities.
Example The credit model takes the power set as its sigma algebra and the state masses
which are positive and add to . They come from a default probability of and a signal that is positive for percent of defaults and for percent of nondefaults, by the multiplication rule of the conditional probability card. Additivity gives and . The probability that the borrower defaults or the signal is positive is , which matches the total mass of , and .
Information partition
Definition A partition of a finite set is a collection of nonempty, pairwise disjoint subsets , its blocks, whose union is . The sigma algebra that it generates consists of all unions of blocks, the empty union included, so it has events. Conversely, every sigma algebra on a finite is generated by exactly one partition, the partition into its atoms, where the atom containing a state is the intersection of all events of that contain . An information partition describes an observer who learns which block contains the true state and nothing more, so that the observer’s information is the sigma algebra generated by the partition. An event is -measurable, meaning that the observer can always tell whether occurred, exactly when it is a union of blocks, that is, when each block lies inside or is disjoint from it. A partition refines a partition when every block of lies inside a block of , which holds exactly when . A filtration is an increasing family of sigma algebras indexed by dates, and is the information available at date . On a finite a filtration amounts to a sequence of partitions, each refining the one before.
In plain words An information partition sorts the states into groups that the observer cannot tell apart. Learning more splits groups into smaller ones, and a filtration says that information accumulates and is never forgotten. A forecast made at a date may use only the events in that date’s sigma algebra.
Example In the credit model, suppose nothing is known at date , the signal is seen at date and the default status is revealed at date . The partitions are , then , then the four single states, and the generated sigma algebras have , and events, each containing the one before. The default event is a union of blocks only at date . Seeing the signal at date and then only the default status at date , with the signal forgotten, would not give a filtration, because the default partition does not refine the signal partition.
Conditional probability
Definition Let be a probability space and an event with . The conditional probability of an event given is
The map is again a probability measure on , and it gives probability , so the conditional probabilities of the blocks of any partition add to . Rearranging gives the multiplication rule . Events and are independent if , which for is equivalent to . Disjoint events with positive probabilities are never independent, since their intersection has probability while the product of their probabilities is positive. Given a finite partition whose blocks all have positive probability, the conditional probability of given this information is the random variable equal to on each block . It is measurable with respect to the information, and averaging it with the block probabilities gives back , which is the law of total probability. If the ratio is undefined. Conditioning on a null event, such as a continuous variable taking one exact value, needs densities or regular conditional distributions with their own assumptions and lies outside this lesson.
In plain words Conditioning on discards the states outside and rescales the mass that remains so that it adds to one. Only the part of inside counts in the numerator, because states in but outside have been ruled out.
Example Given a positive signal, only and remain, with total mass . Rescaling gives them the conditional probabilities
which add to , while and get . In the other direction, recovers the rate of positive signals among defaults. Default and the signal are not independent, since while .
Bayes’ theorem
Definition Let and be events with , and . Then
where, by the law of total probability,
The first formula holds because the joint mass can be written in two ways, , and the second because is the disjoint union of and . More generally, if partition into events of positive probability and , then for each
The prior , the likelihoods and and the posterior are all probabilities under one measure. The theorem is an identity within a specified model. It does not check that the prior and the error rates were estimated well, and it does not decide which measure belongs in a valuation, where a pricing measure may give default a different probability from the one under .
In plain words The probability of a positive signal among defaults and the probability of default among positive signals share a numerator, the mass of the states with both properties, but they have different denominators. Bayes’ theorem passes from one to the other by dividing the joint mass by the total mass of the observed event, which collects every way that event can occur.
Example In the credit model the inputs are , and . The total probability of a positive signal is
and the posterior is
A positive signal raises the default probability from percent to about percent, far below the percent rate of positive signals among defaults. The false positives from the large nondefault group, with mass , outweigh the true positives, with mass .
Base rate
Definition The base rate of an event is its unconditional probability in the model before the signal is observed, the prior in Bayes’ theorem. In a population model it is the fraction of members with the property . When and , Bayes’ theorem in odds form reads
so the posterior odds equal the likelihood ratio times the prior odds. The likelihood ratio describes the signal alone, and the base rate enters only through the prior odds. For a fixed positive likelihood ratio the posterior increases strictly with the base rate and tends to as the base rate tends to . Base-rate neglect is the error of judging the posterior from the signal alone, for example by reading as if it were , or the likelihood ratio as if it were the posterior odds. At the other extreme, a signal without false positives, one with and , gives for every base rate .
In plain words What a positive signal means depends on how common the event was to begin with. A signal that is nine times as likely among defaults as among nondefaults multiplies the odds of default by nine, and when the starting odds are small, nine times small can still be small.
Example The credit signal has likelihood ratio . With a base rate of the prior odds are , the posterior odds are and the posterior is . Keep the signal and raise the base rate to . The joint masses with a positive signal become and , and
In odds form, the prior odds become the posterior odds . The signal behaves the same way within each group as before, but the groups now have different sizes, and that alone moves the posterior from about percent to about percent.
Check yourself
- In the credit model with base rate , find the probability of default given a negative signal. Then average the two conditional default probabilities, after a positive and after a negative signal, with the probabilities of the two signals, and compare the result with the base rate.
Show the answer
The negative-signal states are and , with total mass . So
and a negative signal lowers the default probability from to about . Weighting the two conditional probabilities by the signal probabilities gives
which is the base rate, as the law of total probability requires. The conditional default probability given the signal is a random variable, equal to after a positive signal and after a negative one, and its mean is the unconditional probability.
- An analyst describes what a loss reviewer knows by the collection of events of the credit model. Is it a sigma algebra? If not, find the smallest sigma algebra that contains it and its partition, and say whether the reviewer always knows if default occurred and if the signal was positive.
Show the answer
It is not a sigma algebra. The complement of is missing, and so is the complement of . Any sigma algebra that contains and also contains their difference and the complement . These three sets partition , so the smallest such sigma algebra is generated by the partition into , and . It has events, namely , the three blocks, the three unions of two blocks , and , and . The default event is a union of blocks, so the reviewer always knows whether default occurred. The positive-signal event is not, since it splits the block . The reviewer learns the signal after a default but not after a nondefault.
- A lender’s borrowers fall into rating classes , and with base rates , and , and in a constructed model their one-year default probabilities are , and . A borrower defaults. Find the probability that the borrower came from each class. A colleague answers for class . What went wrong?
Show the answer
The classes partition the borrowers into events of positive probability, so the law of total probability gives
The joint masses are , and , and Bayes’ theorem divides each by . The posteriors are for , for and for , and they add to . The colleague normalized the three default probabilities as if the classes were equally common, which would be right only with base rates of each. Class is the riskiest, but it holds only a fifth of the borrowers, so its share of defaults is about , not .