重学 Statistics, Cha9 Hypothesis Tests

本文深入探讨了统计学中的假设检验,包括建立零假设与备择假设,区分I型和II型错误,以及不同类型的假设检验如单尾和双尾测试。在已知总体标准差的情况下,通过p值法和临界值法进行决策。同时讨论了样本大小对决策的影响,以及置信区间与假设检验之间的关系。
摘要由CSDN通过智能技术生成

9.1 Developing Null and Alternative Hypotheses

Null Hypothesis H0: a tentative assumption about a population parameter such as a population mean or a population proportion.
Alternative Hypothesis Ha: the opposite of what is stated in the null hypothesis

我们想测试瓶装可乐有没有和标签所说,至少67.6盎司,因此建立了以下的假设,这个假设应用于 label 是错的,瓶子装少了
H0: μ >= 67.6
Ha: μ < 67.6

但是当我们分别站在生产工厂和消费者的角度去思考,消费者如果拿到的真正容量少于67.6,那么则会不满足标准;但是多余67.6,对工厂来说,是亏了。 于是,我们建立以下的假设:
H0: μ = 67.6
Ha: μ != 67.6

因此,这是一个 two-tailed test, 而用大于或小于的符号,是 one tailed test.

9.2 Type I and Type II Errors

这里写图片描述

Level of Significance: The level of significance is the probability of making a Type I error when the null hypothesis is true as an equality.
The Greek symbol α (alpha) is used to denote the level of significance, and common choices for α are .05 and .01.
当 level of significance 大的时候,也就是所 type I error可能性很大的时候,可能是 α使用的比较大。

Because of the uncertainty associated with making a Type II error when conducting significance tests, statisticians usually recommend that we use the statement “do not reject H0”
instead of “accept H0.”

9.3 Population Mean: σ Known

One-Tailed Test

Step 1: Develop null and alternative hypotheses
Step 2: Decide μ(一般用 hypothesis里的来做) and α
Step 3: Collect sample data and compute test statistic

Lower Tail Test: H0: μ>= μ0 Ha: μ < μ0
Upper Tail Test: H0: μ<= μ0 Ha: μ > μ0

因为 σ已知,σ=0.18. n=36, 因此 σx = 0.03

所以可以计算 z=x¯

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值