Python, Statistics, Distribution, Gaussian Distribution, Normal Distribution.
adjust to more precisely reflect observed ‘successes’ (α) and ‘failures’ (β), concentrating probability density around the observed success rate. import numpy as np import matplotlib.pyplot as plt from scipy.stats import beta a = 2 b = 5 x = np.linspace(0, 1, 100) pdf = beta.pdf(x, a, b)