| TwoSampleFTest(IDFColumn, IDFColumn, Double, HypothesisType) Constructor |
Constructs a TwoSampleFTest instance using the given columns of sample data, and
the given hypothesis parameters.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public TwoSampleFTest(
IDFColumn data1,
IDFColumn data2,
double alpha,
HypothesisType type
)
Public Sub New (
data1 As IDFColumn,
data2 As IDFColumn,
alpha As Double,
type As HypothesisType
)
public:
TwoSampleFTest(
IDFColumn^ data1,
IDFColumn^ data2,
double alpha,
HypothesisType type
)
new :
data1 : IDFColumn *
data2 : IDFColumn *
alpha : float *
type : HypothesisType -> TwoSampleFTest
Parameters
- data1 IDFColumn
- A column of observed values for the first sample.
- data2 IDFColumn
- A column 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 Exception | Condition |
---|
InvalidArgumentException |
Thrown if either sample is not numeric, or has length of zero after removing
missing values.
|
Remarks
The sample means, sample standard deviations, and sample sizes are computed from
the given columns. Missing values are ignored.
See Also