Probability Spaces and Filtrations
Week 1
Readings
General Probability Theory
Infinite Probability Spaces
Let’s define an infinite probability space . This sample space is uncountably infinite, which means that the probability of any particular outcome is zero. Therefore, in order to determine the probability of an event, we define the formula for the probability of certain simple events, then use probability measures to determine the probability of more complicated events.
-algebras form the basis of these simple events:
Lebesgue Measures
The probability of picking a number in between ⅓ and ⅔ is ⅔ - ⅓ = ⅓. This is also true for open intervals because the probability of an individual point occurring is 0.
We can apply -algebras to the Lebesgue measure by generating a -algebra from the collection of all closed intervals in our interval, like:
and so on. Open intervals can be defined as a union of a sequence of closed intervals, so these are included as well. The -algebra generated by this process is the Borel -algebra, specifically of the subset , which is . The Borel -algebra is a well-defined set of events (remember, an event is a set) where the outcome is a real number. In this context, under the rules of -algebras, an event is an interval, a union of intervals, a complement of an interval, or any combination of these.
Coin Tosses
Let’s think about coin tosses. Through filtration (see notes), we can define the probability of every event that can be described as a finite number of coin tosses. We can determine the probability of every individual sequence in by showing that their probabilities converge to zero since they are fractions that multiply together infinitely.
We can use the rules of -algebras and probability measures to determine the probability of each of these events, like how the probability measure of the union of disjoint events (remember, events are sets) is equivalent to the summation of the probability measures of each event.
There are some events that are not easily computed unless we define them in this respect. Consider
which describes all sequences of tosses where the long-run probability of choosing heads is ½. This set must be in so we can determine its probability measure. If we choose positive integers and , we can define
where this set is in i.e. that step in the filtration. We can define this as a combination of sets if we recognize that for each threshold , there is an where for all after i.e. for all sufficiently long sequences after a certain point, the average of the sequence meets the threshold, following the definition of a limit. By considering intersections as “all of these are true” and unions as “at least one must be true”, we can define this as
By using the law of large numbers (large enough sequences will converge to the true value), we can see that for probability of ½, i.e. that the probability of an outcome belonging to this set is 1
Note here that this is not the same thing as saying that every outcome occurs in this set. We can easily imagine outcomes that do not. However, any individual event has a probability of 0 of occurring, so all those exceptional events together have a probability of 0. The way we describe this technically is that the event corresponding to the set with probability measure of 1 occurs almost surely.
Random Variables and Distributions
Let’s define a random variable in the context of all this measure theory. We’ll generalize the random variable to a function with the property that (in probability space
where is a Borel subset of , this subset of is in -algebra . Essentially, this defines as a function mapping outcome to a Borel subset i.e. an interval or combination of intervals on the real number line. This is the formal way to turn probability measures into actual numbers (see dice example from lecture notes).
We are not interested in taking a specific value as that will typically be 0, so we will usually talk about the probability that .
Stock Prices
Let’s consider the binomial asset pricing model where , , and , which is generalized as
i.e. the stock price doubles on heads and halves on tails. Let’s think of the probability of the stock price now as the distribution of mass. occurs with probability one, so this random variable has a unit of mass on 4. If we move two step forwards, , and , where and are the probabilities of and , respectively. There are three lumps of mass distributed between 16, 4, and 1, each with the size of their probabilities. Now let’s think of spreading that mass continuously. The distribution of a random variable is about the amount of mass in a set. This distribution measure of random variable is a probability measure , but it is done on rather than subsets of . In other words, it measures the probability of being in a particular Borel subset.
Random variables have distributions, but they are not the same thing. The variable is the mapping between the outcome and the real number line i.e. a function, and the distribution is a measure of the probability that the variable is a certain value, or more generally, in a certain Borel subset. A random variable can have two different distributions and two different random variables can have the same distribution. Consider as the uniform measure of . We have two random variables and . The distribution measure of is uniform, which means that all outcomes are equally likely. The distribution measure of is also uniform, despite being different from , they’re both .
Now instead let’s define as
This is still a probability measure on because . If you take a Borel subset of this interval, you can calculate its probability measure through the properties of probability measures applied to each interval that is unioned or complemented.
The distribution measure is one way to record a distribution. The other is the cumulative distribution function
The difference is that distribution measure is a direct mapping of the idea of probability measure onto the Borel subset, while the cdf is a distribution measure on the specific Borel subset . It can also be converted backwards as
Through the rules of probability measures, when the distribution measure is determined for every interval in , then it is determined for every Borel subset of .
We can also get more detail on the distribution in two special functions.
We can have a density function
which describes the distribution through its integral.
The probability mass function tells us that a random variable takes one of the values in a particular sequence with probability 1. You could imagine, for instance, if , there is a probability of 1 that is one of the values in the sequence of squared numbers. Strictly, this is defined where and .
The sequence of numbers is a Borel subset.
Random variables can be described by a density, a probability mass function, both, or neither. This last one is very advanced.
Let’s define the standard normal density:
and the cumulative normal distribution function as
This function is strictly increasing and maps to and has a strictly increasing inverse function . Let’s consider the uniformly distributed random variable on probability space , and .
The distribution measure is the probability measure that is in the interval defined. The distribution measure of therefore is , which means that the distribution measure is because is uniformly distributed, which is the same as
.
This distribution measure is known as the standard normal distribution, and any random variable with this distribution is a standard normal random variable. This technique of generating a standard normal random variable is called the probability integral transform and it is essential to Monte Carlo simulation.
A simpler way to get a standard normal random variable is to take this integral from arbitrary and as a probability measure for the random variable . This method works for any distribution, but it is not useful when we have multiple random variables with their own distributions and dependencies. For those cases we need a single probability space.
Expectation
We are interested in computing an “average value” of in a probability space. For a finite , this is trivially:
The same can be done for a countably infinite .
However, if is uncountably infinite, expectation must be defined as an integral.
First, let’s consider the Riemann integral. This involves partitioning the area under the function in ever smaller subintervals and adding them up, which gets closer and closer to the true integral. There is an upper Riemann sum based on the maximum of the areas and lower based on the minimum, which both converge to the Riemann integral.
The reason we can’t use the Riemann integral for expectation is that our x-axis is , which is not necessarily a subset of . We instead must partition the y-axis.
We have defined this as a Lebesgue sum, which is the sum of
Lecture Notes
-algebras
The set of possible outcomes is the sample space . If you flip a coin, the sample space is
We are interested in the probability of events, which might be more complicated than an outcome. A -algebra is a set of elements that belong to the powerset of . The empty set must belong to it, all complements of sets must belong there, and the unions of all the composite sets must also belong there.
The -algebra MUST contain and , and this particular algebra is called the trivial -algebra because it is the simplest possible one. This might be confusing because can represent both the standard deviation and the algebra, so use your brain for context.
A fancier -algebra could be generated from a set contained in it, which would be
Trick question: if I have a set , what is it? It’s actually the same just with
A different question is . This would start with generators
The number of elements in -algebra can be found as 2 to the power of the number of distinct regions. For disjoint and , this is 3.
What about joint and like a Venn diagram. There’s the area outside of and , the area just in , the area just in , and the area shared by and , so 4, which means 16 elements.
Open question: draw out a venn diagram of what each of these mean
Let’s say we choose some random person at Stevens. Event A is undergraduate students, Event B is graduate students. Some people are neither (professors) and some people are both (accelerated students). The -algebra expresses the event space.
Probability Measure
The function mapping maps all of the sets in our -algebra to events in the event space, which we can use for the probability measure . We have two axioms:
- the of a sequence of disjoint sets is equal to the sum of the
The probability space is the combination of the sample space, function mapping, and probability measure:
If , then the event occurs almost surely. Doesn’t mean it can’t happen, but it has zero probability of occurring.
Example: If I were to pick a completely random real number between 0 and 1, the probability I would pick a rational number is 0, even though there clearly are rational numbers that exist.
A random variable is a function that maps from the event space to all real numbers . You’ve been doing this your whole life without knowing it. Roll a six-sided die. What’s the sample space? It’s not 1, 2, 3, 4, 5, 6, it’s a set of weird looking symbols that we map onto numbers. You could equally create a which says 6, 7, 8, 9, 10, 11.
The Borel subsets are every possible subdivision of the number line. It’s essentially a way to describe the real number line through set theory.
Expectation
Regular expectation is the probability of each outcome added together. How can you be certain that you’re exhaustive? We have to define elements in our sample space, and we use set theory to derive this:
This looks like regular expectation, but it can be extended to understand the expectation of a function on a random variable as well.
Assume we have a fair coin. is 1 if is heads, 0 if tails. is 10 and −2 for the same.
What is ?
Let’s think more advanced:
Expected value are linear operators, so this is very useful for operations
Jensen’s inequality mainly communicates that Variance is never negative: if is a convex real-valued function and if , then
Probability being greater than 1 and variance being negative are massive red flags that should stop you in your tracks.
Change of Measure
We can shift between probability spaces and get different probability measures like so:
this is random variable which is almost surely nonnegative with .
new function:
so is a probability measure.
We could consider the same thing for as the set instead of , but the integral of with respect to the probability measure over the sample space is just the same thing as , which is axiomatically 1.
We know from the definition of as the ratio of probability measure that which gives us our integral over and
Equivalent Measure
Equivalent probability measures only need to agree on which sets in have probability zero. Let’s say we’ve bent a coin so much that now landing on heads has a 10% chance. The event space is still heads and tails, but the probability measure is different because the probability of the heads event and the tail event are different. Yet, these are still equivalent because they agree that the only set with probability zero is .
Let’s say you’re drawing a card from a deck and checking the suit. If you remove some cards, there’s still an equivalent probability measure. But if you remove all the clubs, it is not equivalent.
Radon-Nikodým derivative Open question: add this from slides
Filtration
A filtration is a collection of -algebras where each one contains all the previous ones, like Russian nesting dolls. The best way to think about them is information that accrues over time at each step.
If we have random variable , the -algebra generated by is , which is the collection of all subsets of where for Borel subset Open question: look up this up more formally.
Flipping a coin:
Before we even flip a coin, what do we know we would know about the coin flip? It’s either heads or tails.
What if we flip it twice? We have four distinct outcomes now, HH, HT, TH, and TT.
What about three times? 😅
(256 elements)
Measurability
If is also a -algebra, and every set in is in , then is said to be -measurable. If we have
,
and 2 if a, 0, if b or c, −2 if d
and 13 if a or b, −2 if c or d
and −2 if a or d, 3 if b or c
What is ? In order to generate a -algebra from a random variable, we look at the partitions in the function and add those into the generator:
We can also more easily define these sets as , , , etc. to simplify writing down.
We can see that is -measurable. But what does that actually mean?
Let’s say I know . I do know the values of and , because the outcome has to be .
But if is 0, I have no idea what is. I do know what is.