Skip to main content
Skip table of contents

Regressors

Definition of regressors elements is available only if the mlxtran model used in a Simulx project uses it. In this case, specification of regressors is mandatory. All regressors used in a model are displayed in one element as separate columns.

Regressors names

Demo projects: 3.6.regressors

Create new regressors element

There are three types of regressor elements:

  • Manual: It is a vector with manually defined time points and values, which are common for all individuals.
    Example: parameter – covariate relationship with the covariate as a regressor

regressor_manual-20240530-113910.png
  • External: Regressors definition is a table with the following mandatory columns: “time” for time points and “regressor_name” for regressor values. Optionally,  it can have a column “id”. In the absence of the “id” column, the time grid is equal for all individuals and occasions (if defined in the model).
    Example: PK-PD model with PK measurements as a regressor

regressor_external-20240530-113923.png
  • Distribution: The regressors are described via distribution laws which define their value across individuals. When a distribution is used, the regressor is considered as constant over time. When used in the simulation, new regressor values are sampled from the defined distributions for each individual. The distribution for each regressor can be normal, lognormal or logitnormal with a mean and sd, or uniform with a lower and an upper and bound. If the distribution is lognormal or logitnormal, sd is the standard deviation of the distribution in the Gaussian space, i.e with . The typical value is the median of the distribution.
    Defining a regressor element as a distribution is convenient for sequential PD model where individual PK parameters have been defined as regressors. After exporting the project to Simulx, new individual PK parameters can be sampled by defining the regressor element for the individual PK parameters as a distribution. Note that correlation terms are not possible.

2024-04-03_14h41_01-1-20240530-114221.png

Interpolation between defined values

Regressors are defined over time for a finite number of time points. In between those time points, the regressor value can be interpolated in two different ways:

  • last value carried forward: if we have defined at time and at time

    • for , [first defined value is used]

    • for , [previous value is used]

    • for , [previous value is used]

  • linear interpolation:

    • for , [first defined value is used]

    • for , [linear interpolation is used]

    • for , [previous value is used]

This can be chosen in the DEFINITION > REGRESSORS tab and applies to all defined regressor elements.

2024-04-03_14h53_29-20240530-114831.png

Regressors imported from Monolix

Importing a Monolix project generates automatically regressors element with regressors names from the dataset:

  • mlx_Reg: contains Ids, times and regressors values read from the dataset. Occasions are included if any.

  • mlx_RegDist: (created only if all regressors of each subject and each occasion are constant over time) element of type “distribution” with typical values, standard deviations and probabilities calculated on the individuals of the Monolix project. No correlation between the regressors is assumed. Regressors having only strictly positive values in the Monolix dataset are assumed to follow a log-normal distribution, and the others are set with a normal distribution.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.