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 面向数据科学家的实用统计学
数据和抽样分布
|
59
的,例如每平方米纺织品上的缺陷情况、每百行代码中的拼写错误情况。
主要术语
lambda
单位时间内或单位空间中的事件发生率。
泊松分布
单位时间内或单位空间中事件数量的频数分布。
指数分布
在时间或距离上,从一个事件到下一个事件的频数分布。
韦伯分布
泛化版本的指数分布。韦伯分布允许事件发生的速率随时间变化。
2.10.1
 泊松分布
我们可以根据先验数据估计单位时间内或单位空间中的平均事件数量。但是我们可能也想
知道,单位时间或单位空间之间事件的差异情况。泊松分布通过对很多单位抽样,可以告
诉我们单位时间内或单位空间中事件的分布情况。例如,对于回答排队问题,泊松分布就
非常有用,比如:“如果要确保在
95%
的情况下,可以完全处理任意五秒内到达服务器的
网络流量,我们需要多大的容量?”
泊松分布的一个关键参数是
λ
(
lambda
)。它表示在指定时间或空间间隔中,事件发生数量
的均值。泊松分布的方差也是
λ
。
在模拟排队问题中使用泊松分布生成随机数,这是一种常用的方法。
R
语言的 rpois 函数
实现了此功能。该函数可以只接收两个参数,即随机数的数量和 lambda。
rpois(100, lambda = 2)
上面的命令将从
λ
= 2
的泊松分布生成
100
个随机数。例如,如果平均每分钟有两次客户
服务电话呼入,那么上面的命令可以模拟
100
分钟内电话呼入的情况,并返回每一分钟内
的电话呼入次数。
2.10.2
 指数分布
指数分布可以建模各次事件之间的时间分布情况,例如,网站访问的时间间隔,汽车抵达
收费站的时间间隔。它所使用的参数 ...
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