10.3 Regression and correlation

Draw the graph of \(\hat{y} = 5 + 2x\) for values of \(x\) between \(0\) and \(10\).

  1. Add some points to the scatterplot such that the correlation is approximately \(r=0.9\).
  2. Add some more points to the scatterplot such that the correlation is approximately \(r=0.2\).