NMath Reference Guide

## Two |

Class TwoSampleFTest tests if the variances of two populations
are equal.

Inheritance Hierarchy

Syntax

The TwoSampleFTest type exposes the following members.

Constructors

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

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

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

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

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

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

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

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

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

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

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

TwoSampleFTest(Double, Int32, Double, Int32, Double, HypothesisType) | Constructs a TwoSampleFTest 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 TwoSampleFTests. | |

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

DegreesOfFreedom1 | Gets the numerator degrees of freedom. | |

DegreesOfFreedom2 | Gets the denominator 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. | |

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. |

Methods

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

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

OnDeserialized | Calls compute values following deserialization | |

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, Int32, Double, Int32) | Updates the test statistic with new sample parameters. |

See Also