To chi-square or not to chi-square?
A survey titled pets_survey, asked pet owners the type of pet they first owned, first_pet, the number of pets they currently have, current_pets, the amount of time they spend with their pets in minutes, time_spent, and whether having a pet decreases stress, reduces_stress, where they answered "yes" or "no".
This exercise is part of the course
Analyzing Survey Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise