pkpd.protocols.protocol_pkpd_twocompartments_both module

class pkpd.protocols.protocol_pkpd_twocompartments_both.ProtPKPDTwoCompartmentsBoth(**kwargs)[source]

Bases: pkpd.protocols.protocol_pkpd_ode_base.ProtPKPDODEBase

Fit a two-compartments model to a set of plasma and peripheral compartment measurements ((any arbitrary dosing regimen is allowed)

The differential equation is dC/dt = -Cl * C/V -Clp *(C-Cp)/V + 1/V * dD/dt, dCp/dt=Cl*C/Vp+Clp*(C-Cp)/Vp

where C is the concentration, Cl the total clearance (metabolic and excretion), V the distribution volume, Clp is the Clearance

to the peripheric compartment, Vp is the volume of the peripheric compartment, and D the input dosing regime. This protocol assumes that you have measures of both the central and peripheral compartments.

Confidence intervals calculated by this fitting may be pessimistic because it assumes that all model parameters are independent, which are not. Use Bootstrap estimates instead.

Protocol created by