prediction_margins function

prediction methods