Phoenix Model plot output depends on the run mode selected and whether the model is population or individual. Most plots for non-population models are prefixed with “Ind” while population plots are prefixed with “Pop”. Users can always disable and enable plots manually in the Plots tab. The table below describes the content of each potential plot that the Phoenix Model creates.
Users can double-click a plot in the Results tab to display it in a separate window for editing. (See the menu options discussion in the Plots chapter of the Data Tools and Plots Guide for plot editing options.)
Double-clicking a point in one of these plots will open the worksheet used to create the plot in a separate window and highlight the corresponding row of data.
Plot Output |
Content |
Boot Omega Histogram |
Histogram plot of omega elements for all bootstrap replicates. |
Boot Theta Histogram |
Histogram plot of fixed effects and secondary parameters for all bootstrap replicates. |
Convergence |
Plots the values for each model parameter at each iteration. |
Covariate Box Plots |
Box plots of specified categorical covariates vs Etas. |
Covariate Plots |
Scatter plots of specified continuous covariates vs Etas. |
CWRES Histogram |
Histogram plot of the conditional weighted residual values. |
CWRES vs IVAR |
Plot of CWRES (conditional weighted residuals; a proposed replacement for the classical WRES (weighted residuals) goodness of fit statistic) against IVAR (the independent variable; typically time in a PK fit, concentration or dose in a PD fit). |
CWRES vs PRED |
Same as CWRES vs IVAR, but with the population predictions (i.e., the predictions obtained by setting the random effect values to zero) used for the X-axis. |
CWRES vs TAD |
Same as CWRES vs IVAR, but independent variable is Time After Dose. |
DV vs IPRED |
Plot of the dependent variable (DV, e.g., concentrations for PK models) versus individual predicted values (IPRED, e.g., predicted concentrations). |
DV vs IPRED Lattice |
Same as DV vs IPRED plots for individual models, but latticed by sort. |
DV vs IPRED Log |
DV vs IPRED plot for population models, with log transformed DV and IPRED axes. |
DV vs PRED |
Analog of DV vs IPRED with population predictions used instead of individual predictions. |
DV vs PRED Log |
DV versus PRED plot with log transformed DV and PRED axes. |
DV vs TAD |
Plot of observations vs Time After Dose. |
DV, IPRED vs IVAR |
Plot of the dependent variable (DV), and individual predicted estimates (IPRED) versus the independent variable (IVAR, e.g., time). |
DV, IPRED vs IVAR Lattice |
Same plot as DV, IPRED vs IVAR, but latticed by sort. |
DV, IPRED vs DV2, IPRED2 |
Plots (latticed by individual) of DV (dependent variable), IPRED (individual prediction) vs a second dependent variable (DV2), and a second individual prediction (IPRED2). |
DV2, IPRED2 vs DV, IPRED |
Inverse of DV, IPRED vs DV2, IPRED2 Lattice. |
DV, IPRED vs TAD |
Plot of dependent variable and individual prediction vs Time After Dose. |
DV, IPRED vs TAD Lattice |
Same plot as DV, IPRED vs TAD, but latticed by sort. |
DV, IPRED,PRED vs IVAR |
Plots (latticed by individual) containing all population observations, population prediction, and individual predictions vs the independent variable. |
DV, IPRED,PRED vs TAD |
Plots (latticed by individual) containing observations, population prediction, and individual predictions vs Time After Dose. |
DV, PRED vs IVAR |
Plots containing observations and population prediction vs the independent variable. |
DV, PRED vs IVAR Lattice |
Same plot as DV, PRED vs IVAR, but latticed by individual. |
DV, PRED vs TAD |
Plots containing observations and population prediction vs Time After Dose. |
DV, PRED vs TAD Lattice |
Same as DV, PRED vs TAD, but latticed. |
Eta Histogram |
Histogram plot of the eta values. |
Eta QQ |
Quantile-quantile plot for each eta in the model. |
Eta Scatter |
Scatter plot of all combinations of etas also known as scatter plot matrix of etas. |
IWRES vs IPRED |
Plot of individual weighted residuals (IWRES) versus individual predicted values (IPRED, e.g., predicted concentrations). |
IWRES vs IPRED |
Plots (latticed by sort) of individual weighted residuals (IWRES) versus individual predicted values (IPRED, e.g., predicted concentrations). |
IWRES vs IVAR |
Plot of individual weighted residuals (IWRES) versus the independent variable (IVAR, e.g., time). |
IWRES vs IVAR Lattice |
Plots (latticed by sort) individual weighted residuals (IWRES) versus the independent variable (IVAR, e.g., time). |
IWRES vs TAD |
Plot of individual weighted residuals (IWRES) versus time after dose. |
IWRES vs TAD Lattice |
Plots (latticed by sort) of individual weighted residuals (IWRES) versus time after dose. |
NP Covariate Box Plots |
Box plots of specified covariates vs nonparametric Eta. |
NP Covariate Plots |
Scatter plots of specified covariates vs nonparametric Eta. |
NP Eta Scatter |
Scatter plot of all combinations of nonparametric Etas. |
Partial Derivatives |
Plot of the partial derivative of each prediction with respect to each fixed effect (which is 1-to-1 with structural parameters). |
PCWRES vs IVAR |
Plot of PCWRES (predictive check weighted residuals; a proposed replacement for the classical WRES (weighted residuals) goodness of fit statistic) against IVAR (the independent variable; typically time in a PK fit, concentration or dose in a PD fit). |
PCWRES vs PRED |
Same as PCWRES vs IVAR, but with the population predictions (i.e., the predictions obtained by setting the random effect values to zero) used for the X-axis. |
PCWRES vs TAD |
Same as PCWRES vs IVAR, but independent variable is Time After Dose. |
Posthoc Histogram |
Histogram plot of the posthoc values. |
PredCheck_TTE |
Created when Predictive Check mode is used and the Time-to-event option is specified on the observation tab. |
PredCheckCat ObsQ_SimQ |
A series of plots created when Predictive Check mode is used with categorical observations. |
PredCheck_ObsQ_SimQ |
Plot created only for Predictive Check mode. |
PredCheck_ObsQ_SimQCI |
Plot created only for Predictive Check mode. |
QQ CWRES |
A qq (quantile-quantile) plot of the components of CWRES. |
QQ IWRES |
Quantile-quantile plot of the individual weighted residuals. |
QQ IWRES Lattice |
Quantile-quantile plot (latticed by sort) of the individual weighted residuals (IWRES). |
QQ PCWRES |
Same as QQ CWRES but with PCWRES replacing CWRES. |
QQ WRES |
Same as QQ CWRES but with WRES replacing CWRES. |
Simulation |
In Simulation run mode, plots (latticed by subject) the simulated and observed dependent variable versus independent variable (IVAR). |
Str Covariate Box Plots |
Box plots of the specified categorical covariates vs fixed effects (i.e., model structural parameters). |
Str Covariate Plots |
Plots of the specified continuous covariates vs fixed effects (i.e., model structural parameters). |
WRES Histogram |
Histogram plot of the weighted residuals. |
WRES vs IVAR |
WRES (weighted residuals) vs IVAR (independent variable) plot. |
WRES vs PRED |
WRES (weighted residuals) vs PRED plot. |
WRES vs TAD |
Plot of the weighted residuals vs time after dose. |
Note:Default plots from library Phoenix models will always generate plots with Time After Dose (TAD) in the X-axis. These plots are generated by default, even if time is not the x-variable in the model (for example pharmacodynamic Emax models) or if dose is an inappropriate concept in the model. In these cases, these plots just duplicate the plots with IVAR in the X-axis.
IWRES is the Individual Weighted RESidual.
IWRES=(DV – IPRED)/STD |
(1) |
where IPRED is the individual prediction and STD is the estimate of the standard deviation of the observation.
Assuming the residual error model is correct, IWRES should be a N(0,1) random variable. Then:
STD=stdev(eps)*sqrt(var(IPRED)) |
(2) |
where stdev(eps) is the estimated standard deviation for the normal residual error eps and var(IPRED) is the variance function.
For example, for an additive residual error model:
DV=IPRED+eps |
(3) |
For a multiplicative (proportional) residual error model:
DV=IPRED+IPRED*eps |
(4) |
WRES vs CWRES: WRES (weighted residuals) is a standardized estimate of the components of the population residual vector (observations-population predictions). If a Gaussian observation and random effect model is correct, the components of the population residual vector for a given individual are approximately multivariate normally distributed with a covariance matrix reflecting correlation induced by the fact that all observations from a given individual share a common set of random effect values specific to that individual. The computation of WRES decorrelates these values and standardizes them to unit variance, so the components of WRES are approximately independent N(0,1) random variables. Plots of WRES against population predictions (or QQ plots of WRES) are often used as a diagnostic of model misspecification, excessive deviations from the nominal N(0,1) distribution being regarded as indicative of model misspecification.
Recently, Hooker, Staatz, and Karlsson (2007). noted that WRES is not always a reliable indicator of model misspecification when an FOCE method is used and gave an example where the WRES plot from a highly mis-specified model was better, or closer to what would be expected from the nominal N(0,1) case, than the WRES plot from a correctly specified model. They proposed a modification to WRES as CWRES (“conditional WRES”) which, in the case of correctly specified models, often results in a statistic for which the N(0,1) approximation is better than in the WRES case. In the example, CWRES correctly differentiates between the correctly specified and mis-specified model whereas WRES is completely misleading. CWRES has been gaining acceptance and is now one of the diagnostic outputs for POP PK modeling suggested by the latest European Medicines Agency guidelines.
Text Output |
Content |
Compiler Output |
The output from compiling the model.c file, the C language source program that results from building a model in the DME or in Phoenix Modeling Language text. |
Core Output |
A text version of output from the running the fitting process. |
Core Status |
A text version which lists the minimization process, the minimization engine used, as well as a summary of the Optimal Parameter Estimates and eta shrinkage statistics. |
Model Text |
The PML (Phoenix Modeling Language) code that is generated as the model is specified, plus the column definitions generated when a dataset is mapped. |
Settings |
The settings sent into the compiler and runtime engine. Includes mappings and model code. |
Status Window Text |
Lists the text that appeared in the Status Window during execution. |
Stepwise Text |
Stepwise Run Mode only. |
Warnings and Errors |
If any runtime errors are encountered, they are written to this file. |
Additional output consists of files that are not be viewed within Phoenix but can be exported and viewed in other software. Additional output file remain part of a Phoenix project but they cannot be used as input to any Phoenix object downstream. Often files created as additional output have the potential to be very large (e.g., simulation). If the user wishes to export and import back these files into Phoenix, caution should be taken to ensure sufficient memory resources.
Output Name |
Content |
BootSubj(B).csv |
Created for bootstrap mode run. |
dmp.txt |
These files are created for population models with the Simple mode. |
Rawout.csv |
These files list the estimates of Thetas, Omega, and Log-Likelihood for each executed sample. |
Rawsimout.csv |
These files list the simulation estimates for each executed sample. |
Rawsimtbl01.csv–Rawsimtbl05.csv |
Optional tables created by the Predictive Check mode, if Tables are requested under the Tables tab. |
Optionally, if a user selects a folder in which to copy simulation results then csv files are saved to that directory. This is only available for population models in Simulation run mode.
Output Name |
Content |
Predout.csv |
The same as the PredCheckAll worksheet described above (see “Worksheet output”). |
simtbl01.csv–simtbl05.csv |
Optional tables created by the Simulation mode, if Add Sim Table is used on the Options tab. |
When the ODE solver returns an error code, Phoenix NLME reports the error messages to the user so that appropriate actions may be taken. The error messages may appear in either Core Status text output or Warnings and Errors text output or both. If any ODE error message appears in the Warnings and Errors text output, then the corresponding results obtained, if there are, should not be trusted and/or be interpreted with care.
For the estimation mode, the ODE error message may appear in either Core Status text output or both Core Status text output and Warnings and Errors text output. If there are occasional occurrences of ODE error messages during some early or intermediate iterations, then it is probably due to some unrealistic parameter values found during the intermediate search, and hence there is typically no need to worry about these (as the optimization is eventually able to go to the right direction). However, if the error message appears during almost all the iterations, then the engine may stuck in a bad/inappropriate region, and hence the estimation results obtained may not be reliable. Moreover, if the error message continues to show up during the standard error calculations step and/or during the final stage for preparing worksheet outputs (e.g., Residual and Overall worksheets), then the corresponding results obtained should not be trusted.
For the simulation modes (including VPC), a 0-iteration fit is performed before the simulation run to populate worksheet outputs. Errors occurred during either the 0-iteration fit or simulation runs are recorded in some specific files and reported in the Warnings and Errors text output, and the corresponding results obtained, if there are, should not be trusted. For example, if ODE errors occurred during generation of simulation table worksheets, then simulation tables should be taken with care; if ODE errors occurred during predictive check step, predcheck outputs should be taken with care. It is worth pointing out that 0-iteration fit error files are wiped by subsequent simulation runs. To see them, the user should re-run the model in simple mode.
Typically, the ODE errors can be avoided by taking appropriate actions. For example, if the error message is about maximum number of function evaluations exceeded, then one can increase the value of “ODE max step” (by clicking the “Advanced <<” button in the Run Option tab) to be sufficiently large to avoid such error. While, for some cases, the easiest/best way is just to switch to a different solver. For example, if the model is suspected to be stiff, then one needs to switch to auto-detect or stiff solver (from the "max ODE" menu located in the Run Options tab).
Last modified date:6/26/19
Legal Notice | Contact Certara
© 2019 Certara USA, Inc. All rights reserved.