pharmpy.methods.frem.method module

pharmpy.methods.frem.method.check_covariates(input_model, covariates)[source]

Perform checks of covariates and filter out inappropriate ones

  1. A covariate has the same baseline value for all individuals

  2. Two or more covariates have the exact same base line values

  3. Warn for time varying covariates

Return a new list of covariates with “bad” ones removed

pharmpy.methods.frem.method.setup(model_path, covariates)[source]
pharmpy.methods.frem.method.update_model3b_for_psn(rundir, ncovs)[source]

Function to update model3b from psn

NOTE: This function lets pharmpy tie in to the PsN workflow

and is a temporary solution