Skip to Content
面向数据科学家的实用统计学
book

面向数据科学家的实用统计学

by Peter Bruce, Andrew Bruce
October 2018
Beginner to intermediate
238 pages
6h 32m
Chinese
Posts & Telecom Press
Content preview from 面向数据科学家的实用统计学
68
|
第
3
章
3.2.3
 单向假设检验和双向假设检验
A/B
测试通常是根据一个已有的默认选项(比如
A
)去测试一个新的选项(比如
B
),并且
假定除非证明
B
明显优于
A
,否则我们将坚持使用
A
。在这种情况下,我们需要一个假设
检验来免受倾向于
B
的偶然性的欺骗。我们并不在意在另一个方向上是否会受偶然性的愚
弄,因为除非能证明
B
更好,否则我们将坚持
A
。所以,我们需要一种
有方向的
备择假设
(即
B
比
A
好)。这种情况下,我们可以使用
单向
(或“单尾”)假设检验。这意味着极端
偶然性只会导致从一个方向上计入
p
值。
如果想要假设检验使我们免受任意方向上偶然性的愚弄,那么备择假设应该是
双向
的(即
A
不同于
B
,它可能更大,或是更小)。在这种情况下,我们要使用
双向
(或“双尾”)假
设。这意味着极端偶然性导致可以从任意一个方向上计入
p
值。
单向假设检验通常遵循
A/B
决策过程,即需要指定一个选项,并且除非证明另一个选项更
好,否则将指定该选项为“默认”的。然而,包括
R
在内的一些软件的默认输出通常提供
的是双向测试,并且许多统计学家为了避免争议,也会选择更为保守的双向测试。选择单
向还是双向,这是一个让人困惑的问题,但是该问题与数据科学的关系并不大。在数据科
学中,
p
值的计算精度并非十分重要。
本节要点
•
零假设
的逻辑理念体现为没有特殊事件发生,任何观察到的效果都是由随机偶然导
致的。
•
假设检验
假定零假设为真,创建“零模型”(一种概率模型),并检验所观察到的效
果是否是该模型的合理结果。
3.2.4
 拓展阅读
• Leonard Mlodinow ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精通機器學習

精通機器學習

Aurélien Géron
基于Python的智能文本分析

基于Python的智能文本分析

Benjamin Bengfort, Rebecca Bilbro, Tony Ojeda
Python数据处理

Python数据处理

Jacqueline Kazil, Katharine Jarmul

Publisher Resources

ISBN: 9787115493668