Skip to Content
数据科学中的实用统计学(第2版)
book

数据科学中的实用统计学(第2版)

by Peter Bruce, Andrew Bruce, Peter Gedeck
October 2021
Intermediate to advanced
289 pages
8h 31m
Chinese
Posts & Telecom Press
Content preview from 数据科学中的实用统计学(第2版)
62
2
相应的
Python
代码如下:
nflx = sp500_px.NFLX
nflx = np.diff(np.log(nflx[nflx>0]))
fig, ax = plt.subplots(figsize=(4, 4))
stats.probplot(nflx, plot=ax)
与图
2-11
不同,在图
2-12
中,当数据点的值比较小时,它们远远低于对角线,而当数据
点的值比较大时,又远远高于对角线。这说明数据不是正态分布的,这意味着我们比数据
正态分布时更容易观测到极端值。图
2-12
展示了另一种常见现象
:在数据距均值一个标准
差之内时,它们是接近于对角线的。图基称这种现象为数据是“中部正态的”,但有更长
的尾部(见
[T
ukey-1987]
)。
有大量统计学文献研究了如何对观测数据拟合统计分布。要注意,不要过度
使用以数据为中心的方法,这种方法一半是科学,一半是艺术。数据是变化
的,但表面上看通常是一致的,分布的形状和类型也不止一种。一般来说,
必须同时使用领域知识和统计学知识来确定哪种类型的分布适合对具体情况
建模。例如,如果数据是关于一台服务器在多个连续的
5
秒时段中的互联网
流量水平的,那我们就应该知道,要对这种“每时段事件”进行建模,最好
的分布就是泊松分布(参见
2.12.1
)。
本节要点
多数数据不是正态分布的。
正态分布假设可能导致对极端事件估计不足(“黑天鹅”)。
扩展阅读
Nassim Nicholas Taleb
所著的
The Black Swan
2
版。
K. Krishnamoorthy ...
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机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787115569028