Click or drag to resize

IRegressionCalculationCalculateParameters(DoubleMatrix, DoubleVector, Boolean) Method

Calculates the regression parameters for the given matrix of independent values and the given vector of dependent values.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
DoubleVector CalculateParameters(
	DoubleMatrix predictorMatrix,
	DoubleVector observations,
	bool dataCleansed
)

Parameters

predictorMatrix  DoubleMatrix
Predictor matrix
observations  DoubleVector
Observations vector
dataCleansed  Boolean
If true, the predictor matrix is guaranteed to contain only numerical values (no NaN or Infinity values).

Return Value

DoubleVector
See Also