FTest Constructor

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

FTest() Constructs a new FTest for the specified vector.
FTest(Vector<Double>, Vector<Double>) Constructs a new FTest for the specified vector.
FTest(Vector<Double>, Vector<Double>, HypothesisType) Constructs a new FTest for the specified vector.
FTest(Double, Double, Double, Double) Constructs a new FTest for the specified vector.
FTest(Double, Double, Double, Double, HypothesisType) Constructs a new FTest for the specified vector.

FTest

Constructs a new FTest for the specified vector.
C#
public FTest()

FTest(Vector<Double>, Vector<Double>)

Constructs a new FTest for the specified vector.
C#
public FTest(
	Vector<double> sample1,
	Vector<double> sample2
)

Parameters

sample1  Vector<Double>
The first vector
sample2  Vector<Double>
The second vector

FTest(Vector<Double>, Vector<Double>, HypothesisType)

Constructs a new FTest for the specified vector.
C#
public FTest(
	Vector<double> sample1,
	Vector<double> sample2,
	HypothesisType hypothesisType
)

Parameters

sample1  Vector<Double>
The first vector
sample2  Vector<Double>
The second vector
hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.

FTest(Double, Double, Double, Double)

Constructs a new FTest for the specified vector.
C#
public FTest(
	double numeratorDegreesOfFreedom,
	double numeratorVariance,
	double denominatorDegreesOfFreedom,
	double denominatorVariance
)

Parameters

numeratorDegreesOfFreedom  Double
The degrees of freedom of the numerator.
numeratorVariance  Double
The variance in the numerator.
denominatorDegreesOfFreedom  Double
The degrees of freedom of the denominator.
denominatorVariance  Double
The variance in the denominator.

Exceptions

ArgumentOutOfRangeException

numeratorDegreesOfFreedom is less than one.

-or

numeratorVariance is less than zero.

-or

denominatorDegreesOfFreedom is less than one.

-or

denominatorVariance is less than zero.

FTest(Double, Double, Double, Double, HypothesisType)

Constructs a new FTest for the specified vector.
C#
public FTest(
	double numeratorDegreesOfFreedom,
	double numeratorVariance,
	double denominatorDegreesOfFreedom,
	double denominatorVariance,
	HypothesisType hypothesisType
)

Parameters

numeratorDegreesOfFreedom  Double
The degrees of freedom of the numerator.
numeratorVariance  Double
The variance in the numerator.
denominatorDegreesOfFreedom  Double
The degrees of freedom of the denominator.
denominatorVariance  Double
The variance in the denominator.
hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.

Exceptions

ArgumentOutOfRangeException

numeratorDegreesOfFreedom is less than one.

-or

numeratorVariance is less than zero.

-or

denominatorDegreesOfFreedom is less than one.

-or

denominatorVariance is less than zero.

See Also