draw scatterplots one for which the pearson correlation coefficient is r=-1

and r=1

Stuck on how to get started

1 answer

r = -1 gives a diagonal line going from upper left to lower right.

r = +1 gives a diagonal line going from lower left to upper right.

The angle of the line will depend on the values used for the two variables.