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 面向数据科学家的实用统计学
20
|
第
1
章
1.5.4
 拓展阅读
•
美国纽约州立大学奥斯威戈分校的一位教授给出了创建箱线图的步骤。
• Henry Deng
和
Hadley Wickham
在其论文“
Density estimation in R
”中介绍了如何在
R
语言中实现密度估计。
• R-Bloggers
网站提供了一篇关于
R
语言中直方图的有用文章,其中介绍了如何选取箱子
大小等元素。
• R-Bloggers
网站还提供了一些介绍
R
语言中箱线图的类似文章。
1.6
 探索二元数据和分类数据
使用基本的比例或百分比,我们就能了解分类数据的情况。
主要术语
众数
数据集中出现次数最多的类别或值。
期望值
如果类别可以与一个数值相关联,可以根据类别的出现概率计算一个平均值。
条形图
在绘图中,以条形表示每个类别出现的频数或占比情况。
饼图
在绘图中,圆饼中的一个扇形部分表示每个类别出现的频数或占比情况。
总结二元变量的情况,或总结只有几个类别的分类变量,是非常容易实现的,我们只需计
算出数据中
1
的比例,或是重要类别出现的比例。例如,表
1-6
给出了按延迟原因分类的
航班延迟的百分比,数据来自于美国达拉斯沃斯堡机场自
2010
年以来的延迟数据。延迟
原因可分类为:航空公司管理原因、流量控制(
ATC
)系统延误、天气原因、安全原因以
及到港航班延迟。
表1-6:美国达拉斯沃斯堡机场的航班延迟百分比,按延迟原因分类
航空公司管理原因
ATC
天气原因 安全原因 到港航班延迟
23.02 30.40 4.03 0.12 42.43
条形图是在各大媒体上常用的一种可视化工具,它可显示单个分类变量的总体情况。在条 ...
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