HypothesisTesting`
HypothesisTesting`

MeanDifferenceCI

MeanDifferenceCI[list1,list2]

gives a confidence interval for the difference between the population means estimated from list1 and list2.

更多信息和选项

  • To use MeanDifferenceCI, you first need to load the Hypothesis Testing Package using Needs["HypothesisTesting`"].
  • MeanDifferenceCI[list1,list2] gives a confidence interval {min,max} centered at Mean[list1]-Mean[list2].
  • MeanDifferenceCI 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 interval is based on Student's 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:
  • ConfidenceLevel0.95probability associated with a confidence interval
    EqualVariancesFalsewhether the unknown population variances are assumed equal
    KnownVarianceNonelist of variances of each population

范例

打开所有单元关闭所有单元

基本范例  (1)

The 95% confidence interval for the difference in two population means:

Options  (3)

ConfidenceLevel  (1)

The 99% confidence interval:

EqualVariances  (1)

A confidence interval assuming equal but unknown variances:

KnownVariance  (1)

A confidence interval assuming known variances:

Wolfram Research (2007),MeanDifferenceCI,Wolfram 语言函数,https://reference.wolfram.com/language/HypothesisTesting/ref/MeanDifferenceCI.html.

文本

Wolfram Research (2007),MeanDifferenceCI,Wolfram 语言函数,https://reference.wolfram.com/language/HypothesisTesting/ref/MeanDifferenceCI.html.

CMS

Wolfram 语言. 2007. "MeanDifferenceCI." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/HypothesisTesting/ref/MeanDifferenceCI.html.

APA

Wolfram 语言. (2007). MeanDifferenceCI. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/HypothesisTesting/ref/MeanDifferenceCI.html 年

BibTeX

@misc{reference.wolfram_2024_meandifferenceci, author="Wolfram Research", title="{MeanDifferenceCI}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HypothesisTesting/ref/MeanDifferenceCI.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_meandifferenceci, organization={Wolfram Research}, title={MeanDifferenceCI}, year={2007}, url={https://reference.wolfram.com/language/HypothesisTesting/ref/MeanDifferenceCI.html}, note=[Accessed: 22-November-2024 ]}