NMath Reference Guide

## Two |

Class TwoSampleUnpairedUnequalTTest tests the null hypothesis that the two population
means corresponding to two random samples are equal.

Inheritance Hierarchy

Syntax

The TwoSampleUnpairedUnequalTTest type exposes the following members.

Constructors

Name | Description | |
---|---|---|

TwoSampleUnpairedUnequalTTest | Default constructor. Constructs a TwoSampleUnpairedUnequalTTest instance with default sample parameters, alpha level, and hypothesis type. | |

TwoSampleUnpairedUnequalTTest(Double, Double) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data. | |

TwoSampleUnpairedUnequalTTest(DoubleVector, DoubleVector) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given vectors of sample data. | |

TwoSampleUnpairedUnequalTTest(IDFColumn, IDFColumn) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given columns of sample data. | |

TwoSampleUnpairedUnequalTTest(Int32, Int32) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data. | |

TwoSampleUnpairedUnequalTTest(Double, Double, Double, HypothesisType) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data, and the given hypothesis parameters. | |

TwoSampleUnpairedUnequalTTest(DoubleVector, DoubleVector, Double, HypothesisType) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given vectors of sample data, and the given hypothesis parameters. | |

TwoSampleUnpairedUnequalTTest(IDFColumn, IDFColumn, Double, HypothesisType) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given columns of sample data, and the given hypothesis parameters. | |

TwoSampleUnpairedUnequalTTest(Int32, Int32, Double, HypothesisType) | Constructs a TwoSampleUnpairedUnequalTTest instance using the given arrays of sample data, and the given hypothesis parameters. | |

TwoSampleUnpairedUnequalTTest(Double, Double, Int32, Double, Double, Int32) | Constructs a TwoSampleUnpairedUnequalTTest instance with the given sample parameters. | |

TwoSampleUnpairedUnequalTTest(Double, Double, Int32, Double, Double, Int32, Double, HypothesisType) | Constructs a TwoSampleUnpairedUnequalTTest instance with the given sample and and hypothesis parameters. |

Properties

Name | Description | |
---|---|---|

Alpha | Gets and sets the alpha level associated with this hypothesis test. | |

DefaultAlpha | Gets and sets the default alpha level associated with TwoSampleUnpairedUnequalTTests. | |

DefaultType | Gets and sets the default form of the alternative hypothesis associated with TwoSampleUnpairedUnequalTTests. | |

DegreesOfFreedom | Gets the degrees of freedom. | |

Distribution | Gets the distribution of the test statistic associated with this hypothesis test. | |

LeftCriticalValue | Gets the left critical value based on the current probability distribution and alpha level associated with this hypothesis test. | |

LeftProbability | Gets the area under the probability distribution to the left of the test statistic. | |

LowerConfidenceLimit | Gets the 1 - alpha lower confidence limit for the true mean. | |

N1 | Gets the size of the first sample. | |

N2 | Gets the size of the second sample. | |

P | Gets the p-value associated with the test statistic. | |

Reject | Tests whether the null hypothesis can be rejected, using the current hypothesis type and alpha level. | |

RightCriticalValue | Gets the right critical value based on the current probability distribution and alpha level associated with this hypothesis test. | |

RightProbability | Gets the area under the probability distribution to the right of the test statistic. | |

S1 | Gets the standard deviation of the first sample. | |

S2 | Gets the standard deviation of the second sample. | |

SEM | Gets the standard error of the mean. | |

Statistic | Gets the value of the test statistic associated with this hypothesis test. | |

Type | Gets and sets the form of the alternative hypothesis associated with this hypothesis test. | |

UpperConfidenceLimit | Gets the 1 - alpha upper confidence limit for the true mean. | |

Xbar1 | Gets the mean of the first sample. | |

Xbar2 | Gets the mean of the second sample. |

Methods

Name | Description | |
---|---|---|

Clone | Creates a deep copy of this TwoSampleUnpairedUnequalTTest. | |

ToString |
Returns a formatted string representation of the test results.
(Overrides ObjectToString) | |

Update(Double, Double) | Updates the test statistic with new sample data. | |

Update(DoubleVector, DoubleVector) | Updates the test statistic with new sample data. | |

Update(IDFColumn, IDFColumn) | Updates the test statistic with new sample data. | |

Update(Int32, Int32) | Updates the test statistic with new sample data. | |

Update(Double, Double, Int32, Double, Double, Int32) | Updates the test statistic with new sample parameters. |

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