|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ConoverTest
ConoverTest[{data1, data2}]
tests whether the variances of
and
are equal.
ConoverTest[dspec,
]
tests a dispersion measure against
.
ConoverTest[dspec,
, "property"]
returns the value of
.
Details and OptionsDetails and Options
- ConoverTest performs a hypothesis test on
and
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 data in dspec must be univariate
. - The argument
can be any positive real number. - ConoverTest assumes the data is symmetric about a common median.
- ConoverTest[data,
, "HypothesisTestData"] returns a HypothesisTestData object htd that can be used to extract additional test results and properties using the form htd["property"]. - ConoverTest[data,
, "property"] can be used to directly give the value of
. - 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 based on a ratio of the sum of the squared ranks from the first sample to the pooled squared ranks, which is assumed to follow a NormalDistribution under
. - ConoverTest is sometimes called the squared ranks test and is an alternative to the FisherRatioTest when the
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 ConoverTest, 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 symmetry. By default
is set to
. - Named settings for VerifyTestAssumptions in ConoverTest include:
-
"Symmetry" verify that all data is symmetric
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Test variances from two populations for equality:
| In[1]:= |
| In[2]:= |
| Out[2]= |
Create a HypothesisTestData object for further property extraction:
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= | ![]() |
Test the ratio of the variances of two populations against a particular value:
| In[1]:= |
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
Perform the test with alternative hypothesis
:
| In[4]:= |
| Out[4]= |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

