最优参数

Python 统计思维(第 2 部分)

Justin Bois

Lecturer at the California Institute of Technology

Michelson 测量的直方图

ch1-1.002.png

1 数据:Michelson,1880
Python 统计思维(第 2 部分)

Michelson 测量的 CDF

ch1-1.004.png

1 数据:Michelson,1880
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)
Python 统计思维(第 2 部分)

Michelson 测量的 CDF

ch1-1.010.png

1 数据:Michelson,1880
Python 统计思维(第 2 部分)

标准差估计不佳的 CDF

ch1-1.012.png

1 数据:Michelson,1880
Python 统计思维(第 2 部分)

均值估计不佳的 CDF

ch1-1.014.png

1 数据:Michelson,1880
Python 统计思维(第 2 部分)

最优参数

  • 使模型与数据最一致的参数取值
Python 统计思维(第 2 部分)

马萨诸塞州大口黑鲈的质量

ch1-1.017.png

1 来源:马萨诸塞州环境保护部
Python 统计思维(第 2 部分)

进行统计推断的包

ch1-1.020.png

Python 统计思维(第 2 部分)

进行统计推断的包

ch1-1.021.png

Python 统计思维(第 2 部分)

进行统计推断的包

ch1-1.022.png

1 刀具图片:D-M Commons,CC BY-SA 3.0
Python 统计思维(第 2 部分)

让我们来练习!

Python 统计思维(第 2 部分)

Preparing Video For Download...