MultiSampleTest<T> Constructor

Definition

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

Overload List

MultiSampleTest<T>(HypothesisType, Double, ContinuousDistribution)

Constructs a new MultiSampleTest<T> object.
C#
protected MultiSampleTest(
	HypothesisType hypothesisType,
	double significanceLevel,
	ContinuousDistribution? distribution
)

Parameters

hypothesisType  HypothesisType
A HypothesisType value that indicates whether the test is upper or lower one-tailed or two-tailed.
significanceLevel  Double
A Double value specifiying the significance level.
distribution  ContinuousDistribution
A ContinuousDistribution object that represents the distribution of the test statistic.

MultiSampleTest<T>(IDataFrame, HypothesisType, Double, ContinuousDistribution)

Constructs a new MultiSampleTest<T> object.
C#
protected MultiSampleTest(
	IDataFrame samples,
	HypothesisType hypothesisType,
	double significanceLevel,
	ContinuousDistribution? distribution
)

Parameters

samples  IDataFrame
Array of Vector<T> objects containing the variable the test will operate on.
hypothesisType  HypothesisType
A HypothesisType enumeration value.
significanceLevel  Double
A Double value specifiying the significance level.
distribution  ContinuousDistribution
A ContinuousDistribution object that represents the distribution of the test statistic.

MultiSampleTest<T>(IEnumerable<Vector<T>>, HypothesisType, Double, ContinuousDistribution)

Constructs a new MultiSampleTest<T> object.
C#
protected MultiSampleTest(
	IEnumerable<Vector<T>> samples,
	HypothesisType hypothesisType,
	double significanceLevel,
	ContinuousDistribution? distribution
)

Parameters

samples  IEnumerable<Vector<T>>
Array of Vector<T> objects containing the variable the test will operate on.
hypothesisType  HypothesisType
A HypothesisType enumeration value.
significanceLevel  Double
A Double value specifiying the significance level.
distribution  ContinuousDistribution
A ContinuousDistribution object that represents the distribution of the test statistic.

Exceptions

ArgumentException

One or more members of samples is not of type Vector<T>.

MultiSampleTest<T>(Vector<T>, IGrouping, HypothesisType, Double, ContinuousDistribution)

Constructs a new MultiSampleTest<T> object.
C#
protected MultiSampleTest(
	Vector<T> samples,
	IGrouping grouping,
	HypothesisType hypothesisType,
	double significanceLevel,
	ContinuousDistribution? distribution
)

Parameters

samples  Vector<T>
Vector that contains the data the test will operate on.
grouping  IGrouping
Grouping object that specifies how the elements of samples should be grouped.
hypothesisType  HypothesisType
A HypothesisType enumeration value.
significanceLevel  Double
A Double value specifiying the significance level.
distribution  ContinuousDistribution
A ContinuousDistribution object that represents the distribution of the test statistic.

See Also