Hypothesis Testing Package 内置符号 教程 »| 参见 »|更多关于 »

# MeanDifferenceTest

 MeanDifferenceTest[list1, list2, 0] performs a test with null hypothesis 1-2=0.
• MeanDifferenceTest[list1, list2, 0] gives a p-value for the test that the difference between the means 1 and 2 of the populations from which list1 and list2 were sampled is significantly different from 0.
• MeanDifferenceTest is based on a normal distribution if the population variances are assumed known.
• If the variances for the two populations are assumed equal and unknown, the test is based on Student's t distribution with Length[list1]+Length[list2]-2 degrees of freedom.
• If the population variances are not assumed known and not assumed equal, Welch's approximation for the degrees of freedom is used.
• The following options can be given:
 EqualVariances False whether the unknown population variances are assumed equal FullReport False whether to include detailed information about a test KnownVariance None variance of population SignificanceLevel None significance level of the test TwoSided False whether to perform a two-sided test
 例   (1)
Needs["HypothesisTesting`"]
A test of the difference of population means against 0:
 Out[2]=
 Options   (5)