Hi, I am trying to build a PopPk model where the absorption process happens by the following scenario:
The drug will be absorbed after oral administration first by zero-order absorption during Duration= D. When the zero-order process ends, the remaining drug will be absorbed by first-order absorption with Tlag. I built the following model, but I found Tlag not estimated by the model. It is the same value that was initially estimated at 1. I am not sure if I made a mistake writing the codes.
test(){
cfMicro(A1, Cl / V, Cl2 / V, Cl2 / V2, first = (Aa = Ka))
dosepoint(Aa, duration=TK0, bioavail=(FR))
dosepoint(Aa, tlag = Tlag, bioavail=(1-FR))
C = A1 / V
error(CEps = 0.1)
observe(CObs = C + CEps * sqrt(1 + C^2 * (CMultStdev/sigma())^2))
stparm(Ka = tvKa * exp(nKa))
stparm(V = tvV * exp(nV))
stparm(V2 = tvV2 * exp(nV2))
stparm(Cl = tvCl * exp(nCl))
stparm(Cl2 = tvCl2 * exp(nCl2))
stparm(Tlag = tvTlag * exp(nTlag))
stparm(TK0 = tvTK0* exp(nTK0))
stparm(FR = tvFR* exp(nFR ))
stparm(CMultStdev = tvCMultStdev)
fixef(tvKa = c(, 1, ))
fixef(tvV = c(, 53871, ))
fixef(tvV2 = c(, 82546, ))
fixef(tvCl = c(, 5800, ))
fixef(tvCl2 = c(,5800, ))
fixef(tvTlag = c(, 1, ))
fixef(tvTK0 = c(, 3, ))
fixef(tvFR = c(, 1, ))
fixef(tvCMultStdev = c(, 1, ))
ranef(diag(nV, nCl, nKa, nV2, nCl2, nTlag, nTK0,nFR) = c(0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1))
}
Can I get help on this issue? Thanks