Skip to Content
ゼロからはじめるデータサイエンス 第2版 ―Pythonで学ぶ基本と実践
book

ゼロからはじめるデータサイエンス 第2版 ―Pythonで学ぶ基本と実践

by Joel Grus, 菊池 彰
May 2020
Intermediate to advanced
456 pages
9h 13m
Japanese
O'Reilly Japan, Inc.
Content preview from ゼロからはじめるデータサイエンス 第2版 ―Pythonで学ぶ基本と実践
84
■
6
章 確率
数学的に、事象
E
と事象
F
が独立である場合、その両方が発生する確率は、それぞ
れの事象が発生する確率の積となります。
P(E, F)
=
P(E)P (F )
こ の 例 で は 、「
1
回目に表が出る」確率は
1/2
で あ り 、「
2
回とも裏が出る」確率は
1/4
で す 。 し か し 、「
1
回目に表が出て、
2
回とも裏が出る」確率は
0
となります。
6.2
 条件付き確率
事象
E
と事象
F
が独立であるなら、次の式が定義できます。
P(E, F)
=
P(E)P (F )
両 者 が 必 ず し も 独 立 で な い( そ し て 、 事 象
F
の発生する確率が
0
でない)場合、「事
象
F
における事象
E
の条件付き確率」を次の式で定義します。
P(E | F)
=
P(E, F)/P (F )
これは、事象
F
が発生したことを知っている状況で事象
E
が発生する確率と考える
ことができます。
これはしばしば次のように書き換えられます。
P(E, F)
=
P(E | F) P (F)
事象
E
と事象
F
が独立であるなら、次の式が成り立ちます。
P(E | F)
=
P(E)
これは事象
F
が発生したことを知っていても、事象
E
の発生に何ら影響を与えない
ことを数学的に表現したものです。
良く知られた例として
2
人の子供(性別はわからない)がいる家族を考えます。次の
ことを仮定した場合、
●
子供がそれぞれ男の子か女の子である可能性は等しい
●
2
人目の子供の性別は、
1
人目の子供の性別とは独立している
女の子がいない確率は
1/4
、女の子と男の子が
1
人ず ...
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によるデータ分析入門 第2版 ―NumPy、pandasを使ったデータ処理

Pythonによるデータ分析入門 第2版 ―NumPy、pandasを使ったデータ処理

Wes McKinney, 瀬戸山 雅人, 小林 儀匡, 滝口 開資
行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

Stephen Wendel, 武山 政直, 相島 雅樹, 反中 望, 松村 草也
プロダクトマネージャーのしごと 第2版 ―1日目から使える実践ガイド

プロダクトマネージャーのしごと 第2版 ―1日目から使える実践ガイド

Matt LeMay, 永瀬 美穂, 吉羽 龍太郎, 原田 騎郎, 高橋 一貴

Publisher Resources

ISBN: 9784873119113Other