Processing math: 100%
Problems
- (5 points) Textbook problem 2.1
- (5 points) Textbook problem 2.2
- (5 points) Textbook problem 2.3
- (10 points) Show that corr({(x+c,y)})=corr({(x,y)}), by substituting into the definition. You'll need to use the properties of the mean and standard deviation.
- (10 points) Show that corr({(kx,y)})=sign(k)corr({(x,y)}) for k≠0, by substituting into the definition. You'll need to use the properties of the mean and standard deviation. Note that sign(k) is defined as follows:
sign(k)={−1if k<01if k>0
- (15 points) Textbook problem 2.8 (data). Note that US state abbreviations were not standardized until 1963. This data is from 1960, so NE=Nevada and NB=Nebraska. Here's how to annotate points in a scatter plot with matplotlib.