Maximum Likelihood (ML) Estimate
The maximum-likelihood (ML) estimate chooses the estimator under which the observations are “most probable” by maximizing their likelihood. Let be observed data described by the joint PMF whose form depends on the unknown parameter , known as the likelihood function. Then, the maximum-likelihood estimate of is that value which maximizes the likelihood function, such that
If the observations in are independent, the likelihood function can be decomposed as . Then, one may employ the log-likelihood function, denoted
Working With Continous Data consists of continuous data, one may simply use the likelihood function .
For the case where the observation vector
Properties
(Invariance) For some function , if , then .
(Asymptotic Normality) If is scalar, .
Examples
MLE of Uniform Distribution
Find the MLE of given .
Solution . Given i.i.d. variables, the likelihood function can be written using log-likelihood as When , Taking the derivative of the log-likelihood on the domain , we have This means that the likelihood is strictly decreasing in . As such, .
Since the distribution is uniform, it follows that
MLE of the Gaussian
Consider the Gaussian distribution , such that
Now, let be a set of iid Gaussian random variables. We can find the maximum likelihood estimates and by first taking the maximum likelihood as
\begin{align}P(X \mid \mu, \sigma^2) &= \prod^{n}_{i=1} P(X_{i} \mid \mu, \sigma^2) \\ &= \sum^{n}_{i=1}\ln P(X_{i} \mid \mu, \sigma^2) \\ &\propto -N\frac{(x-\mu)^2}{2\sigma^2}\end{align}
Maximum Likelihood Estimation for the Binary Symmetric Channel
You are testing a digital link that corresponds to a BSC with some error probability .
Suppose that you observe an input bit and an output bit . Calculate the MLE of .Solution. i.e., we need to first figure out the joint distribution .
Here, we want to find