linear regression and scatter plots