Ignoring the presence of outliers in the input data used for regression, two important open questions remain: how good is the resulting model, and how far might this estimate be from the true model because of errors in the input data?
This section focuses on the nonlinear case. The linear case is equivalent, replacing the Jacobian with the design matrix
, and was partly addressed in Section 1.2.
Let
be a vector of realizations of statistically independent random variables
, and let
be the model parameter vector.
An intuitive measure of model fit is the root-mean-squared residual error (RMSE)
| (4.91) |
However, this is not a direct measure of the quality of the solution; it only indicates how well the estimated model fits the input data. Consider, for example, the limiting case of exactly determined systems, where the residual is always zero, regardless of the amount of noise affecting the individual observations.
The most appropriate measure for estimating the model is the parameter variance-covariance matrix (Parameter Variances and Covariances matrix).
Covariance forward propagation was introduced in Section 2.6. Briefly, there are three methods for performing this operation: the first is based on a linear approximation of the model and uses the Jacobian; the second is based on the more general Monte Carlo simulation technique; and a modern alternative that lies between the two is the Unscented Transform (Section 3.5), which empirically provides estimates accurate to third order in the case of Gaussian noise.
Evaluating the quality of the estimated parameters
given an estimated noise covariance (Covariance Matrix Estimation) is precisely the reverse problem, since it requires computing the backward propagation of variance.
Indeed, once this covariance matrix has been obtained, a confidence interval can be defined around
.
In the nonlinear case, the quality of the parameter estimates
can be evaluated to a first approximation by inverting the linearized model, although techniques such as Monte Carlo simulation or the UT can also be used to obtain more rigorous estimates.
The covariance matrix associated with the solution
can be estimated assuming that the model
is differentiable in a neighborhood of the solution.
Let
| (4.93) |
Note that this (the inverse of the information matrix) is the Cramér-Rao lower bound on the covariance of an unbiased estimator of the parameter
.
When the transformation is underdetermined, the rank of the Jacobian
, with
, is called the number of essential parameters (essential parameters).
If the transformation
is underdetermined, Equation (4.92) is not invertible, but it can be shown that
an approximation of the covariance matrix restricted to observable directions can be obtained using the pseudoinverse:
| (4.94) |
The observation noise can be estimated empirically by assuming that, for a large number of observations, the standard deviation of the noise is approximated by the standard deviation of the residuals. This gives
| (4.95) |
| (4.96) |
The denominator represents the statistical degrees of freedom of the problem: when the number of unknowns equals the number of observations, there are no residual degrees of freedom, and the variance estimate is undefined.
The Eicker-White covariance estimator is slightly different; its derivation is left to the reader.
The parameter variance-covariance matrix represents the error ellipsoid.
A useful criterion for evaluating a problem is D-optimal design:
| (4.97) |
| (4.98) |
Another criterion is E-optimal design, which maximizes the smallest eigenvalue of the Fisher information matrix, or equivalently minimizes the largest eigenvalue of the variance-covariance matrix. Geometrically, this minimizes the maximum diameter of the ellipsoid.
Paolo medici