predicts function

predicted values and discrete change