For this chapter, we require the standard scientific Python packages, NumPy, Matplotlib, and SciPy. We will also require the PyMC3 package for the final recipe. You can install this using your favorite package manager, such as pip:
python3.8 -m pip install pymc3
This command will install the most recent version of PyMC3, which, at the time of writing, was 3.9.2. This package provides facilities for probabilistic programming, which involves performing many calculations driven by randomly generated data to understand the likely distribution of a solution to a problem.
The code for this chapter can be found in the Chapter 04 folder of the GitHub repository at https://github.com/PacktPublishing/Applying-Math-with-Python/tree/master/Chapter%2004.
Check out the following video to see the Code in Action: https://bit.ly/2OP3FAo.