Calmcode - diseases: introduction


1 2 3 4 5 6 7

The setup is as follows. We have n people that may have a disease. We could test everyone, but that'd be very expensive. Given that there's a probability p that folks might carry the disease, what's the optimal testing strategy?

To figure this out we'll do a bit of maths but we'll also play around with some programming tools. If you want to code along, you'll want to install the following tools with pip.

python -m pip install jupyterlab ipywidgets pandas matplotlib sympy


This series of videos is different from most other content on this website. It will be more of an exposition on how to approach a problem rather than a collection of lessons that teach you how to use a tool. That's because this content was made for a competition for maths content.