指数分布

Python 中的统计思维(第 1 部分)

Justin Bois

Teaching Professor at the California Institute of Technology

指数分布

  • 泊松过程的到达间隔时间服从指数分布
Python 中的统计思维(第 1 部分)

指数分布的 PDF

ch4-4.004.png

Python 中的统计思维(第 1 部分)

可能的泊松过程

  • 核事故:
    • 其发生时间彼此独立
Python 中的统计思维(第 1 部分)

指数型事故间隔时间

mean = np.mean(inter_times)
samples = rng.exponential(mean, size=10000)
x, y = ecdf(inter_times)
x_theor, y_theor = ecdf(samples)
_ = plt.plot(x_theor, y_theor)
_ = plt.plot(x, y, marker='.', linestyle='none')
_ = plt.xlabel('time (days)')
_ = plt.ylabel('CDF')
plt.show()
Python 中的统计思维(第 1 部分)

指数型事故间隔时间

  ch4-4.011.png

Python 中的统计思维(第 1 部分)

让我们练习!

Python 中的统计思维(第 1 部分)

Preparing Video For Download...