首页 > 其他 > 详细

假设检验 检验的p值

时间:2020-12-19 12:18:47      阅读:30      评论:0      收藏:0      [点我收藏+]

https://www.jianshu.com/p/4c9b49878f3d
t
分布用于根据小样本来估计呈正态分布且方差未知的总体的均值,称为t检验。

如果总体方差已知(例如在样本数量足够多时),则应该用正态分布来估计总体均值,称为U检验。

硬币有正反两面,在概率中我们知道,出现正反面的概率各为50%(1/2),所以作为一个正常的硬币,如果我们投无限次后,结果一定会是正反各占50%。但是,如果我想知道自己手中的硬币,到底是不是正常的硬币,有没有做过手脚,在实际操作中是没办法投掷无限次的。因此,我们只能用有限的结果来判断“硬币是否为常规硬币”这个问题的答案。
显著性水平α表示错误拒绝H0假设的概率(即原假设事实上成立,但我们计算出的结果却错误判断原假设不成立的概率)。
假设置信度为95%,即错误拒绝H0的概率为0.05。展开解释就是,我们有95%的概率确信检验结果正确,有5%的概率会错误拒绝原假设。(错判)
https://www.statisticshowto.com/probability-and-statistics/statistics-definitions/p-value/
A p value is used in hypothesis testing to help you support or reject the null hypothesis. The p value is the evidence against a null hypothesis. The smaller the p-value, the stronger the evidence that you should reject the null hypothesis.

When you run the hypothesis test, the test will give you a value for p. Compare that value to your chosen alpha level. For example, let’s say you chose an alpha level of 5% (0.05). If the results from the test give you:

https://www.statsdirect.com/help/basics/p_values.htm

The term significance level (alpha) is used to refer to a pre-chosen probability and the term "P value" is used to indicate a probability that you calculate after a given study.

If your P value is less than the chosen significance level then you reject the null hypothesis i.e. accept that your sample gives reasonable evidence to support the alternative hypothesis. 

The significance level (alpha) is the probability of type I error. 

Notes about Type I error:

  • is the incorrect rejection of the null hypothesis
  • maximum probability is set in advance as alpha
  • is not affected by sample size as it is set in advance
  • increases with the number of tests or end points (i.e. do 20 rejections of H0 and 1 is likely to be wrongly significant for alpha = 0.05)

Notes about Type II error:

  • is the incorrect acceptance of the null hypothesis
  • probability is beta
  • beta depends upon sample size and alpha
  • can‘t be estimated except as a function of the true population effect
  • beta gets smaller as the sample size gets larger
  • beta gets smaller as the number of tests or end points increases



假设检验 检验的p值

原文:https://www.cnblogs.com/wwqdata/p/14158285.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!