saemix.predict: Compute model predictions after an saemix fit

View source: R/SaemixObject.R

saemix.predictR Documentation

Compute model predictions after an saemix fit


In nonlinear mixed effect models, different types of predictions may be obtained, including individual predictions and population predictions. This function takes an SaemixObject and adds any missing predictions for maximum a posteriori and conditional mean estimations of the individual parameters, and for the different types of individual and population predictions for the response variable.


saemix.predict(object, type = c("ipred", "ypred", "ppred", "icpred"))



an SaemixObject object


the type of predictions (ipred= individual, ppred=population predictions obtained with the population estimates, ypred=mean of the population predictions, icpred=conditional predictions). By default, computes all the predictions and residuals, along with the corresponding parameter estimates


This function is used internally by saemix to automatically compute a number of elements needed for diagnostic plots. It is normally executed directly during a call to saemix() but can be called to add residuals


an updated SaemixObject object

saemix documentation built on Aug. 5, 2022, 5:25 p.m.