Parameters tab

The Parameters tab contains six sub-tabs that allow users to modify the structural parameters, spec­ify values for the fixed and random effects, and add covariates.

Individual_modeling_icon_1.pngCovariate effects can be specified in individual modeling, however, care must be taken not to over-parameterize the model. For example, suppose body weight W affects volume V. Then the model for V might be V=tvV+W*dVdW. In this case, if W is constant for the individual, the model is over-param­eterized, because tvV and dVdW are redundant. However, if W is time-varying, the model is not over-parameterized.

Other covariates can be included in the individual model, even though they may not affect any struc­tural parameters, because they may appear in secondary parameters, such as AUC.

Structural tab

Covar. Type tab

Fixed Effects tab

Random Effects tab

Secondary tab

Scenarios tab

Structural tab

The Structural tab lists all the structural parameters used in the model. The listed parameters change depending on the selections made in the Structure tab.

emax_-_structural_tab.png 

Structural Parameters tab for Emax model

Every selection made in the structural tab changes the code for the modified structural parameter. These code changes are displayed in the Model Text tab.

    stparam(V=tvV
        *(wgt/mean(wgt))^dVdwgt
        *(apgr/median(apgr))^dVdapgr
        *exp(dVdGender1*(Gender==1))
        *exp(dVdGender2*(Gender==2))
        *exp(nV)
        )
    stparam(Cl=tvCl
        *(wgt/mean(wgt))^dCldwgt
        *(apgr/median(apgr))^dCldapgr
        *exp(dCldGender1*(Gender==1))
        *exp(dCldGender2*(Gender==2))
        *exp(nCl)
        )

Here is what Sum*exp(eta) gives you in the presence of covariate effects:

    stparm(V-(tvV
        +(wgt-mean(wgt))*dVdwgt
        +(apgr-median(apgr))*dVdapgr
        +(Gender==1)*dVdGender1
        +(Gender==2)*dVdGender2
        )
        *exp(nV))
    stparm(Cl=(tvCl
        +(wgt-mean(wgt))*dCldwgt
        +(apgr-median(apgr))*dCldapgr
        +(Gender==1)*dCldGender1
        +(Gender==2)*dCldGender2
        )
        *exp(nCl))

add_covariates_from_unused_options.png 

add_covariate_fields.png 

Covariate settings

To remove a covariate from the model, click the corresponding X button.

Forward holds the first value between covariate observations.

Interpolate linearly interpolates the covariate between covariate observations. Only available for Continuous covariate types.

Backward holds the last value between covariate observations.

Covariates can also be added based on available columns in the input source. See Consider­ations when modeling with covariates for additional information on covariate direction.

Adding covariate effects to structural parameters 

Users can add three types of covariate effects to structural parameters. They are continuous, categor­ical, and occasion. Each type has its own set of options, and affect the structural parameters and the model differently.

The structural parameters are displayed beside each covariate that is added.

add_covariate_effects_options.png 

Covariate settings with structural parameters displayed

Each time a covariate effect is added, the code in the Structural tab and in the Model Text tab is mod­ified.

Continuous covariate effects 

Each parameter has a button that toggles between three values as it is clicked: No (the default), Yes, +1. The value shown on the button when the object is executed defines how covariate effects are added to structural parameters.

Each covariate effect added creates a new fixed effect in the Fixed Effect tab. The new fixed effect can be modified in the same way as any other fixed effect.

Categorical covariate effects 

Each parameter has a button that toggles between three values as it is clicked. The value shown on the button when the object is executed defines how covariate effects are added to structural parame­ters.

Users cannot enter center values for categorical covariates.

Each covariate effect added creates a new fixed effect in the Fixed Effect tab. The new fixed effect can be modified in the same way as any other fixed effect.

Occasion covariate effects 

The occasion covariate effect is used in a different way for variables. For example, the occasion could specify whether or not an observation was taken on a Monday or a Wednesday.

Each parameter has a button that toggles between two values as it is clicked. The value shown on the button when the object is executed defines how covariate effects are added to structural parameters.

Adding an occasion covariate creates a copy of each selected structural parameter random effect in the Random Effects tab. For example, if V is a structural parameter, and an occasion covariate is added to it, then nV is added to the Random Effects tab, where n stands for eta, or random effect, and V stands for volume. If three occasion covariate effects are added for V, they are named nV, nV2, and nV3.

The new random effect can be modified in the same way as any other random effect.

Considerations when modeling with covariates 

Covariates may have apparent incorrect covariate values being propagated (contrary to observed data), because of forward/backward/interpolate, for time-varying covariates. This raises several sig­nificant issues to consider when modeling:

Covariate_search_direction.png 

Illustration of propagation direction

The default is forward in time, to be somewhat consistent with other tools. (Refer to “Structure tab” for setting the direction.)

Note:In situations where a covariate is completely missing because it has not been mapped, Phoenix NLME exits with an error message. If the covariate is mapped, but one or more subjects do not have a row of data for that covariate, Phoenix NLME also exits with an error message. For exam­ple, if one subject did not have the variable “gender” at all and the model includes “gender” as a covariate for V, for instance, then the full model will fail.

There is no concept of a default value for a completely missing covariate, missing rows of data need to be resolved in the dataset prior to modeling.

Regardless of covariate direction, the value of the covariate applies during all other dose or observa­tion events occurring on the same input data row. For example, if the data looks like this:

time  CObs  age weight
...
  14    99.7    17       50
...

If there is any doafter code associated with observable CObs, the age and weight have the value 17 and 50 in that code, regardless of forward or backward covariate direction.

Covar. Type tab

The Covariate Type tab allows users to specify covariate types. The default setting for each covariate is Continuous.

Covar._Type_tab_Continuous.png 

Covar._Type_tab_Categorical.png 

In the Numeric value in data field, type a value for each category. It is typically best to use consecutive integers, starting at zero.

If the Allow arbitrary category names checkbox is checked the user is able to specify a name for each category and enter an associated value. The categorical values entered must be in the main input dataset.

Note that the actual text values that were in the dataset will appear in the Settings output and His­tory to clarify the mappings that were set (e.g., covr(Gender<-”TextGender”(Male=0, Female=2))).

To add another category, click Add.

To remove a category, click the corresponding X button.

If Occasion is selected, users can enter values for the dosing or observation occasions. A mini­mum of two categories is required for interoccasional covariates (refer to Setting up interocca­sional covariates).

Covar._Type_tab_Occasion.png 

In the Numeric value in data field, type a value for each occasion.

Check the Allow arbitrary occasion names checkbox to specify a name for each category and enter an associated value. The occasion values entered must be in the main input data­set.

To add another dosing or observation occasion, click Add.

To remove a dosing or observation occasion, click the X button.

Use the Diagonal? checkbox to set the interoccasion covariance to a diagonal structure (box is checked, this is the default) or block structure (box is unchecked).

Individual_modeling_icon_3.pngOccasion covariates are always available but they are only used with population models. They are not used with the individual models that Phoenix processes. Using occasion covariates with individual models has no effect on the model or the output.

Setting up interoccasional covariates 

If there is to be interoccasion variability (IOV) in a population model, there are several steps to follow.

interoccasion_covariate.png 

interoccasion_covar_type_tab.png 

Note that, if Allow arbitrary occasion names is checked, two columns are presented in which arbitrary occasion names (including non-numeric) can be entered in the left column and corre­sponding numeric values on the right.

The checkbox labeled Diagonal is discussed a little later.

interoccasion_random.png 

In the upper box are simple random effects, one for each structural parameter that has randomness. The reason there is no checkbox under Same is because there is only one block, and that option only appears between blocks and only if they are the same shape. If Same is checked, it means that the lower block shares the same matrix as the upper block. In this case, the lower block is not displayed because its numbers cannot be edited.

The lower box has the first block of random effects for the occasion covariate effect. There are actu­ally four blocks, one for each value of the occasion covariate, but only the first is shown, because the other three are all the same as the first. Note that there is no button for Break, and no checkbox for Same. That is because the IOV random effect structure is entirely specified by the choices made on the previous tabs, so they cannot be changed here. Also note that, in this case, the omega matrix for these three random effects is a lower-triangle block, not diagonal. It can be made diagonal by check­ing the Diagonal checkbox previously mentioned on the Covar. Type tab.

It is helpful to see what this does in the generated model text.

     covariate(OCC)

    ranef(block(nE0x0,nEC50x0,nEmaxx0)=c(0.1,0,1,0,0,1)
         , same(nE0x1,nEC50x1,nEmaxx1)
         , same(nE0x2,nEC50x2,nEmaxx2)
         , same(nE0x3,nEC50x3,nEmaxx3)
          )

Note that there are four sets of three random effects each. The omega matrix for the first set is shared by the following three.

    stparm(EC50=tvEC50*exp(nEC50
         + nEC50x0*(OCC == 1)
         + nEC50x1*(OCC == 2)
         + nEC50x2*(OCC == 3)
         + nEC50x3*(OCC == 4)
          ))

(There are further statements for each of the structural parameters to be effected.) This differs from a typical categorical covariate effect in which the covariate selects a fixed effect, as opposed to a ran­dom effect.

Fixed Effects tab

The Fixed Effects tab allows users to enter initial, lower, and upper values for the fixed effects. Every selection made in the Structural tab changes the code for the modified structural parameter. These code changes are displayed in the Model Text tab.

pheno_Emax_Fixed_Effects_tab.png 

Entering lower and upper values for the fixed effects are optional.

Random Effects tab

The Random effects tab is only available for population models. Changes made to random effects are reflected in the Model Text tab.

Random_Effects_tab_for_a_PK-Emax_model.png 

Note:When a covariate is declared to be an interoccasion covariate in the UI, the Random Effects tab provides an omega block for a single occasion. Therefore, the Break and Same boxes will not be available for this part of the omega matrix. A textual model would need to be used if a different behavior were desired.

Secondary tab

The Secondary tab allows users to add secondary parameters to the model.

Enter the right side of an equation that uses parameters available in the model.

The equation must be a function of fixed effects such as tvV and/or covariates. Refer to the “Supported Math Functions” and “Supported Special Functions” for a list functions that are supported.

Secondary parameters depending on categorical covariate effects do not work for Built-in or Graphical models. The user interface does not accept them. However, they do work for Tex­tual models. For example, if “sex” is a categorical covariate having values 0 and 1, and it modifies column “V,” then there is a fixed effect named “dVdsex1.” This fixed effect is not rec­ognized in the secondary parameter definition; however it will work in a Textual model.

Secondary_parameter_defined.png 

Note:Tmax can be defined as a secondary parameter by using the function CalcTMax, e.g.:
secondary(Tmax=CalcTMax(tvA,tvAlpha,tvB,tvBeta,C,Gamma))
If a Tlag variable is included in the dosepoint statement, this postpones the dosing by Tlag, so Tlag should be added into the secondary parameter definition for Tmax, e.g.:
secondary(Tmax=CalcTMax(tvA,tvAlpha,tvB,tvBeta,C,Gamma)+tvTlag)

Scenarios tab

The Scenarios tab is only available for population models. The Scenarios tab lists all covariates effects in the model. If there are no covariate effects in the model, then there is no need to add sce­narios.

If the Covariate Search Stepwise or the Covariate Search Shotgun run options are selected in the Run Options tab, then Phoenix automatically creates scenarios during the modeling run, but only if covariate effects are used in the model. The new scenarios are added to the Scenarios tab.

Scenarios_tab_with_scenarios_added.png 

Note:Scenarios are run in the order they are listed on the Scenarios tab.

 


Last modified date:6/26/19
Certara USA, Inc.
Legal Notice | Contact Certara
© 2019 Certara USA, Inc. All rights reserved.