A computational framework for posterior probability vectors over discrete pharmacokinetic states
Aim In therapeutic drug monitoring, clinicians need to identify potential causes of unexpected concentrations, yet limited concentration observations may not distinguish competing explanations. Building on existing methods, this study aimed to formulate such assessments as calculating posterior probabilities of discrete pharmacokinetic states with explicit inputs and outputs, establish a reusable computational workflow, and evaluate it by distinguishing among dosing adherence histories. Methods Using a Bayesian approach, the Python package uses Laplace approximation to calculate marginal likelihoods and combines them with prior probabilities to obtain posterior probabilities of candidate states. Workflow evaluation used published oxcarbazepine and tacrolimus models and compared posterior probabilities with the NONMEM Laplace implementation, external adaptive quadrature, and an existing virtual patient approach. Sensitivity analyses examined computational consistency, posterior probability allocation, and discrimination among candidate states across input settings. Results Python and NONMEM Laplace implementations yielded highly consistent posterior probabilities. Compared with external adaptive quadrature, posterior distributions were close in most scenarios; the most probable state differed between methods in some tacrolimus scenarios where posterior probabilities were distributed nearly evenly across candidate states. In comparable oxcarbazepine scenarios, the Python implementation and virtual patient approach showed generally consistent main trends in posterior probabilities. Input variations could alter posterior probability allocation and the most probable state, while different dosing histories remained difficult to distinguish under some settings. Conclusion This study provides a reusable framework and Python implementation for calculating posterior probabilities of candidate explanations in therapeutic drug monitoring. Its clinical utility requires validation in studies with independent state labels.
Authors
- Zheng Jiao (ORCID: https://orcid.org/0000-0003-2810-9369)
- Jinming Zhang (ORCID: https://orcid.org/0000-0002-9353-5447)
Institutions
- Shanghai Jiao Tong University (CN)
- Shanghai Chest Hospital (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-24
- DOI
- https://doi.org/10.21203/rs.3.rs-11757027/v1
- Primary Topic
- Statistical Methods in Clinical Trials
- Type
- preprint
Funders
- National Natural Science Foundation of China