simple linear regression analysis and prediction