Independent and dependent variables
You are planning a hypothesis test to see if there is a difference in the amount of sunshine a city receives per year and how many hours are worked annually. Your alternative hypothesis is that more sunshine is associated with fewer hours worked.
You monitor the amount of sunshine in three cities for one hundred days, and collect data on the number of hours worked from 30 people in each city.
Your task is to decide what would be considered the dependent variable in this hypothesis test.
This exercise is part of the course
Introduction to Statistics
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
