Probability, Probability Distributions, Probability Theory, Python, Statistics.
= [] for i in range(1, 20): p = (alpha ** i) * np.exp(-alpha) / math.perm(i) px.append(p) ax[1].bar(x, px) ax[1].set_xlabel('trial(x = 1, 2, ...)') ax[1].set_ylabel('probability') ax[1].set_title(f'The PMF of Poisson Random Variable alpha={alpha}') plt.show() In this blog, I show you the basics of