NormalsCreate
Create normal equations from calculated matrices (matrixGenerator).
The inputfileParameterNames can be created with ParameterNamesCreate.
The normalMatrix must be symmetric. The rightHandSide must have the same number of rows and can contain multiple columns for multiple solutions.
The Vector $\M l^T\M P\M l$ is the quadratic sum of observations for each column of the right hand side. It is used to determine the aposteriori accuracy \[ \hat{\sigma}^2 = \frac{\hat{\M e}^T\M P\hat{\M e}}{n-m} = \frac{\M l^T\M P\M l - \M n^T\hat{\M x}}{n-m}. \]If the vector is not given, it is automatically determined by assuming $\hat{\sigma}^2=1$.
The number of observations $n$ is given by the expression observationCount.
The variable observationCount
can be used, if it is set by a normal equation file
inputfileNormalEquationObsCount.
Name | Type | Annotation |
---|---|---|
outputfileNormalEquation | filename | |
inputfileParameterNames | filename | |
normalMatrix | matrixGenerator | |
rightHandSide | matrixGenerator | |
lPl | matrixGenerator | vector with size of rhs columns |
inputfileNormalEquationObsCount | filename | sets the variable observationCount |
observationCount | expression | (variables: rows, columns (rhs), observationCount) |