A city planner randomly selects 50 adults who live in the city, 50 adults who live in a rural community, and 50 adults who live in the suburbs. Each person is asked about how long they drive to work. The results are displayed in the table.



The city planner would like to know if there is a difference in the distribution of commute distance for the populations of all people who live in the city, in a rural community, and in the suburbs. What are the appropriate hypotheses?

H0: Location of residence and commute distance are independent. Ha: Location of residence and commute distance are not independent.
H0: Location of residence and commute distance are not independent. Ha: Location of residence and commute distance are independent.
H0: There is no difference in the distribution of commute distance for the populations of all people who live in the city, in a rural community, and in the suburbs. Ha: There is a difference in the distribution of commute distance for the populations of all people who live in the city, in a rural community, and in the suburbs.
H0: There is a difference in the distribution of commute distance for the populations of all people who live in the city, in a rural community, and in the suburbs. Ha: There is no difference in the distribution of commute distance for the populations of all people who live in the city, in a rural community, and in the suburbs.