Created
February 26, 2019 19:18
-
-
Save ikatsov/cc6e615ff1212695c19e7ab405511cfa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p = np.linspace(10, 16) # price range | |
d_means = np.exp(s.log_b + s.a * np.log(p).reshape(-1, 1)) | |
plt.plot(p, d_means, c = 'k', alpha = 0.01) | |
plt.plot(p0, d0, 'o', c = 'r') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment