predict function

Prediction of the marginal parameters for various models