1. Exercise 7.1.
The
thinkstats module provides a function called decile_plot that encapsulates the code from earlier in this chapter. We can call it like this to visualize the relationship between SAT verbal and math scores.
from thinkstats import decile_plot
decile_plot(nlsy, "sat_verbal", "sat_math")
decorate(xlabel="SAT Verbal", ylabel="SAT Math")

Make a decile plot of PIAT math scores and income. Does it appear to be a linear relationship?


