Skip to content

Instantly share code, notes, and snippets.

@sdia-zz
Created June 28, 2018 15:05
Show Gist options
  • Save sdia-zz/7f67c2ff83ef71a037b7d30be2d3423c to your computer and use it in GitHub Desktop.
Save sdia-zz/7f67c2ff83ef71a037b7d30be2d3423c to your computer and use it in GitHub Desktop.
from scipy.stats import beta
import matplotlib.pyplot as plt
import numpy as np
a = 2
b = 12
x = np.arange(0.001, 1, 0.01)
y = beta.pdf(x, a, b)
y = beta.pdf(x, a, b+i)
plt.plot(x,y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment