Hello,
I am fairly new to PML coding and am trying to reproduce a pop PK model in Phoenix NLME that we had earlier run in NONMEM. I want to add assay type (categorical with values 0 or 1) as a covariate on proportional residual errors. I am able to run the model with below mentioned code; however, I am getting really high estimates for proportional error variance ~200. We are getting error of around 40% in NONMEM, so I know I am making some error here.
Can you please check below mentioned code and suggest if I am making any error in observe statemetn?
Thank you,
Krina
test(){
cfMicro(A1, Cl / V, Cl2 / V, Cl2 / V2)
dosepoint(A1)
C = A1 / V
error(CEps = 0.78)
observe(CObs = (C * (1 + CEps))*(dCObsdPKASY1*(PKASY==1)))
stparm(V = tvV * (WTBL/70)^dVdWTBL * exp(dVdDIAL1*(DIAL==1)) * exp(nV))
stparm(V2 = tvV2 * exp(nV2))
stparm(Cl = tvCl * (WTBL/70)^dCldWTBL * exp(dCldDIAL1*(DIAL==1)) * exp(dCldPE1*(PE==1)) * exp(nCl))
stparm(Cl2 = tvCl2 * exp(nCl2))
fcovariate(PKASY())
fcovariate(WTBL)
fcovariate(PE())
fcovariate(DIAL())
fixef(tvV = c(, 6.22151, ))
fixef(tvV2 = c(, 5.0984, ))
fixef(tvCl = c(, 0.0182788, ))
fixef(tvCl2 = c(, 0.0279412, ))
fixef(dVdWTBL(enable=c(0)) = c(, 0.816193, ))
fixef(dCldWTBL(enable=c(1)) = c(, 0.697362, ))
fixef(dVdDIAL1(enable=c(2)) = c(, 0.0156024, ))
fixef(dCldDIAL1(enable=c(3)) = c(, 0.352684, ))
fixef(dCldPE1(enable=c(4)) = c(0, 1, ))
fixef(dCObsdPKASY1(enable=c(5)) = c(, 1.27989, ))
ranef(block(nV, nCl) = c(0.0060795062, 0.035842864, 0.26366941), diag(nV2, nCl2) = c(1.2030433, 0.92190507))
}
Edited by krinaj@gmail.com, 01 November 2016 - 10:09 PM.