Then, click "Run" and type states-table into the Interactions Area on the right to see the dataset.

What do you Notice about this dataset? What do you Wonder about this dataset?

Describing Income

1 Find the two states with the lowest median income and complete the table below with their information.

State Median Household Income Per-capita Income

2 Would a model built from two states with low median-income be likely to fit the rest of the data well? Why or Why not?

3 Why do you think states typically have higher median-income than per-capita income?

Definitions in the Code

The two lines of code under # Define some rows extract rows 0 and 1 from the table, and define them as alabama and alaska.

4 Type alabama into the Interactions Area. What do you get back?

5 Underneath the definition of those rows, add new definitions for california, michigan, and one other state. Click "Run", so that Pyret reads your new definitions and test them out in the Interactions Area to make sure you defined them correctly!

Add any additional Notices or Wonderings you have about this dataset to the table at the top.

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.