Probability, Probability Distributions, Probability Theory, Python, Statistics.
as plt # Bernoulli Random Variable reject = 0.2 accept = 1 - reject trials = ['reject', 'accept'] probs = [reject, accept] plt.bar(trials, probs) plt.ylabel('probability') plt.title('The PMF of Bernoulli Random Variable') plt.show() 3.2 Geometric Random Variable X is a geometric(p) random variable