正規分布の導入

Pythonで学ぶ統計的思考(パート1)

Justin Bois

Teaching Professor at the California Institute of Technology

正規分布

  • PDFが対称な単峰をもつ連続変数を表します。
Pythonで学ぶ統計的思考(パート1)

正規分布

ch4-2.004.png

Pythonで学ぶ統計的思考(パート1)

正規分布

ch4-2.005.png

Pythonで学ぶ統計的思考(パート1)

正規分布

ch4-2.006.png

Pythonで学ぶ統計的思考(パート1)

正規分布

ch4-2.007.png

Pythonで学ぶ統計的思考(パート1)

正規分布

ch4-2.008.png

Pythonで学ぶ統計的思考(パート1)

ch4-2.009.png

Pythonで学ぶ統計的思考(パート1)

ch4-2.010.png

Pythonで学ぶ統計的思考(パート1)

データと正規PDFの比較

ch4-2.012.png

Pythonで学ぶ統計的思考(パート1)

ミケルソンのデータの正規性の確認

import numpy as np
rng = np.random.default_rng()
mean = np.mean(michelson_speed_of_light)
std = np.std(michelson_speed_of_light)
samples = rng.normal(mean, std, size=10000)
x, y = ecdf(michelson_speed_of_light)
x_theor, y_theor = ecdf(samples)
Pythonで学ぶ統計的思考(パート1)

ミケルソンのデータの正規性の確認

import matplotlib.pyplot as plt
import seaborn as sns
sns.set()
_ = plt.plot(x_theor, y_theor)
_ = plt.plot(x, y, marker='.', linestyle='none')
_ = plt.xlabel('speed of light (km/s)')
_ = plt.ylabel('CDF')
plt.show()
Pythonで学ぶ統計的思考(パート1)

ミケルソンのデータの正規性の確認

ch4-2.029.png

Pythonで学ぶ統計的思考(パート1)

練習しましょう!

Pythonで学ぶ統計的思考(パート1)

Preparing Video For Download...