Click or drag to resize

TwoSampleUnpairedTTest(Int32, Int32, Double, HypothesisType) Constructor

Constructs a TwoSampleUnpairedTTest instance using the given arrays of sample data, and the given hypothesis parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public TwoSampleUnpairedTTest(
	int[] data1,
	int[] data2,
	double alpha,
	HypothesisType type
)

Parameters

data1  Int32
An array of observed values for the first sample.
data2  Int32
An array of observed values for the second sample.
alpha  Double
The accepted probability of falsely rejecting the null hypothesis.
type  HypothesisType
Enum value indicating the form of the alternative hypothesis.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if either sample has length of zero.
Remarks
The sample means, sample standard deviations, and sample sizes are computed from the given arrays.
See Also