Skip to Content
Think Stats 第2版 ―プログラマのための統計入門
book

Think Stats 第2版 ―プログラマのための統計入門

by Allen B. Downey, 黒川 利明, 黒川 洋
August 2015
Intermediate to advanced
272 pages
5h 46m
Japanese
O'Reilly Japan, Inc.
Content preview from Think Stats 第2版 ―プログラマのための統計入門
23
23
2.6 第一子
for weeks, freq in hist.Smallest(10):
print(weeks, freq)
生児出生の妊娠期間のリストで、小さいほうから
10
個の値を挙げると
[0, 4, 9,
13, 17, 18, 19, 20, 21, 22]
です。
10
週以前
の値はエラーですし、
30
週以降の
値はおそらく正しいでしょう。
10
30
週は確かなことは言えませんが、いくつかの
値はエラーでしょうし、いくつかは早産未熟児を表しているでしょう。
反対側では、大きいほうから値を挙げると、次のようになっています。
週数
度数
43 148
44 46
45 10
46 1
47 1
48 7
50 2
ほとんどの医者は、妊娠が
42
週を超えたら人工分娩を勧めるので、より大きな値
は驚きです。特に、
50
週は医学的にありえません。
外れ値を扱う最良の方法は、「専門知識(
domain knowledge
)」すなわち、データ
がどこから来て何を意味するかの情報に依拠することです。また、どのような分析を
行いたいと計画しているかにも依存します。
この例では、そもそもの質問とは、第一子は早く(あるいは遅く)産まれるかどう
かでした。この質問をするときに、人々は通常満期出産を考えていますから、この分
析では
27
週以降の妊娠に焦点を当てます。
2.6
 第一子
さあ、これで第一子と第二子以降との妊娠期間の分布の差を比較できます。
Birthord
を使って生児出生の
DataFrame
を分割して、ヒストグラムを計算します。 ...
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

マスタリングLinuxシェルスクリプト 第2版 ―Linuxコマンド、bashスクリプト、シェルプログラミング実践入門

マスタリングLinuxシェルスクリプト 第2版 ―Linuxコマンド、bashスクリプト、シェルプログラミング実践入門

Mokhtar Ebrahim, Andrew Mallett, 萬谷 暢崇, 原 隆文
マイクロサービスアーキテクチャ 第2版

マイクロサービスアーキテクチャ 第2版

Sam Newman, 佐藤 直生, 木下 哲也
機械学習デザインパターン ―データ準備、モデル構築、MLOpsの実践上の問題と解決

機械学習デザインパターン ―データ準備、モデル構築、MLOpsの実践上の問題と解決

Valliappa Lakshmanan, Sara Robinson, Michael Munn, 鷲崎 弘宜, 竹内 広宜, 名取 直毅, 吉岡 信和

Publisher Resources

ISBN: 9784873117355Other