OneWayAnovaModel.GetContrastEstimate Method

Gets an estimate for the specified contrast.

DefinitionPermalink

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

ParametersPermalink

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

Return ValuePermalink

Parameter<Double>
A Parameter<T> object.

ExceptionsPermalink

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 AlsoPermalink