Skip to Content
Think Stats 第3版 ―Pythonで学ぶ統計学入門
book

Think Stats 第3版 ―Pythonで学ぶ統計学入門

by Allen B. Downey, 大橋 真也
October 2025
Intermediate to advanced
328 pages
3h 56m
Japanese
O'Reilly Japan, Inc.
Content preview from Think Stats 第3版 ―Pythonで学ぶ統計学入門

14章分析手法

本書では、シミュレーションやリサンプリングのような計算手法に焦点を当ててきましたが、私たちが解いた問題の中には、より高速に計算できる解析解を持つものもあります。

この章では、これらの手法を紹介し、それらがどのように機能するかを説明します。章の終わりには、データ分析のための計算手法と分析手法を統合するための提案をします。

14.1 正規確率プロット

多くの分析手法は、正規分布の性質に基づいています。その理由は2つあります。現実世界の多くの測定値の分布は正規分布でよく近似されること、そして正規分布は分析に有用な数学的特性を持っているからです。

最初の点を実証するために、ペンギンデータセットの測定値をいくつか見てみましょう。そして、正規分布の数学的特性を調べます。データのダウンロード方法は14章のノートブック(chap14.ipynb)で説明しています。

以下のようにして、データを読み込むことができます。

penguins = pd.read_csv("penguins_raw.csv")
penguins.shape
(344, 17)

データセットには3種のペンギンの観測値が含まれています。この例ではアデリーペンギンを選択します。

adelie = penguins.query('Species.str.startswith("Adelie")').copy()
len(adelie)
152

ペンギンの体重が正規分布に従うかどうかを確認するため、データの経験的CDFを計算します。

from empiricaldist import Cdf

weights = adelie["Body Mass (g)"].dropna()
cdf_weights ...
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

SRE サイトリライアビリティエンジニアリング ―Googleの信頼性を支えるエンジニアリングチーム

SRE サイトリライアビリティエンジニアリング ―Googleの信頼性を支えるエンジニアリングチーム

Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy, 澤田 武男, 関根 達夫, 細川 一茂, 矢吹 大輔, Sky株式会社 玉川 竜司
MLOps実装ガイド ―本番運用を見据えた開発戦略

MLOps実装ガイド ―本番運用を見据えた開発戦略

Yaron Haviv, Noah Gift, 井伊 篤彦, 入江 美穂, 張 凡, 樋口 千洋

Publisher Resources

ISBN: 9784814401376Publisher Website