Skip to Content
データサイエンスのための数学入門 ―Pythonで学ぶ線形代数、確率、統計の基礎
book

データサイエンスのための数学入門 ―Pythonで学ぶ線形代数、確率、統計の基礎

by Thomas Nield, 江川 崇
September 2025
Intermediate to advanced
424 pages
5h 17m
Japanese
O'Reilly Japan, Inc.
Content preview from データサイエンスのための数学入門 ―Pythonで学ぶ線形代数、確率、統計の基礎

2章確率

確率と聞いてどのようなイメージを思い浮かべますか。もしかすると、宝くじの当選確率や、2つのサイコロを振ってゾロ目が出る確率などのギャンブル絡みの話、あるいは、株価の動向、選挙の結果、フライトの到着時間などを予測することを思い浮かべるかもしれません。我々の世界は、測定したいと思わせる不確実なもので満ち溢れています。

ここで注目すべきものは不確実性です。不確実なものをどのように測定すべきでしょうか。

結論から述べると、確率とは、ある事象が起こる可能性の高さを測定する理論的な学問であり、統計、仮説検定、機械学習など、本書で取り上げる他のトピックの基礎となる分野です。多くの人々は確率を当然のものと考え、理解していると思い込んでいますが、実際には思っている以上に奥が深く複雑なものです。確率の定理や概念は数学的に確立されていますが、データを取り入れて統計の領域に踏み込むと、途端に複雑さが増します。この点については「3章 記述統計と推測統計」の統計と仮説検定の中で詳しく述べます。

本章では、まず確率とは何かについて説明します。次に、確率に関する数学的概念として、ベイズの定理、二項分布、ベータ分布を解説します。

2.1 確率の理解

確率(probability)とは、ある事象が起きる可能性の高さを示すもので、一般的には割合(パーセント)で表します。以下は、確率によって答えが見込める質問の例です。

  • 偏りのないコインを10回投げて、表が7回出る可能性
  • 選挙で特定の候補者が勝利する可能性
  • フライトが遅延する可能性
  • 不良品の商品を掴まされる可能性

確率を表現するもっとも一般的な方法は、「フライトが遅延する確率は70%だ」のようにパーセントで表すことです。以下の式のように、対象の事象をとし、その確率を ...

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

データサイエンスのための統計学入門 第2版 ―予測、分類、統計モデリング、統計的機械学習とR/Pythonプログラミング

データサイエンスのための統計学入門 第2版 ―予測、分類、統計モデリング、統計的機械学習とR/Pythonプログラミング

Peter Bruce, Andrew Bruce, Peter Gedeck, 黒川 利明, 大橋 真也
ソフトウェア工学の基礎

ソフトウェア工学の基礎

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

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

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

Publisher Resources

ISBN: 9784814401260Publisher Website