Click or drag to resize

WeightedRegressionAnova Constructor

Construct a linear model ANOVA from a weighted least squares fit.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public WeightedRegressionAnova(
	DoubleMatrix regressionMatrix,
	DoubleVector parameters,
	DoubleVector observations,
	DoubleVector weights
)

Parameters

regressionMatrix  DoubleMatrix
Regression data.
parameters  DoubleVector
The calculated model parameters.
observations  DoubleVector
The observations.
weights  DoubleVector
The weights. It is assumed that the parameters minimize the weighted least squares problem: ||(D^1/2)*(Ax - b)|| where A is the regression matrix, b is the vector of observations, and D is a diagonal matrix whose diagonal consists of the weights.
See Also