load_example_modelfit_results#

pharmpy.tools.load_example_modelfit_results(name)[source]#

Load the modelfit results of an example model

Load the modelfit results of an example model built into Pharmpy

Parameters:

name (str) – Name of the model. Currently available models are “pheno” and “pheno_linear”

Returns:

ModelfitResults – Loaded modelfit results object

Example

>>> from pharmpy.tools import load_example_modelfit_results
>>> results = load_example_modelfit_results("pheno")
>>> results.parameter_estimates
POP_CL     0.004696
POP_VC     0.984258
COVAPGR    0.158920
IIV_CL     0.029351
IIV_VC     0.027906
SIGMA      0.013241
Name: estimates, dtype: float64