Class QRRegressionCalculation computes linear regression parameters by
the method of least squares using a QR decomposition.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class QRRegressionCalculation : IRegressionCalculation, ICloneable |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class QRRegressionCalculation _ Implements IRegressionCalculation, ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] public ref class QRRegressionCalculation : IRegressionCalculation, ICloneable |
Remarks
Class QRRegressionCalculation finds the minimal norm solution
to the overdetermined linear system:
CopyC#
That is, this class finds the vector x that minimizes the 2-norm
of the residual vector Ax - b. Prerequisites on the matrix
A are that it has more rows than columns, and is of full
rank.
Ax = b