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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A computational framework for posterior probability vectors over discrete pharmacokinetic states

Zheng Jiao, Jinming Zhang
Research Square
Statistical Methods in Clinical Trials
preprint

A computational framework for posterior probability vectors over discrete pharmacokinetic states

Zheng Jiao, Jinming Zhang
preprint en

Abstract

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.

Research Square
Shanghai Jiao Tong University (CN), Shanghai Chest Hospital (CN)
National Natural Science Foundation of China
Good health and well-being
Statistical Methods in Clinical Trials
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon