BUILT-IN WOLFRAM LANGUAGE SYMBOL
tests whether the variances of and are equal.
- FisherRatioTest performs a hypothesis test on data with null hypothesis that the true population variance , and alternative hypothesis that .
- Given and , FisherRatioTest tests against .
- By default a probability value or -value is returned.
- A small -value suggests that it is unlikely that is true.
- The data in dspec must be univariate .
- The argument can be any positive real number.
- The FisherRatioTest requires that the data is normally distributed.
- FisherRatioTest[data,,"HypothesisTestData"] returns a HypothesisTestData object htd that can be used to extract additional test results and properties using the form htd["property"].
- FisherRatioTest[data,,"property"] can be used to directly give the value of .
- Properties related to the reporting of test results include:
|"DegreesOfFreedom"||the degrees of freedom used in a test|
|"PValue"||list of -values|
|"PValueTable"||formatted table of -values|
|"ShortTestConclusion"||a short description of the conclusion of a test|
|"TestConclusion"||a description of the conclusion of a test|
|"TestData"||list of pairs of test statistics and -values|
|"TestDataTable"||formatted table of -values and test statistics|
|"TestStatistic"||list of test statistics|
|"TestStatisticTable"||formatted table of test statistics|
- When one sample of size is given, the test statistic is based on and is assumed to follow a ChiSquareDistribution[n-1] under .
- When two samples of size and are given, the test statistic is based on and is assumed to follow an FRatioDistribution[n-1,m-1] under .
- The FisherRatioTest is often called the F-test for equal variances.
- The following options can be used:
- For the FisherRatioTest, a cutoff is chosen such that is rejected only if . The value of used for the and properties is controlled by the SignificanceLevel option. This value is also used in diagnostic tests of assumptions including tests for normality and symmetry. By default is set to .
- Named settings for VerifyTestAssumptions in FisherRatioTest include:
|"Normality"||verify that all data is normally distributed|
Test variances from two populations for equality:
Create a HypothesisTestData object for further property extraction:
Properties of the test:
Compare the variance of a population to a particular value:
Test against the alternative hypothesis :