Ignoring the presence of outliers in the input data used for regression, two important open questions remain: assessing how good the resulting model is and, at the same time, providing an indication of how far this estimate is from the true model because of errors in the input data.
This section discusses the nonlinear case in detail: the linear case is equivalent, using the parameter matrix in place of the Jacobian
, and was partly addressed in Section 1.2.
Let
be a vector of realizations of statistically independent random variables
and
model parameters.
An intuitive estimator of model quality is the root-mean-squared residual error (RMSE), also called the standard error of the regression:
| (4.84) |
This, however, is not a direct measure of the quality of the solution found; it only measures how closely the model matches the input data. Consider, for example, the limiting case of systems that are not overdetermined, where the residual is always zero, regardless of the amount of noise affecting the individual observations.
The most suitable measure for evaluating the model is the parameter variance-covariance matrix (Parameter Variances and Covariances matrix).
Covariance forward propagation (covariance forward propagation) was already presented 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 involves the Jacobian; the second is based on the more general Monte Carlo simulation technique; and, finally, a modern alternative midway between the first two is the Unscent Transformation (Section 3.5), which empirically provides estimates up to third order in the case of Gaussian noise.
Evaluating the quality of the estimated parameters
given the estimated noise covariance (Covariance Matrix Estimation) is exactly the opposite problem, because it requires computing the backward propagation of the variance (backward propagation).
Indeed, once this covariance matrix has been obtained, it is possible to define a confidence interval around
.
The quality of the parameter estimate
in the nonlinear case can be evaluated to first order by inverting the linearized version of the model (although, here too, techniques such as Monte Carlo or the UT can be used for more rigorous estimates).
The covariance matrix associated with the proposed solution
can be determined when the function
is bijective and differentiable in a neighborhood of that solution.
Let
be a multivariate multidimensional function.
It is possible to estimate the mean
and the cross-covariance matrix
of the residuals; then the inverse transformation
will have mean
and covariance matrix
| (4.86) |
Note that this (the inverse of the information matrix) is the Cramér–Rao lower bound on the covariance that an unbiased estimator of the parameter
can have.
When the transformation is underdetermined, the rank of the Jacobian
, with
, is called the number of essential parameters (essential parameters).
For an underdetermined transformation
, formula (4.85) is not invertible, but it can be shown that the best approximation of the covariance matrix can be obtained using the pseudoinverse:
| (4.87) |
The observation-noise estimate may be empirical, assuming by the law of large numbers that , and computed as
| (4.88) |
The Eicker–White covariance estimator is slightly different and is left to the reader for further study.
The parameter variance-covariance matrix represents the error ellipsoid.
A useful metric for assessing the problem is the D-optimal design:
| (4.89) |
| (4.90) |
Other metrics include, for example, the E-optimal design, which consists in maximizing the smallest eigenvalue of the Fisher matrix, or equivalently minimizing the largest eigenvalue of the variance-covariance matrix. Geometrically, this minimizes the maximum diameter of the ellipsoid.
Paolo medici