We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f0162e + eecca09 commit 596bfecCopy full SHA for 596bfec
lectures/prob_dist.md
@@ -296,7 +296,7 @@ $$
296
p(i) = (1 - \theta)^i \theta
297
$$
298
299
-where $\lambda \in [0,1]$ is a parameter
+where $\theta \in [0,1]$ is a parameter
300
301
(A discrete distribution has infinite support if the set of points to which it assigns positive probability is infinite.)
302
@@ -884,7 +884,10 @@ x_costco = prices.pct_change()[1:] * 100
884
fig, ax = plt.subplots()
885
ax.violinplot([x_amazon, x_costco])
886
ax.set_ylabel('monthly return (percent change)')
887
-ax.set_xlabel('KDE')
+ax.set_xlabel('retailers')
888
+
889
+ax.set_xticks([1, 2])
890
+ax.set_xticklabels(['Amazon', 'Costco'])
891
plt.show()
892
```
893
0 commit comments