Premium project

Do Left-handed People Really Die Young?

Use pandas and Bayesian statistics to see if left-handed people actually die earlier than righties.

Start Project
10 Tasks1,500 XP

Loved by learners at thousands of companies


Project Description

Barack Obama is left-handed. So are Bill Gates and Oprah Winfrey; so were Babe Ruth and Marie Curie. A [1991 study](https://www.nejm.org/doi/full/10.1056/NEJM199104043241418) reported that left-handed people die on average nine years earlier than right-handed people. Nine years! Could this really be true? In this project, you will explore this phenomenon using age distribution data to see if we can reproduce a difference in average age at death purely from the changing rates of left-handedness over time, refuting the claim of early death for left-handers. This notebook uses `pandas` and Bayesian statistics to analyze the probability of being a certain age at death given that you are reported as left-handed or right-handed.

Project Tasks

  1. 1
    Where are the old left-handed people?
  2. 2
    Rates of left-handedness over time
  3. 3
    Applying Bayes' rule
  4. 4
    When do people normally die?
  5. 5
    The overall probability of left-handedness
  6. 6
    Putting it all together: dying while left-handed (i)
  7. 7
    Putting it all together: dying while left-handed (ii)
  8. 8
    Plotting the distributions of conditional probabilities
  9. 9
    Moment of truth: age of left and right-handers at death
  10. 10
    Final comments

Technologies

Python Python

Topics

Data ManipulationData VisualizationProbability & StatisticsImporting & Cleaning Data
Madeleine Bonsma-Fisher Headshot

Madeleine Bonsma-Fisher

PhD Candidate at University of Toronto

Madeleine Bonsma-Fisher is a graduate student in the Department of Physics at the University of Toronto, where she uses coding and mathematical models to study the CRISPR bacterial adaptive immune system. She is an executive member of UofT Coders, a campus group dedicated to peer-led learning in a variety of programming and data science topics. Madeleine loves Python but thinks R is pretty neat too.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA