Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
probml
GitHub Repository: probml/pyprobml
Path: blob/master/notebooks/book1/02/fig_2_17.ipynb
1193 views
Kernel: Unknown Kernel

(a) Some beta distributions. If a<1a<1, we get a spike'' on the left, and if $b<1$, we get a spike'' on the right. if a=b=1a=b=1, the distribution is uniform. If a>1a>1 and b>1b>1, the distribution is unimodal. Generated by beta_dist_plot.ipynb . (b) Some gamma distributions. If a1a\leq 1, the mode is at 0, otherwise the mode is away from 0. As we increase the rate bb, we reduce the horizontal scale, thus squeezing everything leftwards and upwards. Generated by gamma_dist_plot.ipynb .