Set a proportional error model. Initial estimate for new sigma is 0.09.
The error function being applied depends on the data transformation.
+------------------------+----------------------------------------+
| Data transformation | Proportional error |
+========================+========================================+
| :math:y
| :math:f + f epsilon_1
|
+------------------------+----------------------------------------+
| :math:log(y)
| :math:log(f) + epsilon_1
|
+------------------------+----------------------------------------+
set_proportional_error_model(
model,
dv = NULL,
data_trans = NULL,
zero_protection = TRUE
)
(Model) Pharmpy model object
(Model) Set error model for this model
(str or numeric (optional)) Name or DVID of dependent variable. NULL for the default (first or only)
(str (optional)) A data transformation expression or NULL (default) to use the transformation specified by the model.
(logical) Set to TRUE to add code protecting from IPRED=0
set_additive_error_model : Additive error model
set_combined_error_model : Combined error model