Uses, Formula & Examples | What is a Two-Tailed Test? - Video & Lesson Transcript | Study.com

双侧检验,就是指当统计分析的目的是要检验样本平均数和总体平均数,或样本成数有没有显著差异,而不问差异的方向是否是正差还是负差时,所采用的一种统计检验方法。

应用

http://sthda.com/english/wiki/unpaired-two-samples-wilcoxon-test-in-r#:~:text=Infos%20The%20unpaired%20two-samples%20Wilcoxon%20test%20%28also%20known,used%20when%20your%20data%20are%20not%20normally%20distributed.

不能根据专业知识判断两种结果谁高谁低时,采用双侧检验。

如果检验的目的是检验抽样的样本统计量与假设参数的差数是否过大(无论是正方向还是负方向),就把风险平分在右侧和左侧。比如显著性水平为0.05,即概率曲线左右两侧各占一半,即0.025。

Two-Tailed Test in Statistics

In statistics, significance tests are used to determine if there is a statistically significant difference between observed values and the expected values of a statistical experiment. In any experiment, it is possible to have differences between observed and expected values. Significance tests provide the evidence of whether the difference occurs because of random factors or if it is unlikely that the difference is purely because of random factors.

For example, a breakfast cereal company produces boxes of cereal. On average, each box is 200 grams. Sixty boxes of cereal were chosen randomly and weighed. It is found that on average each box contains 185 grams of cereal. There is a 15 gram difference between observed and expected values. Is this an acceptable difference? Is the difference too high, and is there something in the production line that needs to be corrected? As neither extreme (extremely higher or lower than the expected average weight) is desired, a two-tailed test will need to be conducted. The null hypothesis for the weight of each cereal box is

{eq}H_{0} {/eq}: The mean weight of a cereal box is {eq}\mu {/eq}=200g

two-tailed test compares the sample and population means to identify if the difference between their means is statistically significant. Although both population and sample are assumed to be normally distributed, their means are different. To compare the two standard normal distributions, z-scores will need to be used. In Figure 1, the standard normal distribution curve represents the two-tailed test. If the result of the two-tailed test falls into the unshaded region, then it means there is not enough evidence to reject the null hypothesis. In the case of cereal boxes, there is not enough evidence to say the sample mean is different from 200 grams, or in other words, the difference between the sample and the population means is not statistically significant. If the two-tailed test results fall into the shaded regions, which are also called the rejection regions, then there is enough evidence to reject the null hypothesis, and the factory manager needs to check the process of production and make changes.

Figure 1 Rejection regions for two-tailed test of mean

Another important aspect in significance testing and two-tailed testing is the significance level, which is also known as the p-value. It represents the probability of obtaining test results at least as extreme as the results observed, under the assumption that the null hypothesis is correct. In Figure 1, it is the shaded regions that represent this probability. Because two-tailed statistics is represented in the graph, each shaded region has a probability equal to {eq}\frac{p}{2} {/eq}.

Also, in Figure 1, z-scores corresponding to each tail {eq}\frac{p}{2} {/eq} are {eq}z_{a}\: and\; z_{b} {/eq} (or corresponding x values {eq}x_{a}\: and\; x_{b} {/eq}) are called critical values, and regions are called critical regions.

In summary, two tailed statistics is used if there is a statistically significant difference between the sample mean and the population mean.

Two-Tailed vs One-Tailed Tests

For example, a factory produces smartphone batteries with a mean life of 10 hours. If a sample of 35 batteries has a mean life of 8 hours, is it significantly less than the expected mean?

{eq}H_{0} {/eq}: The mean life of the batteries is {eq}\mu {/eq}=10 hrs

{eq}H_{a} {/eq}: the mean life of batteries is fewer than 10 hours, {eq}\mu {/eq}<10 hrs

In this case, a one-tailed significance test is suitable, as the question is asking, "Is it significantly less than the expected mean?" In Figure 2, this case is represented with a left-tailed rejection region under the curve of standardized normal distribution.

Figure 2: Left-tail significant testing of means and rejection region

Another example of a one-tailed test would be for a course for four-year-old children which claims to be improving their memory. On average, the children can remember seven of the ten pictures shown to them correctly. After they have taken the course, they remember eight pictures out of ten on average. Is there enough evidence to say the course has improved their memory?

In this case, a right-tailed test would be more suitable, as the question of the research is to find if the course has increased memory, as seen in Figure 3.

Figure 3: Right-tailed test for mean and rejection region

Two-Tailed Test Formula

The steps of two-tailed test statistics are as follows:

  1. The sample size needs to be large enough to perform significance testing (statistically acceptable minimum is n=30).
  2. State the null and alternative hypothesis, where the null hypothesis is that the sample mean is equal to the population mean, and the alternative hypothesis is they are not equal.
  3. Identify the significance level (p-value).
  4. Find the critical values using the standard normal distribution table (area beyond z for the right tail of the graph).
  5. Perform the test and find z-scores for observed values.
  6. If the z-score falls into the critical region, reject the null hypothesis.

If

{eq}n: {/eq} sample size

{eq}\sigma {/eq}: standard deviation

{eq}\bar{x} {/eq}: sample mean

{eq}\mu {/eq}: the population mean

The two-tailed test formula to find the z-score is

{eq}z=\frac{\bar{x}-\mu }{\sigma/\sqrt{n}} {/eq}

In this formula, {eq}\frac{\sigma}{\sqrt{n}} {/eq} represents the standard error of the sampling distribution.

As mentioned above, the z-score is compared to the p-value and the rejection region. Fifteen percent (0.05) or one percent (0.01) are commonly used p-values. For example, if 0.01 is used, it means that only 1 time in 100 the null hypothesis is rejected when it should have been accepted. Therefore, a smaller p-value means the chance of rejecting the null hypothesis when it should not be rejected is smaller. The significance level needs to be decided before the test is performed based on the set criteria by the researcher.

Save

Timeline

Autoplay

  • Video
  • Quiz
  • Course

14K views

To unlock this lesson you must be a Study.com Member. Create your account

Frequently Asked Questions

When would you use a two-tailed test?

A two-tailed test is used to identify if the mean of the expected values is significantly different than the mean of the observed values. This means that it is testing whether the means are equal, more, or less; and both tail ends of the normal distribution are considered.

What is the difference between a one-tailed test and a two-tailed test?

For both two-tailed and one-tailed tests, the null hypothesis is that the mean of the population is equal to the mean of the observed values.

In a one-tailed test, the alternative hypothesis is that the mean is smaller (or greater) than the expected mean.

In the two-tailed test, the alternative hypothesis is that the mean of the population is different from the observed mean.

What is an example of a two-tailed test?

The two-tailed test identifies if the difference between the sample mean and the population mean is statistically significant. For example, if a new teaching method of statistics is to be used in schools, it is important to use a two-tailed test to identify if there is a statistically significant difference in both ends of the distribution to see if the new method produced similar, higher, or lower scores than the previous method.

双侧检验Two-Tailed Test相关推荐

  1. 双侧检验的p值和单侧检验_【单侧检验和双侧检验的区别】_怎么检验_如何检验-大众养生网...

    单侧检验和双侧检验都是属于现代医学上比较常见的一种检验的方法,通过单侧检验或者是双侧检验可以有效检查出药物数据以及专业知识等,而单侧检验和双侧检验也是存在一定的区别的,需要根据专业的检验结果来进行判断 ...

  2. 双侧检验的p值和单侧检验_假设检验03----假设检验的步骤

    假设检验的步骤 [经典四步] 1.提出原假设(Null Hypothesis) 和备择假设(Alternative Hypothesis) 2.设计检验统计量 3.给定显著性水平和确定相应的临界值 4 ...

  3. 假设检验:如何理解单侧、双侧检验的拒绝域

    简单说就是:拒绝域与备择假设方向相同.假设检验就是一个证伪的过程,原假设和备择假设是一对"相反的结论"."拒绝域",顾名思义,就是拒绝原假设的范围和方向,所以判 ...

  4. 统计|如何理解假设检验中单侧检验与双侧检验

    本博文源于<商务统计>.旨在讲述单侧检验与双侧检验的理解.假设检验的本质是根据小概率原理.小概率的事件不应该发生的事情竟然发生了,所以里面有猫腻.如何理解这两种呢?就需要借助一个例子. 双 ...

  5. 假设检验与单侧检验、双侧检验

    在看假设检验的例题的时候发现,同样是5%的显著性水平,有时候会选择使用双侧检验,有时候又选择单侧,到底应该如何选择? 今天通过一些资料理解一下,记录下来. 1. 什么是假设检验 我们经常会遇到需要用数 ...

  6. 原假设“截距为0”双侧检验P值是多少_假设检验——这一篇文章就够了

    我们为什么要假设检验 我们在生活中经常会遇到对一个总体数据进行评估的问题,但我们又不能直接统计全部数据,这时就需要从总体中抽出一部分样本,用样本来估计总体情况. 举一个简单的例子: 学而思网校App进 ...

  7. 双侧检验的p值和单侧检验_单侧检验和双侧检验单侧检验和双侧检验.ppt

    单侧检验和双侧检验单侧检验和双侧检验 医学统计学及其软件包 上海第二医科大学 生物统计教研室 第一节 医学统计学 第一节 医学统计学 1.统计学 (statistics):收集,整理和分析带有随机性的 ...

  8. 双侧检验的p值和单侧检验_单侧检验与双侧检验的区别

    What are the differences between one-tailed and two-tailed tests? 来源: Institute for Digital Research ...

  9. 数据分析-------统计学-------假设检验和p值、单侧检验、双侧检验、z统计量、t统计量、第一类错误、第二类错误

    具体可看https://zhuanlan.zhihu.com/p/86178674 例:神经学家测试一种药物对反应时间的效果,分别对100只老鼠注射一单位剂量的药物,对其进行神经刺激,然后记录反应时间 ...

最新文章

  1. python官方网站地址-index
  2. Python入门100题 | 第049题
  3. python网页爬虫例子_Python 利用Python编写简单网络爬虫实例3
  4. 计算机领域的顶级会议和期刊
  5. 信号与系统与c语言,2016年安徽医科大学生命科学学院信号系统与C语言程序设计之信号与系统复试笔试仿真模拟题...
  6. 【数据库系统】为什么使用SQL而非C/C++的函数库执行数据库查询操作
  7. LOGO设计没有灵感?5种方法来寻找标志设计的灵感和想法
  8. SQL Server:查找表的生成或顺序
  9. day6:vcp考试
  10. SpringCloud学习路线
  11. vue开发app项目实例
  12. Modbus转Profinet网关连接英威腾变频器方法
  13. gif一键抠图 在线_不用下载的在线抠图软件哪里找?
  14. Storage LUN connected on Emulex / Qlogica HBA not detecting during boot time.
  15. [译] linux内存管理之RSS和VSZ的区别
  16. php中die是什么意思,PHP中die()和exit()有什么区别?
  17. 【超全面】机器学习中的超参优化方法总结
  18. AI虚拟模特会被普及吗?
  19. JPEG文件格式介绍
  20. Kali中常用的代理工具以及使用

热门文章

  1. 【三】-硬件木马的分类
  2. 快商通AI技术再获殊荣,荣膺厦门市“科学技术进步奖”
  3. 整数划分 --- 一个老生长谈的问题 动态规划
  4. 跟我学XML (02)全网最简洁XML教程
  5. 为什么法线贴图大部分是蓝紫色?
  6. 音视频开发常用名词解释
  7. 一步一步完成Flutter应用开发-掘金App搜索,我的,发现,发布沸点
  8. PotPlayer技巧总结
  9. PTA 求两点之间距离 (20 分)
  10. 定时任务解决方案 - 定时执行专家