Parameter Estimation

State estimation is an integral part of many parameter-estimation methods. Below, we will illustrate several different methods of performing parameter estimation. We can roughly divide the methods into two camps:

  1. Methods that optimize prediction error or likelihood by tweaking model parameters.
  2. Methods that add the parameters to be estimated as state variables in the model and estimate them using standard state estimation.

From the first camp, we provide some basic functionality for maximum-likelihood estimation and MAP estimation in Maximum-likelihood and MAP estimation. An example of (2), joint state and parameter estimation, is provided in Joint state and parameter estimation.

Which method should I use?

The methods demonstrated in this section have slightly different applicability, here, we try to outline which methods to consider for different problems:

MethodParameter EstimationCovariance EstimationTime Varying ParametersOnline Estimation
Maximum likelihood🟢🟢🟥🟥
Joint state/par estim🔶🟥🟢🟢
Prediction-error opt.🟢🟥🟥🟥

When trying to optimize parameters of the noise distributions, most commonly the covariance matrices, maximum-likelihood (or MAP) is the only recommened method. Similarly, when parameters are time varying or you want an online estimate, the method that jointly estimates state and parameter is the only applicable method. When fitting standard parameters, all methods are applicable. In this case the joint state and parameter estimation tends to be inefficient and unneccesarily complex, and it is recommended to opt for maximum likelihood or prediction-error minimization. The prediction-error minimization (PEM) with a Gauss-Newtown optimizer is often the most efficient method for this type of problem.

Maximum likelihood estimation tends to yield an estimator with better estimates of posterior covariance since this is explicitly optimized for, while PEM tends to produce the smallest possible prediction errors.

Pages in this section

Videos

Examples of parameter estimation are available here.

By using an optimizer to optimize the likelihood of an UnscentedKalmanFilter:

Estimation of time-varying parameters:

Adaptive control by means of estimation of time-varying parameters: