predict_influential_individuals#
- pharmpy.tools.predict_influential_individuals(model, results, cutoff=3.84)[source]#
Predict influential individuals for a model using a machine learning model.
Please refer to www.page-meeting.org/?abstract=10029 for more information on training and estimated precision and accuracy.
- Parameters:
model (Model) – Pharmpy model
results (ModelfitResults) – Results for model
cutoff (float) – Cutoff threshold for a dofv signalling an influential individual
- Returns:
pd.DataFrame – Dataframe over the individuals with a dofv column containing the raw predicted delta-OFV and an influential column with a boolean to tell whether the individual is influential or not.
See also