Skip to main content
HomeRAre You Ready for the Zombie Apocalypse?

project

Are You Ready for the Zombie Apocalypse?

Beginner
Updated 06/2024
Use your logistic regression skills to protect people from becoming zombies!
Start Project for Free
Included withPremium or Teams
10 Tasks1,500 XP1,897

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp For Business

Project Description

It is no longer just a threat; it is now a reality! Zombies have been spotted all over the U.S. Work with your colleagues at the Centers for Disease Control and Prevention to identify the characteristics and supplies that seem to keep humans safe. Develop a logistic regression model that predicts the probability of becoming a zombie based on personal characteristics like age and sex, type of neighborhood people live in, and what emergency supplies are available. Practice bivariate tests like chi-squared and t-test to identify the most relevant variables for the model, develop and run the model, check model assumptions, and use the model to predict the probability of becoming a zombie for friends, family, and even yourself!

To complete this Project, you should be comfortable with basic data analysis in base R and visualization in ggplot2, and be familiar with chi-squared test, t-tests, and logistic regression.

The zombies dataset was created for this Project based on emergency preparedness recommendations. It consists of 200 observations and 14 variables. The variables include personal characteristics like age and sex, zombie status, a description of the neighborhood each participant lives in, and measures of supplies.

Project Tasks

  1. 1
    ZOMBIES!
  2. 2
    Compare zombies and humans
  3. 3
    Compare zombies and humans (part 2)
  4. 4
    Recode variables missing values
  5. 5
    Selecting variables to predict zombie status
  6. 6
    Build the model
  7. 7
    Checking model assumptions
  8. 8
    Interpreting assumptions and making predictions
  9. 9
    What is your zombie probability?
  10. 10
    Are you ready for the zombie apocalypse?

Technologies

R R

Topics

Data ManipulationData VisualizationProbability & Statistics
Jenine Harris HeadshotJenine Harris

Associate Professor at Washington University in St. Louis

Jenine teaches biostatistics in the public health program at Washington University in St. Louis and is the author of the Sage book on statistical models for social networks, "An Introduction to Exponential Random Graph Modeling." She is an enthusiastic R user who co-leads the R-Ladies chapter in St. Louis and has an interest in reproducible research practices.
See More

FAQs

What do other learners have to say?