Click or drag to resize

TwoSampleUnpairedUnequalTTest Class

Class TwoSampleUnpairedUnequalTTest tests the null hypothesis that the two population means corresponding to two random samples are equal.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreTwoSampleUnpairedUnequalTTest

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class TwoSampleUnpairedUnequalTTest : ICloneable

The TwoSampleUnpairedUnequalTTest type exposes the following members.

Constructors
 NameDescription
Public methodTwoSampleUnpairedUnequalTTest Default constructor. Constructs a TwoSampleUnpairedUnequalTTest instance with default sample parameters, alpha level, and hypothesis type.
Public methodTwoSampleUnpairedUnequalTTest(Double, Double) Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data.
Public methodTwoSampleUnpairedUnequalTTest(DoubleVector, DoubleVector) Constructs a TwoSampleUnpairedUnequalTTest instance using the given vectors of sample data.
Public methodTwoSampleUnpairedUnequalTTest(IDFColumn, IDFColumn) Constructs a TwoSampleUnpairedUnequalTTest instance using the given columns of sample data.
Public methodTwoSampleUnpairedUnequalTTest(Int32, Int32) Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data.
Public methodTwoSampleUnpairedUnequalTTest(Double, Double, Double, HypothesisType) Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedUnequalTTest(DoubleVector, DoubleVector, Double, HypothesisType) Constructs a TwoSampleUnpairedUnequalTTest instance using the given vectors of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedUnequalTTest(IDFColumn, IDFColumn, Double, HypothesisType) Constructs a TwoSampleUnpairedUnequalTTest instance using the given columns of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedUnequalTTest(Int32, Int32, Double, HypothesisType) Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedUnequalTTest(Double, Double, Int32, Double, Double, Int32) Constructs a TwoSampleUnpairedUnequalTTest instance with the given sample parameters.
Public methodTwoSampleUnpairedUnequalTTest(Double, Double, Int32, Double, Double, Int32, Double, HypothesisType) Constructs a TwoSampleUnpairedUnequalTTest instance with the given sample and and hypothesis parameters.
Top
Properties
 NameDescription
Public propertyAlpha Gets and sets the alpha level associated with this hypothesis test.
Public propertyStatic memberDefaultAlpha Gets and sets the default alpha level associated with TwoSampleUnpairedUnequalTTests.
Public propertyStatic memberDefaultType Gets and sets the default form of the alternative hypothesis associated with TwoSampleUnpairedUnequalTTests.
Public propertyDegreesOfFreedom Gets the degrees of freedom.
Public propertyDistribution Gets the distribution of the test statistic associated with this hypothesis test.
Public propertyLeftCriticalValue Gets the left critical value based on the current probability distribution and alpha level associated with this hypothesis test.
Public propertyLeftProbability Gets the area under the probability distribution to the left of the test statistic.
Public propertyLowerConfidenceLimit Gets the 1 - alpha lower confidence limit for the true mean.
Public propertyN1 Gets the size of the first sample.
Public propertyN2 Gets the size of the second sample.
Public propertyP Gets the p-value associated with the test statistic.
Public propertyReject Tests whether the null hypothesis can be rejected, using the current hypothesis type and alpha level.
Public propertyRightCriticalValue Gets the right critical value based on the current probability distribution and alpha level associated with this hypothesis test.
Public propertyRightProbability Gets the area under the probability distribution to the right of the test statistic.
Public propertyS1 Gets the standard deviation of the first sample.
Public propertyS2 Gets the standard deviation of the second sample.
Public propertySEM Gets the standard error of the mean.
Public propertyStatistic Gets the value of the test statistic associated with this hypothesis test.
Public propertyType Gets and sets the form of the alternative hypothesis associated with this hypothesis test.
Public propertyUpperConfidenceLimit Gets the 1 - alpha upper confidence limit for the true mean.
Public propertyXbar1 Gets the mean of the first sample.
Public propertyXbar2 Gets the mean of the second sample.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this TwoSampleUnpairedUnequalTTest.
Public methodToString Returns a formatted string representation of the test results.
(Overrides ObjectToString)
Public methodUpdate(Double, Double) Updates the test statistic with new sample data.
Public methodUpdate(DoubleVector, DoubleVector) Updates the test statistic with new sample data.
Public methodUpdate(IDFColumn, IDFColumn) Updates the test statistic with new sample data.
Public methodUpdate(Int32, Int32) Updates the test statistic with new sample data.
Public methodUpdate(Double, Double, Int32, Double, Double, Int32) Updates the test statistic with new sample parameters.
Top
Remarks
The two samples are assumed to be independent of each other. (For dependent, or paired, samples, see class TwoSamplePairedTTest.) The samples may come from populations with unequal variances, and the Welch-Satterthwaite approximation to the degrees of freedom is used. Unlike TwoSampleUnpairedTTest, a pooled estimate of the variance is not used.
See Also