Model using logarithmic concentration values (Lyon dataset)
The data used in the Lyon dataset is from a simulated trial. The concentration data is the logarithm of the concentration data. In this model the logarithm of each prediction value is used to predict the concentration values.
Note: The completed project (Lyon05.phxproj) is available for reference in …\Examples\NLME.
Set up the Phoenix model object
Create a new project called Lyon05.
Import the dataset …\Examples\NLME\Supporting files\lyon05dose.dat.
Press Finish in the File Import Wizard dialog.
Right-click the lyon05dose worksheet and select Send To > Modeling > Maximum Likelihood Models.
In the Structure tab, select Micro from the Parameterization menu.
From the Absorption menu, select First-Order.
Map the model variables
1. In the Main Mappings panel, map the columns to the contexts as follows:
xid to ID.
time to Time.
dose to Aa.
yobs to Cobs.
Edit the graphical model
1. Press Edit as Graphical.
a. In the confirmation dialog, press Yes.
b. In a second confirmation dialog about not using the closed-form, press Yes.
2. If needed, click Model in the Setup tab list to display the Model diagram panel.
3. Delete the connector between the Continuous Observation block CObs and the Central compartment C.
a. Left-click the square in the middle of the connector to select it.
b. Right-click the square and select Delete.
c. Confirm the deletion by pressing Yes in the dialog.
4. Add a Procedure block.
a. Right-click anywhere in the Model diagram panel and select Insert > Procedure.
A Procedure block named Proc1 is added to the Model diagram.
b. In the Name field in the Structure tab, type Log Trans.
c. In the Code sub-tab of the Structure tab, type logC=log(C) in the Code field.
5. Left-click the Log Trans output square, labeled logC, and drag it to the input square of the Continuous Observation block, labeled C.
6. Add a second Procedure block.
a. Right-click anywhere in the Model diagram panel and select Insert > Procedure.
b. In the Name field, type Del.
c. In the Code sub-tab, type Ka=Ke+Del in the Code field.
d. Select the Str. Parameters sub-tab and press Add.
e. In the field, type Del.
7. In the Model diagram panel, left-click the Del output square, labeled Ka, and drag it to the input square of Ka PK flow, labeled Ka.
Note: Connecting Del’s Ka output to PK flow Ka’s input changes Ka from a structural parameter to an output parameter.
8. Add a secondary parameter.
a. Select the Parameters > Secondary sub-tab.
b. Press Add.
c. Type tvKa in the Parameter field.
d. Type tvKe+tvDel in the Definition field.
9. Select the Random Effects sub-tab.
10. Clear the Diag checkbox to use a full block structure.
11. Select the Fixed Effects sub-tab.
12. Enter the following initial estimates:
tvV = 25
tvKe = 0.3
tvDel = 0.3
13. Select the Run Options tab.
14. Select FOCE L-B as the algorithm.
15. Press Add Table.
The table definition fields are displayed.
a. In the Times field, type seq(1,25,1).
b. In the Variables field, type C.
16. Click (Execute icon) to execute the object.
Run the model using a different engine
Although the FOCE L-B model engine was used, the Lyon data is also valid for use with the QRPEM model engine. As a continuation of this example, create a copy of the Maximum Likelihood Models object and use the QRPEM method to generate results.
1. Right-click ML Model in the Object Browser and select Copy.
2. Right-click Workflow and select Paste.
3. Rename the Copy of ML Model object to QRPEM Model.
All of the mappings and other settings are retained in the QRPEM Model object, so the only change needed is to select QRPEM as the engine.
4. Click the Run Options tab.
5. Select QRPEM from the Algorithm menu.
6. Execute the object.
Save and close the project
1. Select File > Save Project.
2. Press Save.
3. Select File > Close Project.
The project is saved and closed and Phoenix can be safely exited.
This concludes the modeling with logarithmic concentration values example.
Legal Notice | Contact Certara
© Certara USA, Inc. All rights reserved.