OneWayAnovaModel.GetContrastEstimate Method

Gets an estimate for the specified contrast.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public Parameter<double> GetContrastEstimate(
	Vector<double> contrastCoefficients
)

Parameters

contrastCoefficients  Vector<Double>
The coefficients of the group means. The sum must equal zero.

Return Value

Parameter<Double>
A Parameter<T> object.

Exceptions

InvalidOperationException

The Fit() method has not been called.

DimensionMismatchException

The length of contrastCoefficients does not equal the number of groups.

ArgumentException

The elements of contrastCoefficients do not add up to zero.

See Also