Click or drag to resize
Accord.NET (logo)

TwoSampleTTest Class

Two-sample Student's T test.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.TestingHypothesisTestTDistribution
    Accord.Statistics.TestingTwoSampleTTest
      Accord.Statistics.TestingTwoAverageKappaTest

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
[SerializableAttribute]
public class TwoSampleTTest : HypothesisTest<TDistribution>
Request Example View Source

The TwoSampleTTest type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAnalysis
Gets the power analysis for the test, if available.
Public propertyAssumeEqualVariance
Gets whether the test assumes equal sample variance.
Public propertyConfidence
Gets the 95% confidence interval for the ObservedDifference statistic.
Public propertyCriticalValue
Gets the critical value for the current significance level.
(Inherited from HypothesisTestTDistribution.)
Public propertyDegreesOfFreedom
Gets the degrees of freedom for the test statistic.
Public propertyEstimatedValue1
Gets the estimated value for the first sample.
Public propertyEstimatedValue2
Gets the estimated value for the second sample.
Public propertyHypothesis
Gets the alternative hypothesis under test. If the test is Significant, the null hypothesis can be rejected in favor of this alternative hypothesis.
Public propertyHypothesizedDifference
Gets the hypothesized difference between the two estimated values.
Public propertyObservedDifference
Gets the actual difference between the two estimated values.
Public propertyPValue
Gets the P-value associated with this test.
(Inherited from HypothesisTestTDistribution.)
Public propertySignificant
Gets whether the null hypothesis should be rejected.
(Inherited from HypothesisTestTDistribution.)
Public propertySize
Gets the significance level for the test. Default value is 0.05 (5%).
(Inherited from HypothesisTestTDistribution.)
Public propertyStandardError
Gets the standard error for the difference.
Public propertyStatistic
Gets the test statistic.
(Inherited from HypothesisTestTDistribution.)
Public propertyStatisticDistribution
Gets the distribution associated with the test statistic.
(Inherited from HypothesisTestTDistribution.)
Public propertyTail
Gets the test type.
(Inherited from HypothesisTestTDistribution.)
Public propertyVariance
Gets the combined sample variance.
Top
Methods
  NameDescription
Protected methodCompute
Computes the T Test.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetConfidenceInterval
Gets a confidence interval for the ObservedDifference statistic within the given confidence level percentage.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnSizeChanged
Update event.
(Overrides HypothesisTestTDistributionOnSizeChanged.)
Public methodPValueToStatistic
Converts a given p-value to a test statistic.
(Overrides HypothesisTestTDistributionPValueToStatistic(Double).)
Public methodStatisticToPValue
Converts a given test statistic to a p-value.
(Overrides HypothesisTestTDistributionStatisticToPValue(Double).)
Public methodToString
Converts the numeric P-Value of this test to its equivalent string representation.
(Inherited from HypothesisTestTDistribution.)
Public methodToString(String, IFormatProvider)
Converts the numeric P-Value of this test to its equivalent string representation.
(Inherited from HypothesisTestTDistribution.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by Matrix.)
Top
Remarks
See Also