OneWayAnovaModel.GetContrastEstimate Method

Gets an estimate for the specified contrast.

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.

ArgumentExceptionThe elements of contrastCoefficients do not add up to zero.

See Also