Click or drag to resize

TwoSampleFTest(DoubleVector, DoubleVector, Double, HypothesisType) Constructor

Constructs a TwoSampleFTest instance using the given vectors of sample data, and the given hypothesis parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public TwoSampleFTest(
	DoubleVector data1,
	DoubleVector data2,
	double alpha,
	HypothesisType type
)

Parameters

data1  DoubleVector
A vector of observed values for the first sample.
data2  DoubleVector
A vector 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 after removing missing values.
Remarks
The sample means, sample standard deviations, and sample sizes are computed from the given vectors. Missing values are ignored.
See Also