mirror of
https://github.com/K-Dense-AI/scientific-agent-skills.git
synced 2026-12-04 01:24:00 +08:00
Pharmacokinetic and pharmacodynamic modelling and simulation: NCA, compartmental fitting, population PK dataset validation, regimen simulation, exposure-response, bioequivalence, allometric scaling and first-in-human dose, ICH M12 drug-interaction prediction, and MAP Bayesian therapeutic drug monitoring. Linear mammillary models are solved analytically -- one eigendecomposition of the rate matrix yields the impulse response, and each input type is a closed-form convolution. This is far faster than an ODE solve inside a fitter, keeps solver tolerance out of the objective function, and makes the removable singularity at ka = -lambda (the flip-flop boundary) an exact limit rather than a nan. Michaelis-Menten and TMDD, which have no closed form, integrate with LSODA and apply doses by restarting at each event. Numerics are validated against results that do not depend on the implementation: closed-form identities (AUC = D/CL, Vss, MRT, Bateman), analytical profiles with known parameters that NCA and the fitter must recover, the PowerTOST bioequivalence sample-size table (exact at six CVs), the EMA ABEL cap, and the FDA body-surface-area conversion factors. 92 tests pass in an isolated numpy+scipy environment. Documents current tooling verified against live sources rather than recalled: Pharmpy 2.1.1 including the 2.0.0 row-index and 2.1.0 set_placebo_model breaking changes, NONMEM 7.6 ADVAN16/17, and the 2024-2025 status of ICH M12, M13A/B, E11A and FDA Project Optimus. Provenance for every version- and date-specific claim is recorded in references/source-ledger.md.
9 lines
188 B
CSV
9 lines
188 B
CSV
ID,TIME,AMT,DV,EVID,MDV,CMT,WT,CRCL
|
|
1,0,100,.,1,1,1,70,90
|
|
1,1,.,5.2,0,0,1,70,90
|
|
1,4,.,BLQ,0,0,1,70,90
|
|
1,2,.,3.1,0,0,1,70,85
|
|
2,0,.,1.5,0,0,1,,80
|
|
3,0,100,.,1,1,1,65,70
|
|
3,0,.,9.9,0,0,1,65,70
|