Click or drag to resize

OneSampleTTest Class

Class OneSampleTTest compares a single sample mean to an expected mean from a normal distribution with an unknown standard deviation.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreOneSampleTTest

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

The OneSampleTTest type exposes the following members.

Constructors
  NameDescription
Public methodOneSampleTTest
Default constructor. Constructs a OneSampleTTest instance with default sample parameters, population mean, alpha level, and hypothesis type.
Public methodOneSampleTTest(Double, Double)
Constructs a OneSampleTTest instance using the given array of sample data, and the given population mean.
Public methodOneSampleTTest(Int32, Double)
Constructs a OneSampleTTest instance using the given array of sample data, and the given population mean.
Public methodOneSampleTTest(DoubleVector, Double)
Constructs a OneSampleTTest instance using the given vector of sample data, and the given population mean.
Public methodOneSampleTTest(IDFColumn, Double)
Constructs a OneSampleTTest instance using the given column of sample data, and the given population mean.
Public methodOneSampleTTest(Double, Double, Int32, Double)
Constructs a OneSampleTTest instance with the given sample and population parameters.
Public methodOneSampleTTest(Double, Double, Double, HypothesisType)
Constructs a OneSampleTTest instance using the given array of sample data, and the given population and hypothesis parameters.
Public methodOneSampleTTest(Int32, Double, Double, HypothesisType)
Constructs a OneSampleTTest instance using the given array of sample data, and the given population and hypothesis parameters.
Public methodOneSampleTTest(DoubleVector, Double, Double, HypothesisType)
Constructs a OneSampleTTest instance using the given vector of sample data, and the given population and hypothesis parameters.
Public methodOneSampleTTest(IDFColumn, Double, Double, HypothesisType)
Constructs a OneSampleTTest instance using the given vector of sample data, and the given population and hypothesis parameters.
Public methodOneSampleTTest(Double, Double, Int32, Double, Double, HypothesisType)
Constructs a OneSampleTTest instance with the given sample, population, 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 OneSampleTTests.
Public propertyStatic memberDefaultType
Gets and sets the default form of the alternative hypothesis associated with OneSampleTTests.
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 propertyMu0
Gets the population mean.
Public propertyN
Gets the sample size.
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 propertyS
Gets the sample standard deviation.
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 propertyXbar
Gets the sample mean.
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this OneSampleTTest.
Public methodToString
Returns a formatted string representation of the test results.
(Overrides ObjectToString.)
Public methodUpdate(Double)
Updates the test statistic with a new population mean.
Public methodUpdate(Double)
Updates the test statistic with new sample data.
Public methodUpdate(Int32)
Updates the test statistic with new sample data.
Public methodUpdate(DoubleVector)
Updates the test statistic with new sample data.
Public methodUpdate(IDFColumn)
Updates the test statistic with new sample data.
Public methodUpdate(Double, Double)
Updates the test statistic with new sample data and population mean.
Public methodUpdate(Int32, Double)
Updates the test statistic with new sample data and population mean.
Public methodUpdate(DoubleVector, Double)
Updates the test statistic with new sample data and population mean.
Public methodUpdate(IDFColumn, Double)
Updates the test statistic with new sample data and population mean.
Public methodUpdate(Double, Double, Int32)
Updates the test statistic with new sample parameters.
Public methodUpdate(Double, Double, Int32, Double)
Updates the test statistic with new sample and population parameters.
Top
See Also