Skip to content

RGAlavicheh/Maximum-Likelihood-Estimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Maximum-Likelihood-Estimation

Consider a signal denoted as x[n], which is defined as $x[n] = cos(2π{f_₀}n) + w[n]$, where n takes values from 0 to N-1. $w[n]$ represents white Gaussian noise (WGN) with a variance of $\sigma^2$. It is possible to minimize the Maximum Likelihood Estimation (MLE) while simultaneously maximizing the term mentioned in the computations below:

MLE_calculations

Simulation

MC

By utilizing Monte Carlo (MC) simulation as an initial approach, we can generate a plot showcasing the varying possibilities of the mentioned term within the range of 0 to 0.5. Through this simulation, we can observe that at $f = 0.25$, mentioned function attains its maximum value.

part1_simulation

Newton-Raphson and grid search

As a secondary approach, we can employ the Newton-Raphson method to determine the maximum value of the mentioned term. This iterative optimization technique allows us to iteratively refine our estimate of the maximum value by approximating the derivative of the term and updating our estimate accordingly. After obtaining the maximum value using the Newton-Raphson method, we can compare it to the results obtained through grid search. The grid search involves evaluating the term for a range of values within a predefined grid and selecting the value that yields the maximum.

Newton-Raphson:

$\theta_{k+1} = \theta_{k} - \frac{g(\theta_k)}{\frac{dg(\theta)}{d\theta}}, |\theta_{k+1} - \theta_{k}| < \epsilon$

part1_simulation part2_simulation

Reference

This simulation is based on problem 7-19 of Steven M. Kay Fundamentals of statistical signal processing: Estimation Theory book

About

Estimation of Frequency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages