Paid Project
# Do Left-handed People Really Die Young?

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

- 10 tasks
- 344 participants
- 1,500 XP

Barack Obama is left-handed. So are Bill Gates and Oprah Winfrey; so were Babe Ruth and Marie Curie. A 1991 study 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.

This project lets you apply the skills from pandas Foundations, Statistical Thinking in Python, Introduction to Data Visualization with Python, and concepts from Foundations of Probability in R and Fundamentals of Bayesian Data Analysis in R, including reading data, creating new columns, creating matplotlib visualizations, using numpy arrays, constructing probabilities from frequency data, and Bayes' theorem. We recommend that you take those courses before starting this project.

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

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 MoreTECHNOLOGY

© 2019 DataCamp Inc.