Oct 10, 2024
Office hours:
This week: Thursday - Friday
Next week: Wednesday - Friday
No class next Monday or Tuesday
Likelihood
Maximum likelihood estimation
MLE for linear regression
Properties of maximum likelihood estimator
We have also shown some nice properties of the least-squares estimator
Today we will introduce another way to find these estimators - maximum likelihood estimation. We will see…
the maximum likelihood estimators have nice properties
the least-squares estimator is equal to the maximum likelihood estimator when certain assumptions hold
Suppose a basketball player shoots a single free throw, such that the probability of making a basket is
What is the probability distribution for this random phenomenon?
Suppose the probability is
Suppose the probability is
Suppose the player shoots three free throws. They are all independent and the player has the same probability
Let
Suppose the probability is
Suppose the probability is
Suppose the player shoots three free throws. They are all independent and the player has the same probability
The player shoots three free throws with the outcome
How would you describe in words the probabilities we previously calculated?
New question: What parameter value of
We will use a likelihood function to answer this question.
A likelihood is a function that tells us how likely we are to observe our data for a given parameter value (or values).
Note that this is not the same as the probability function.
Probability function: Fixed parameter value(s) + input possible outcomes
Likelihood function: Fixed data + input possible parameter values
The likelihood function for the probability of a basket
Thus, if the likelihood for
What is the general formula for the likelihood function for
Why do we need to assume independence?
Why does having identically distributed data simplify things?
The likelihood function for
We want of the value of
The process of finding this value is maximum likelihood estimation.
There are three primary ways to find the maximum likelihood estimator
Approximate using a graph
Using calculus
Numerical approximation
What do you think is the approximate value of the MLE of
Use calculus to find the MLE of
Suppose the player shoots
Suppose the player makes
What is the formula for the likelihood function for
For what value of
“Maximum likelihood estimation is, by far, the most popular technique for deriving estimators.” (Casella and Berger 2024, 315)
MLEs have nice statistical properties. They are
Consistent
Efficient - Have the smallest MSE among all consistent estimators
Asymptotically normal
Note
If the normality assumption holds, the least squares estimator is the maximum likelihood estimator for
Recall the linear model
Suppose we have the simple linear regression (SLR) model
such that
We can write this model in the form below and use this to find the MLE
Let
The likelihood function for
The log-likelihood function for
We will use the log-likelihood function to find the MLEs
1️⃣ Take derivative of
2️⃣ Find the
After a few steps…
3️⃣ We can use the second derivative to show we’ve found the maximum
Therefore, we have found the maximum. Thus, MLE for
We can use a similar process to find the MLEs for
The MLEs
This means the least-squares estimators
From previous work, we also know estimators
Note that the MLE