Test

# Least squares adjustment

Least squares adjustment is a model for the solution of an overdetermined system of equations based on the principle of least squares of observation residuals. It is used extensively in the disciplines of surveying, geodesy, and photogrammetry—the field of geomatics, collectively.

## Formulation

There are three forms of least squares adjustment: parametric, conditional, and combined. In parametric adjustment, one can find an observation equation h(X)=Y relating observations Y explicitly in terms of parameters X (leading to the A-model below). In conditional adjustment, there exists a condition equation g(Y)=0 involving only observations Y (leading to the B-model below) — with no parameters X at all. Finally, in a combined adjustment, both parameters X and observations Y are involved implicitly in a mixed-model equation f(X,Y)=0. Clearly, parametric and conditional adjustments correspond to the more general combined case when f(X,Y)=h(X)-Y and f(X,Y)=g(Y), respectively. Yet the special cases warrant simpler solutions, as detailed below. Often in the literature, Y may be denoted L.

## Solution

The equalities above only hold for the estimated parameters ${\hat {X}}$ and observations ${\hat {Y}}$ , thus $f\left({\hat {X}},{\hat {Y}}\right)=0$ . In contrast, measured observations ${\tilde {Y}}$ and approximate parameters ${\tilde {X}}$ produce a nonzero misclosure:

${\tilde {w}}=f\left({\tilde {X}},{\tilde {Y}}\right).$ One can proceed to Taylor series expansion of the equations, which results in the Jacobians or design matrices: the first one,

$A=\partial {f}/\partial {X};$ and the second one,

$B=\partial {f}/\partial {Y}.$ The linearized model then reads:

${\tilde {w}}+A{\hat {x}}+B{\hat {y}}=0,$ where ${\hat {x}}={\hat {X}}-{\tilde {X}}$ are estimated parameter corrections to the a priori values, and ${\hat {y}}={\hat {Y}}-{\tilde {Y}}$ are post-fit observation residuals.

In the parametric adjustment, the second design matrix is an identity, B=-I, and the misclosure vector can be interpreted as the pre-fit residuals, ${\tilde {y}}={\tilde {w}}=h({\tilde {X}})-{\tilde {Y}}$ , so the system simplifies to:

$A{\hat {x}}={\hat {y}}-{\tilde {y}},$ which is in the form of ordinary least squares. In the conditional adjustment, the first design matrix is null, A=0. For the more general cases, Lagrange multipliers are introduced to relate the two Jacobian matrices and transform the constrained least squares problem into an unconstrained one (albeit a larger one). In any case, their manipulation leads to the ${\hat {X}}$ and ${\hat {Y}}$ vectors as well as the respective parameters and observations a posteriori covariance matrices.

### Computation

Given the matrices and vectors above, their solution is found via standard least-squares methods; e.g., forming the normal matrix and applying Cholesky decomposition, applying the QR factorization directly to the Jacobian matrix, iterative methods for very large systems, etc.

## Extensions

If rank deficiency is encountered, it can often be rectified by the inclusion of additional equations imposing constraints on the parameters and/or observations, leading to constrained least squares.