Click or drag to resize

TwoSampleUnpairedTTest Class

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

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

The TwoSampleUnpairedTTest type exposes the following members.

Constructors
  NameDescription
Public methodTwoSampleUnpairedTTest
Default constructor. Constructs a TwoSampleUnpairedTTest instance with default sample parameters, alpha level, and hypothesis type.
Public methodTwoSampleUnpairedTTest(Double, Double)
Constructs a TwoSampleUnpairedTTest instance using the given arrays of sample data.
Public methodTwoSampleUnpairedTTest(Int32, Int32)
Constructs a TwoSampleUnpairedTTest instance using the given arrays of sample data.
Public methodTwoSampleUnpairedTTest(DoubleVector, DoubleVector)
Constructs a TwoSampleUnpairedTTest instance using the given vectors of sample data.
Public methodTwoSampleUnpairedTTest(IDFColumn, IDFColumn)
Constructs a TwoSampleUnpairedTTest instance using the given columns of sample data.
Public methodTwoSampleUnpairedTTest(Double, Double, Double, HypothesisType)
Constructs a TwoSampleUnpairedTTest instance using the given arrays of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedTTest(Int32, Int32, Double, HypothesisType)
Constructs a TwoSampleUnpairedTTest instance using the given arrays of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedTTest(DoubleVector, DoubleVector, Double, HypothesisType)
Constructs a TwoSampleUnpairedTTest instance using the given vectors of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedTTest(IDFColumn, IDFColumn, Double, HypothesisType)
Constructs a TwoSampleUnpairedTTest instance using the given columns of sample data, and the given hypothesis parameters.
Public methodTwoSampleUnpairedTTest(Double, Double, Int32, Double, Double, Int32)
Constructs a TwoSampleUnpairedTTest instance with the given sample parameters.
Public methodTwoSampleUnpairedTTest(Double, Double, Int32, Double, Double, Int32, Double, HypothesisType)
Constructs a TwoSampleUnpairedTTest 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 TwoSampleUnpairedTTests.
Public propertyStatic memberDefaultType
Gets and sets the default form of the alternative hypothesis associated with TwoSampleUnpairedTTests.
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 propertySPooled
Gets the pooled estimate of the standard deviation.
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
Remarks
The two samples are assumed to be independent of each other. (For dependent, or paired, samples, see class TwoSamplePairedTTest.) The samples are also assumed to come from populations with the same variance, allowing for a pooled estimate of the variance.
See Also