此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

VarianceRatioTest

VarianceRatioTest[list1, list2, r]
performs a test with null hypothesis Sigma12/Sigma22=r.
  • VarianceRatioTest[list1, list2, r] gives a p-value for the test that the ratio of the variances Sigma12 and Sigma22 of the populations from which list1 and list2 were sampled is significantly different from r.
  • VarianceRatioTest is based on an F-ratio distribution with Length[list1]-1 and Length[list2]-1 degrees of freedom.
  • The following options can be given:
FullReportFalsewhether to include detailed information about a test
SignificanceLevelNonesignificance level of the test
TwoSidedFalsewhether to perform a two-sided test
  • With the option FullReport->True, VarianceRatioTest also returns the ratio of sample variances, the test statistic, and the distribution used to generate the p-value.
Needs["HypothesisTesting`"]
A test of the ratio of population variances against 2:
In[2]:=
Click for copyable input
Out[2]=