最佳參數

Statistical Thinking in Python(第 2 部分)

Justin Bois

Lecturer at the California Institute of Technology

Michelson 測量的直方圖

第 1 章圖 1-1.002

1 資料:Michelson,1880 年
Statistical Thinking in Python(第 2 部分)

Michelson 測量的 CDF

第 1 章圖 1-1.004

1 資料:Michelson,1880 年
Statistical Thinking in Python(第 2 部分)

檢查 Michelson 資料是否近似常態

import numpy as np
import matplotlib.pyplot as plt

mean = np.mean(michelson_speed_of_light) std = np.std(michelson_speed_of_light) samples = np.random.normal(mean, std, size=10000)
Statistical Thinking in Python(第 2 部分)

Michelson 測量的 CDF

第 1 章圖 1-1.010

1 資料:Michelson,1880 年
Statistical Thinking in Python(第 2 部分)

使用不良標準差估計的 CDF

第 1 章圖 1-1.012

1 資料:Michelson,1880 年
Statistical Thinking in Python(第 2 部分)

使用不良平均數估計的 CDF

第 1 章圖 1-1.014

1 資料:Michelson,1880 年
Statistical Thinking in Python(第 2 部分)

最佳參數

  • 讓模型與資料最吻合的參數值
Statistical Thinking in Python(第 2 部分)

麻州大口黑鱸的體重

第 1 章圖 1-1.017

1 來源:Mass. Dept. of Environmental Protection
Statistical Thinking in Python(第 2 部分)

進行統計推論的套件

第 1 章圖 1-1.020

Statistical Thinking in Python(第 2 部分)

進行統計推論的套件

第 1 章圖 1-1.021

Statistical Thinking in Python(第 2 部分)

進行統計推論的套件

第 1 章圖 1-1.022

1 刀具圖片:D-M Commons,CC BY-SA 3.0
Statistical Thinking in Python(第 2 部分)

一起來練習吧!

Statistical Thinking in Python(第 2 部分)

Preparing Video For Download...