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 面向数据科学家的实用统计学
统计实验与显著性检验
|
95
3.11.1
 样本规模
检验效能计算最常用于估计所需的样本规模。
例如,假设我们要查看点击率的情况,即点击次数占展示次数的百分比,并检验已有广告
与新广告之间的对比情况。那么在此研究中,我们需要积累多少次点击?如果我们只关注
能显示出巨大差异的结果(例如,
50%
的差异),那么使用较小规模的样本就可以。另一
方面,如果我们关注的是微小的差异情况,那么就需要规模更大的样本。一种标准方法是
制定一个策略,指定新广告必须比现有广告好百分之多少(例如
10%
),否则将保持现有
的广告不变。这个目标就称为
效果规模
,它决定了样本的规模。
例如,假设当前的点击率约为
1.1%
,而我们寻求
10%
的提升,即升至
1.21%
。因此我们
构建两个箱子,箱子
A
中
1
占
1.1%
(例如,箱子中有
110
个
1
和
9890
个
0
),箱子
B
中
1
占
1.21%
(例如,箱子中有
121
个
1
和
9879
个
0
)。我们先尝试从每个箱子中做
300
次抽
取(对于广告而言,就是做
300
次“展示”)。假设我们第一次抽取的结果如下。
•
箱子
A
:
3
个
1
•
箱子
B
:
5
个
1
显而易见,任何假设检验都会认为这种差异(
5
比
3
)是在随机变异的范围之内。但是要
让任意假设检验都能可靠地展示出差异情况,这里使用的样本规模(每个组中
n
= 300
)和
效果规模(差异
10%
)过小。
现在,我们可以尝试增大样本规模(试试展示
2000
次),并要求点击率提升更大的幅度
(例如,提升
30%
而不是
10%
)。
假设目前的点击率仍然是
1.1%
,但我们现在它提升
50%
,即提升到
1.65% ...
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

基于Python的智能文本分析

基于Python的智能文本分析

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

Python数据处理

Jacqueline Kazil, Katharine Jarmul
精通機器學習

精通機器學習

Aurélien Géron
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787115493668