SiegelTukeyTest
SiegelTukeyTest[{data1,data2}]
tests whether the variances of data1 and data2 are equal.
SiegelTukeyTest[dspec,]
tests a dispersion measure against .
SiegelTukeyTest[dspec,,"property"]
returns the value of "property".
Details and Options
- SiegelTukeyTest performs a hypothesis test on data1 and data2 with null hypothesis that the ratio of the true population variances against .
- By default a probability value or -value is returned.
- A small -value suggests that it is unlikely that is true.
- The argument can be any positive real number.
- The data in dspec must be univariate {x1,x2,…}.
- SiegelTukeyTest assumes the data is symmetric about a common median.
- SiegelTukeyTest[data,,"HypothesisTestData"] returns a HypothesisTestData object htd that can be used to extract additional test results and properties using the form htd["property"].
- SiegelTukeyTest[data,,"property"] can be used to directly give the value of "property".
- Properties related to the reporting of test results include:
-
"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 - The test statistic is computed for the pooled sample as where if is from data1 and zero otherwise, and are ranks associated with each . The statistic is assumed to follow a NormalDistribution under .
- SiegelTukeyTest is a less powerful ranks-based test than ConoverTest and is an alternative to the FisherRatioTest when the datai is not normally distributed.
- The following options can be used:
-
AlternativeHypothesis "Unequal" the inequality for the alternative hypothesis SignificanceLevel 0.05 cutoff for diagnostics and reporting VerifyTestAssumptions Automatic set which diagnostic tests to run - For the SiegelTukeyTest, a cutoff is chosen such that is rejected only if . The value of used for the "TestConclusion" and "ShortTestConclusion" properties is controlled by the SignificanceLevel option. This value is also used in diagnostic tests of assumptions including tests for symmetry. By default is set to 0.05.
- Named settings for VerifyTestAssumptions in SiegelTukeyTest include:
-
"Symmetry" verify that all data is symmetric
Examples
open allclose allBasic Examples (2)
Test variances from two populations for equality:
Create a HypothesisTestData object for further property extraction:
Test the ratio of the variances of two populations against a particular value:
Scope (7)
Testing (5)
Compare the variances of two populations:
The -values are typically large when the variances are equal:
The -values are typically small when the variances are not equal:
Test whether the ratio of the variances of two populations is a particular value:
The following forms are equivalent:
The order of the datasets should be considered when determining :
Create a HypothesisTestData object for repeated property extraction:
The properties available for extraction:
Extract some properties from a HypothesisTestData object:
The -value and test statistic:
Options (7)
AlternativeHypothesis (3)
SignificanceLevel (2)
Properties & Relations (6)
Under the test statistic follows a NormalDistribution[0,1]:
Unlike the FisherRatioTest, the Siegel–Tukey test does not assume normality:
The FisherRatioTest results in underestimation of -values:
The Siegel–Tukey test assumes symmetry about a common median:
The distribution of the test statistic is not NormalDistribution[0,1] when the data is asymmetric:
The PearsonChiSquareTest is used to test data for symmetry about a common median:
The data is found to be symmetric and no warning is issued:
The -value in the warning matches that of the PearsonChiSquareTest:
The Siegel-Tukey test ignores the time stamps when the input is a TimeSeries:
The Siegel–Tukey test recognizes the path structure of a TemporalData with exactly two paths:
Text
Wolfram Research (2010), SiegelTukeyTest, Wolfram Language function, https://reference.wolfram.com/language/ref/SiegelTukeyTest.html.
CMS
Wolfram Language. 2010. "SiegelTukeyTest." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SiegelTukeyTest.html.
APA
Wolfram Language. (2010). SiegelTukeyTest. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SiegelTukeyTest.html