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 con­centration values.

Note:The completed project (Lyon05.phxproj) is available for reference in …\Examples\NLME.

Set up the Phoenix model object

  1. Create a new project called Lyon05.

  2. Import the dataset …\Examples\NLME\Supporting files\lyon05dose.dat.
    Click Finish in the File Import Wizard dialog.

  3. Right-click the lyon05dose worksheet and select Send To > Modeling > Maximum Likelihood Models.

  4. In the Structure tab, select Micro from the Parameterization menu.

  5. In the Absorption menu, select Extravascular.

Map the model variables

  1. Select the option buttons in the Main Mappings panel to map the data types as follows:
    xid to the ID context.
    time to the Time context.
    dose to the Aa context.
    yobs to the Cobs context.

Edit the graphical model

  1. Click Edit as Graphical.
    In the confirmation dialog, click Yes.
    In a second confirmation dialog about not using the closed-form, click Yes.

  2. If needed, click Model in the Setup tab list to display the Model diagram panel.

  3. Defaultextravascularmodel.png 

  4. Delete the connector between the Continuous Observation block CObs and the Central compart­ment C.
    Left-click the square in the middle of the connector to select it.
    Right-click the square and select Delete.
    Confirm the deletion by clicking Yes in the dialog.

  5. Add a Procedure block by right-clicking anywhere in the Model diagram panel and select Insert > Procedure.
    A Procedure block named Proc1 is added to the Model diagram.

  6. In the Name field in the Structure tab, type Log Trans.

  7. In the Code sub-tab of the Structure tab, type logC=log(C) in the Code field.

  8. Left-click the Log Trans output square, labeled logC, and drag it to the input square of the Contin­uous Observation block, labeled C.

  9. Extravascularprocedureblock.png 

  10. Right-click anywhere in the Model diagram panel and select Insert > Procedure to add a second Procedure block.

  11. In the Name field, type Del.

  12. In the Code sub-tab, type Ka=Ke+Del in the Code field.

  13. Select the Str. Parameters sub-tab and click Add.

  14. In the field, type Del.

  15. 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.

  16. Extravascularsecondprocblock.png 

    Note:Connecting Del’s Ka output to PK flow Ka’s input changes Ka from a structural parameter to an output parameter.

  17. Select the Parameters > Secondary sub-tab.

  18. Click Add.

  19. Type tvKa in the Parameter field.

  20. Type tvKe+tvDel in the Definition field.

  21. Select the Random Effects sub-tab.

  22. Clear the Diag checkbox to use a full block structure.

  23. Select the Fixed Effects sub-tab.

  24. Enter the following initial estimates:
    tvV = 25
    tvKe = 0.3
    tvDel = 0.3

  25. Select the Run Options tab.

  26. Select FOCE L-B as the algorithm.

  27. Select Add Table. The table definition fields are displayed.

  28. In the Times field, type seq(1,25,1).

  29. In the Variables field, type C.

  30. Tabledefinitionfields.png 

  31. Click icon_execute_20.png (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 the ML Model object in the Object Browser and select Copy.

  2. Right-click on the Workflow object in the Object Browser 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. Click 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.


Last modified date:7/9/20
Certara USA, Inc.
Legal Notice | Contact Certara
© 2020 Certara USA, Inc. All rights reserved.