has_weighted_error_model#

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

Check if a model has a weighted error model

Parameters:

model (Model) – The model to check

Returns:

bool – True if the model has a weighted error model and False otherwise

Examples

>>> from pharmpy.modeling import load_example_model, has_weighted_error_model
>>> model = load_example_model("pheno")
>>> has_weighted_error_model(model)
False

See also

has_additive_error_model

Check if a model has an additive error model

has_combined_error_model

Check if a model has a combined error model

has_proportional_error_model

Check if a model has a proportional error model