While we can do lots of powerful analysis with random variables, in practice, we often will not know the exact probability distribution we’re working with. However, even in these cases, we can still make estimates for our distribution!
In this section, we discuss various approximations we can make, even if we do not know the exact distribution we’re working with.
Holder and Minkowski’s Inequality
Below, we define inequalities relating expected values of random variables and their combinations (products and sums). These inequalities can be used to find a bound for expected values, even when the joint pdf of two random variables is unknown.
Holder’s Inequality
Holder’s Inequality establishes a relationship between the expected values of a random variable product as follows:
Theorem: Holder's Inequality
Let and be random variables, and such that
Then
The proof will be discussed later.
We can use Holder’s Inequality to derive a variety of other inequalities! Consider the following.
Theorem: Cauchy-Schwarz and Lyapunov's Inequality
Consider Holder’s Inequality, and let . Then we get
This is known as the Cauchy-Schwarz Inequality!
Now, let where is a value such that , and . Then, we obtain the following.
This is known as Lyapunov’s Inequality!
Consider the below examples.
Example: Cauchy-Schwarz Inequality
Let and be normal distributions such that and . Assume that we know what are.
As we do not know the joint pdf , nor do we know if and are independnet, we have no way of calculating !
We do know, however, that
Variance is 1, as standard deviation is 1 (by assumption).
Thus, using the Cauchy-Schwarz Inequality, we can find that
Giving us an upper bound on without knowing the joint pdf!
Example: Cauchy-Schwarz Inequality and Power Coefficient
Suppose , and . We can see that
Then, applying the Cauchy-Scwarz Inequality,
Bringing these two expressions together, we obtain
Proving that the correlation coefficient satisfies the condition
Minkowski’s Inequality
Minkowski’s Inequality is similar to Holder’s Inequality, but it establishes a relationship between the expected values of a random variable sum, instead of a product.
Theorem: Minkowksi's Inequality
Let . Then,
Proof
Applying the triangle inequality, we can find the left hand side of the expression (without the power) as
Now, we see that in both terms, we have an expected value of a product, meaning we can apply Holder’s Inequality to obtain
We apply this back to our initial expression to find
Since by Holder’s Inequality, , we have
Subbing this in, we get
Now, dividing by , we get
Consider the below example.
Example: Minkowski's Inequality
Let both be random variables such that . We know that for this distribution
For in Minkowski’s Inequality, the left hand side would normally yield
But this requires we know the joint distribution! Instead, we can apply our inequality to at least gain an idea of what our expected value evaluates to be.
Markov and Chebyshev’s Inequality
Below, we define inequalities that may be useful to obtain bounds for the probability of some portion of the probability distribution. These bounds are derived in terms of the random variable’s expected value and variance.
Markov’s Inequality
Markov’s Inequality establishes a bound for the probability of values in any distribution, and the distribution’s expected value.
Theorem: Markov's Inequality
Let be a random variable that takes on non-negative values. Then for any ,
Proof
Assume that only takes on non-negative values. Then,
Rearranging our terms, we obtain Markov’s Inequality.
This inequality is generally not considered to be very useful, as it doesn’t tend to give the best approximations. Plus, if we know the distribution to find the expected value, we could just calculate the exact probabilities ourselves.
Consider the below examples.
Example: Markov's Inequality
An exam average is 75%. If we let , and is the random variable denoting the score on the exam, then
Telling us that the proportion of students scoring less than 80% can be at most 93.75%.
Example: Markov's Inequality (2)
Let , giving us .
If , we get , even though the probability is clearly 0.
Chebyshev’s Inequality
Chebyshev’s Inequality establishes a bound for the probability of values within some distance from the distribution’s mean.
Theorem: Chebyshev's Inequality
Let be a random variable, and define the expected value and variance as
Note that we call the standard deviation.
Then, for any ,
In the case that where is a positive constant, then we can write this as
This inequality establishes a bound for the proportion of values in our distribution within some number of standard deviations from the mean.
Proof
We have
We know that if or , then . So, given our integral bounds, we have
Giving us
Example: Chebyshev's Inequality
Let the pdf of be given as
Integrating for the expected value and standard deviation yields the following values.
Using these values, by Chebyshev’s Inequality, the probability that will take on values within 2 standard deviations of the mean is
Example: Chebyshev's Inequality (2)
An IQ test has mean of 100 and standard deviation of 16. Show that the probability a person has an IQ of at least 148 or at most 52 is at most .
We apply Chebyshev’s theorem. Here, we want and
By Chebyshev’s, we have
The Weak and Strong Law of Large Numbers
Convergence in Probability
Let be an infinite sequence of random variables defined on sample space .
Then, this sequence of random variables converges in probability (denoted ) to random variable if
In other words, if the sequence converges in probability, then the probability that as , the next in the sequence equals should approach 1.
Given a random variable from the sequence , and , we define the interval in which they are equal to one another as their interval of convergence, denoted .
If the sequence converges in probability, then the this interval of convergence should eventually encompass our entire sample space as . This is formally expressed as
In other words, the probability that as , any we select in our sample space is within our interval of convergence should approach 1.
We can use the idea of interval of convergence to show that the sequence does indeed converge in probability. Consider the following example.
Example: Convergence in Probability
Let and be a continuous pdf. Define
We claim converges in probability to the 0 random variable.
This should intuitively make sense, as when , the “presence of 1 in ” should get smaller and smaller (so eventually, it will disappear altogether).
Here, we have
We see that for , , which would fail to satisfy the interval of convergence (choose any ). Thus, our interval of convergence is .
Now, taking this as , we can see that our interval of convergence will encompass our entire space. We can alternatively express this as follows:
In other words, the probability any we choose is inside our interval approaches 1 as .
Almost Sure Convergence
Like before, let be an infinite sequence of random variables.
We say the sequence converges almost surely (denoted ), if for all ,
In other words, as , a random variable from our sequence should equal random variable .
Note that unlike our definition of convergence in probability, the limit is inside our probability now.
Note that if a sequence almost surely converges to , then it must also converge in probability to . However, the converse is not necessarily true! Consider the following example.
Example: Almost Sure Convergence vs Convergence in Probability
Define a random variable so 2 occurs more often as n gets larger. For example, we could have for various ,
As , we see that the probability that the next random variable in the sequence is approaches 1, as becomes more and more frequent. In other words, the sequence converges in probability.
More formally, we know that
Showing that .
However, as there will always be occurrences of as , so the sequence does not converge almost surely to . More formally, we know that the condition
will not be satisfied, so .
Weak and Strong Law of Large Numbers
Suppose that are a sequence of independent and identically distributed (denoted i.i.d) random variables (i.e. they have the exact same probability distribution). Assume that for any random variable in the sequence , that , and .
Now, denote a new random variable as the average of these sequences, such that
We observe that
In other words, the average expected value is the same as any individual expected value!
However, this property does not hold with the variances!
Thus, we can see that as , the variance of drops to 0, whereas it’s expected value converges to . In other words, as , will converge to !.
In practice, this means that if we have an experiment, as the number of trials increase (where each trial is represented by its own random variable ), the observed mean will converge to the actual expected mean! Such an observation is extremely important, and is formalized in what is known as the Law of Large Numbers.
Example: Law of Large Numbers (Intuition)
Flip a coin. If it has heads, place a blue chip in a box. Otherwise, place a red chip in the box. Let be the random variable of the number of blue chips added to the box for trial , namely,
Clearly, we know that . However, if we test, say 4 times, we may not get this expected value, by virtue of randomness!
However, as we increase the number of tests, we should naturally expect this average to converge to the expected value. This is the premise behind the Law of Large Numbers!
The Law of Large Numbers is split into two distinct cases, known as the Weak Law and the Strong Law of Large Numbers.
Let’s now look at the Weak Law of Large Numbers.
Theorem: Weak Law of Large Numbers (WLLN)
Let are independent, identically distributed random variables, such that , and define their average as .
Then, converges in probability to .
In other words, as , the probability that the next will approach 1.
Proof
By way of contrapositive, we wish to show that
to show that the contrapositive is true.
Applying Markov’s Inequality, we obtain
Consider the below examples of Weak Law of Large Numbers.
Example: Weak Law of Large Numbers (1)
Let be the Bernoulli random variable.
Now let denote the value of at trial , and be the “average number of successes”.
By the Weak Law of Large Numbers, we know that , and furthermore, we know by the Bernoulli Distribution, .
Thus, the rate at which we see a success will gradually approach the probability of a success, which makes intuitive sense!
Interestingly enough, we can use the Weak Law of Large Numbers to prove the following theorem, though we will not cover its uses.
Theorem: Bernstein's Theorem
If is continuous on , then for any , there exists a polynomial such that
for all .
In other words, we can approximate any continuous function (on an interval) with a polynomial.
Let’s now look at the Strong Law of Large Numbers, which is much stronger.
Theorem: Strong Law of Large Numbers (SLLN)
Let are independent, identically distributed random variables, such that , and define their average as .
Then, converges almost surely to .
In other words, as , our will gradually approach our expected value .
Note that the Strong Law of Large Numbers also implies the Weak Law!
The Central Limit Theorem
Sampling
Suppose we have a sequence of random variables .
This sequence converges in distribution to random variable , denoted , if their cdfs satisfy
for all where is continuous. In other words, as , their cdfs converge to that of .
Note that convergence in distributions is distinct from convergence in probability (from the previous section). See the following example.
Example: Convergence of Distributions
Now, because will never equal as , we know that doesn’t converge in probability to .
However, if we assume that the probability of occurring is uniformly distributed, we see that
As we have a 50% chance of obtaining a 0, and a 50% chance of obtaining a 1. Thus, .
If are independent, identically distributed random variables, we say they constitute a random sample from an infinite population.
A statistic denotes any value calculated using this random sample (not the population). The process of calculating these statistics is known as statistical inference!
If is a random sample, the sample mean and sample variance is respectively defined as
The unintuitive in the sample variance is known as Bessel’s Correction, and occurs as a sort of a “correction” as is smaller than .
Theorem: Convergence of Statistics
If is a random sample from an infinite population with mean and variance , then
Given a statistic from a sample of size , we are essentially defining a function for it, given the random variables .
Thus, we can actually think of this function as its own random variable! If this is the case, then what is the distribution of ?
This question can be pretty difficult to answer, and even small manipulations in our function can make the problem really difficult! Consider the following example.
Example: Distributions of Statistics
Let , and consider the statistic
We showed in a previous example that . Moreover, to find the distribution of , we can find
But given a small manipulation in this random variable, our distribution quickly becomes a mess! For example, it’s difficult to find the distribution of , as its moment generating function doesn’t match any commonly known distribution!
To work around that, we can use what’s known as the Central Limit Theorem, which provides a convenient way to approximate some of the above distributions!
Theorem: Central Limit Theorem
Let be a sequence of independent, identically distributed random variables with mean , variance and moment generating function . Furthermore, let be the distribution of their averages.
Then, the distribution converges in distribution to the standard normal distribution!
Equivalently, we can express this as
Which is often a more useful definition to use, as we are more often interested in some probability from the summation itself, rather than their average.
Proof
For the sake of simplicity, we will assume the variance is finite and use moment generating functions - however, there exist generalizations for non-fininte variances too!
Lemma
Let be the cdfs of random variables (respectively) with moment generating functions given by . Then, if
then .
Theorem (Taylor)
Let be the degree Taylor polynomial centered around “a”. Then,
Furthermore, there is a such that
To prove the Central Limit Theorem, if , it suffices to show that , the mgf of the standard normal distribution.
We have
Now observe that
Recall that if is an mgf, then . Above, we just found that
Now, applying Taylor’s theorem, we can approximate the mgf as
Recall the following properties of mgfs
- The mgf of the sum of random variables equals the product of the mgfs
Now, notices that as , forcing . Thus, we obtain
Which is the moment generating function of ! Thus, converges in distribution to the standard normal distribution.
Given a statistic, the Central Limit Theorem tells us that the distribution of its averages (given our sample size is sufficiently large) will become the normal distribution! This is extremely useful in approximating what the probability of a statistic occurring.
Example: Central Limit Theorem (1)
The amount of nicotine in a cigarette can be expressed by a random variable with mean mg, and standard deviation mg. Suppose there are 20 cigarettes in one pack.
If a person smokes 5 packs of cigarettes a week, what is the probability the total nicotine consumed in a week is at least 82 mg?
Because we have 20 cigarettes over 5 packs, we find that the person smokes a total of 100 cigarettes per week. Let denote the amount of nicotine in cigarette . If
We want . Applying our theorem, we find
Example: Central Limit Theorem (2)
In a sample of 25 people, their height is measured. We find inches (note that this is the sample mean). Now suppose the population variance is .
Use the Central Limit Theorem to find the probability that exceeds 70 inches.
Here, if , we see that
As increases, this will only become more negative, so we want to know the probability that
Observe that in many situations, we start with a discrete random variable, and approximate it with , a continuous random variable. Under this conversion from discrete to continuous, it’s most ideal to use a continuity correction to account for any error from this conversion, where
Note that this correction is applied on , and is most particularly effective for integers.
Example: Continuity Correction
10 dice are rolled. Determine the probability the sum is between 30 and 40, inclusive.
Let’s use the Central Limit Theorem. Let e the value rolled on die , with mean , and variance . Define as the sum of all ‘s,
As we are attempting to convert a discrete random variable into the continuous normal distribution, we will use a continuity correction and check for the probabilty
Contelli and Jensen’s Inequality
Contelli’s Inequality
Recall Markov’s Inequality.
From this inequality, we can derive another known as Contelli’s Inequality, which is often referred to as the One-Sided Chebyshev.
Theorem: Contelli's Inequality
Let be a random variable. If , then
Proof
Let . Then,
Example: Contelli's Inequality
An exam had average of 75% and a variance of 8%. Find an upper bound on the probability a student had at least an 80%.
Using Contelli’s Inequality, we have that
Jensen’s Inequality
A twice differentiable function is convex if . More formally, for all , , and , is convex if
This is essentially saying, all values between and are at most the value at the straight line formed between and .
We say is concave if is convex.
We use this property of convex functions to define a really powerful inequality known as Jensen’s Inequality.
Theorem: Jensen's Inequality
Let be a random variable. If is a convex function over the entire interval that takes on, then
Note that this inequality can be reversed for concave functions.
Proof
Let be a convex function. We use Taylor’s theorem, centered at
By assumption, we know that is convex. So, it’s term must be non-negative.
Applying the expected value on both sides, we get
Consider the following examples.
Example: Jensen's Inequality (1)
Let be a random variable taking on values greater than -1. Assume . Apply Jensen’s Inequality to obtain a bound on .
Let . We know that for all .
Then, applying Jensen’s Inequality, it must be true that
Example: Jensen's Inequality (2)
Let .
By Jensen’s Inequality, , so
Proving that variance is always non-negative.
Now, consider any non-uniform pmf
Applying the proof for Jenson’s Inequality with (refer to proof), we obtain the following.
This is oftentimes considered a generalization of Jenson’s Inequality.
We can use Jensen’s Inequality to derive a variety of other useful theorems. Consider the following.
Arithmetic, Geometric, and Harmonic Means
Let . Then, we can define the following means
Example: Arithmetic and Harmonic Means
A car drives 60 mph for 3 hours one way, and 20 mph for 3 hours. What is its average speed?
Intuitively, we calculate the average speed as
which is the arithmetic mean.
Now suppose that this car travels 60 miles each way. On the way there, it goes 60 mph, and on the way back, it goes 20 mph. Now, we are instead calculating the harmonic mean.
Theorem: Arithmetic, Geometric, and Harmonic Means
It is always the case that
Proof
Define the pmf as
Let . We see that for . Then, we find the arithmetic mean as
And we find the geometric mean as
By Jensen’s Inequality,
Now to show that , we define the pmf
Again, let . Then,
And
From this, using Jensen’s Inequality, it falls naturally that
Holder’s Inequality
We prove Holder’s Inequality (discussed earlier) with Jensen’s Inequality.
First, we use Jensen’s Inequality to prove an inequality known as Young’s Inequality.
Theorem: Young's Inequality
Suppose we have non-negative values where
Then, it must be true that
Proof
We use the generalization on Jensen’s Inequality with , such that
where are non-negative.
We apply the above to obtain
Now, we choose and such that
Subbing this into Young’s Inequality, we find
Applying the expectation of both sides, we obtain
Which yields Holder’s Inequality!