get_population_prediction_expression#

pharmpy.modeling.get_population_prediction_expression(model)[source]#

Get the full symbolic expression for the modelled population prediction

This function currently only support models without ODE systems

Parameters:

model (Model) – Pharmpy model object

Returns:

Expression – Symbolic expression

Examples

>>> from pharmpy.modeling import load_example_model, get_population_prediction_expression
>>> model = load_example_model("pheno_linear")
>>> get_population_prediction_expression(model)
-D_ETA1*OETA1 - D_ETA2*OETA2 + OPRED

See also

get_individual_prediction_expression

Get full symbolic epression for the individual prediction