Case Study: How to Weigh a Donkey

18. Case Study: How to Weigh a Donkey

Donkeys play important roles in rural Kenya. People need donkeys for moving crops and water, for personal transportation, and for plowing fields. When a donkey gets sick, the vet needs to figure out how much the donkey weighs in order to prescribe the right amount of medicine. But, many vets in rural Kenya don’t have a scale big enough to weigh a donkey. Too little medicine can cause a sickness to re-emerge, and too much medicine can cause a harmful overdose. There are over 1.8 million donkeys in Kenya, so it’s important to have a simple, accurate way to estimate the weight of a donkey.

In this case study, we’ll use what we’ve learned thus far in the book to create a model that can use a donkey’s measurements to make accurate estimations of donkey weight 1. Having this model means that vets just need a tape measure in order to figure out the right amount of medicine instead of an expensive donkey scale. As usual, we’ll walk through the steps of the data science lifecycle. We’ll start by stating our research question and looking at the scope of our dataset. We’ll explore and check for problems in the data. Finally, we’ll fit linear models and see how well they can predict donkey weights from their measurements.


1

This case study is based on “How to weigh a donkey in the Kenyan countryside” by K. Milner and J. Rougier.