Docsity

Maximum Likelihood Estimation: A Comprehensive Guide, Summaries of Accounting

Toggle sidebar
bg1
- Hi everybody.
Well now we're in phase two of the stats attack
and in this lesson, I'll be talking about
maximum likelihood estimation.
Here's our overview.
Last time, remember we started at stats bootcamp
and I talked about unbiased estimation
and mean squared error.
In this lesson, I'll be talking about
maximum likelihood estimation and this is probably
the most popular point estimation method.
It's a very flexible technique
that a lot of software packages kind of do automatically
to help estimate parameters from various distributions.
So let's start out with a quick definition.
Let's look at an iid random sample, X1 through Xn.
That seems to be how we're starting
all these lectures lately,
where each Xi has pdf or pmf f of x.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Maximum Likelihood Estimation: A Comprehensive Guide and more Summaries Accounting in PDF only on Docsity!

  • Hi everybody. Well now we're in phase two of the stats attack and in this lesson, I'll be talking about maximum likelihood estimation. Here's our overview. Last time, remember we started at stats bootcamp and I talked about unbiased estimation and mean squared error. In this lesson, I'll be talking about maximum likelihood estimation and this is probably the most popular point estimation method. It's a very flexible technique that a lot of software packages kind of do automatically to help estimate parameters from various distributions. So let's start out with a quick definition. Let's look at an iid random sample, X1 through Xn. That seems to be how we're starting all these lectures lately, where each Xi has pdf or pmf f of x.

Like last lesson, I'll suppose that theta is some unknown parameter that we need to estimate. Let's define what's called the likelihood function as L of theta equal to the product of f of Xi. So L of theta is a function of theta, you'll see how, even though I'm representing it as the product of a bunch of f of Xi's. So these Xi's are changing from observation to observation. You don't see a theta on the right hand side, but it's embedded there and you'll see it in the examples that we do. The maximum likelihood estimator MLE because I'm too lazy to write that thing out all the time. The MLE of theta is the value of theta that maximizes L of theta. Get it, maximum likelihood estimator. The MLE is a function of the Xi's and is a random variable. That makes sense. It's gonna give me an estimator per theta

Lambda times E of the minus lambda X2. And you multiply them all together. You're left with lambda to the n times E to the minus lambda summation of Xi. That's just algebra. Now my job is to maximize L of lambda with respect to lambda to get the maximum likelihood estimator. Now I could take the derivative and plow through all the horrible algebra that accompanies that derivative, but I'm gonna do a little trick. This trick works most of the time. What I'm gonna do is, I'm take note of the fact that the natural log of a function is one-to-one. And what that means, whenever lambda maximizes L of lambda also maximizes natural log of L of lambda.

The lambda that does the trick for L of lambda is exactly the same one that does the trick for natural log of L of lambda. And it's just a property of natural law. It's a good property. What we'll be doing here is using natural log to kind of make things easier. The natural log simplifies things believe it or not. Here we go. Let's repeat the last equation from the last page. L of lambda equals lambda to the n times E of minus lambda. I'm gonna take the natural log of this horrible mess, but not so horrible. The natural log of lambda to the n is n log lambda and the natural log of the expected value, well remember, log and exp are inverses and so it's like matter and anti-matter. They blow up and they disappear and you're just left

So let's look at that equation, solve for lambda and you get lambda equals one over X bar, which makes a lot of sense, because what's the mean of the exponential distribution? It's one over lambda and we usually estimate the mean by X bar, because it's unbiased. So X bar is a good estimator for one over lambda. Stands to reason that a good estimator for lambda is one over X bar. So a couple remarks for the reasons that I just said. Lambda hat equals one over X bar makes great sense. Again, because the expected value of X equals one over lambda. Since we've done all this work, it's kinda of like going to a party and so when we're done with our algebra we put a little hat over lambda to indicate that we got to the MLE. Good for us.

And at the end of our work, we kind of change the little Xs into big Xs to indicate that this is a random variable. That's just a technicality. I usually put big Xs at the end. And just to be careful, I didn't do that here 'cause I'm lazy, you probably ought to perform a second-derivative test just to make sure that you're getting a maximum, not a minimum likelihood estimator, which the boss probably wouldn't like. I'm not gonna blame you if you don't, but I'm literally just being lazy here. So one last thing I'll do in this lesson and it's called the invariance property of MLE's. This is why I wasn't worried about the one over lambda stuff in a couple slides ago. So here's what the invariance property says. If theta hat is the maximum likelihood estimator

subtracting that from one, it's e to the minus lambda. So that's the survival function. I saw from the last example that the MLE for lambda, lambda hat, is one over X bar. So these are my two facts. The survival function, F bar of x is e to minus lambda x and the MLE for lambda, lambda hat equals one over x bar. Therefore, the variance property says that the maximum likelihood estimator for the complement is, now let's put a giant hat over the complement equals e to the minus lambda hat. I just substituted the lambda hat. And lambda hat remember is one over x bar and there you go. So the MLE of the survival function is e to the minus x over x bar. Little X is arbitrary, x bar is the sample mean of a bunch of observations.

And this is the kind of thing that people use in actuarial tables all the time. What's the survival function based on data, based on the x bar that you have? Well that was that. So what I did in this lesson is that I went over some basics on MLE's and these are gonna be very, very useful later on in the course when we talk about simulation input analysis. In the next lesson, well we looked at point estimators, they're just groovy, but we can do better. I'm gonna be looking at confidence intervals, which give us sort of a lot more information. I'm certainly confident that you're gonna enjoy the next lesson.