指數分配

Statistical Thinking in Python (Part 1)

Justin Bois

Teaching Professor at the California Institute of Technology

指數分配

  • 對於 Poisson 過程,兩次到達間的等待時間服從指數分配。
Statistical Thinking in Python (Part 1)

指數分配的 PDF

第 4 章投影片 4.004

Statistical Thinking in Python (Part 1)

可能的 Poisson 過程

  • 核能事故:
    • 每次發生時間彼此獨立
Statistical Thinking in Python (Part 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()
Statistical Thinking in Python (Part 1)

事故間隔的指數分配

  第 4 章投影片 4.011

Statistical Thinking in Python (Part 1)

一起來練習吧!

Statistical Thinking in Python (Part 1)

Preparing Video For Download...