set_weighted_error_model#
- pharmpy.modeling.set_weighted_error_model(model)[source]#
Encode error model with one epsilon and W as weight
- Parameters:
model (Model) – Pharmpy model
- Returns:
Model – Pharmpy model object
Examples
>>> from pharmpy.modeling import load_example_model, set_weighted_error_model >>> model = load_example_model("pheno") >>> model = set_weighted_error_model(model)
See also
use_thetas_for_error_stdev
Use thetas to estimate error