In this section, we will briefly examine the properties of various probability distributions. Many of these distributions are used for Bayesian analysis, and so a brief synopsis is needed before we can proceed. We will also illustrate how to generate and display these distributions using matplotlib. In order to avoid repeating the import statements for every code snippet in each section, we will be presenting the following standard set of Python code imports that need to be run before any of the code snippets mentioned in the following command. You only need to run these imports once per session. The imports are as follows:
import pandas as pd import numpy as np from matplotlib import pyplot as plt from matplotlib import colors import matplotlib.pyplot as plt import matplotlib %matplotlib inline