Hi Angus,
" EXTERNAL DATA object I see that that Table with exactly the same name has 49 rows of data: so I am puzzled by the difference. Surely the EXTERNAL DATA is the source data? so where did the 49 rows come from ?
Were they calculated at an earlier date?"
My assumption would be yes, remember that the external objects are ‘static’ that is once published to will not be updated as outside the workflow. my guess is Serge ran it once with a seq(0,48,1) statement and published to the Data folder. However the current iteration has been run with specifed times of 2,4,6,8,12,24,30,36,42,48 as indicated in screen shot, hence only 10 lines.
Does that clear things up?
Simon
(in fact you can see this in the last two history lines for this object;
2016.08.26 05:30:23 UTC
and
2016.08.26 05:09:11 UTC
Phoenix Build 6.4.0.768
Plugins.DME, Version=1.4.0.906
test(){
deriv(Z1 = - (Z1 * K01))
last transit compartment is Z8
mtt=(ntr+1)/klagcommon
To use thhe transit compartment, we need to use the following syntax
#transit( , , [, max = nnn] [, in = ] [, out = ] )
final compartment name is Z8
mean transrit time is mtt but defined as (ntr+1)/klagcommon where ntr+1
ntr+1 is the number of transit stages, 6 here (Z2 to Z7), ntr=5
max is not mandatory but is the max number of stages
in is the input rate into the first transit compartmnt which is k01*Z1
out is the output rate from the final compartment (Z8) which is -k10*Z8
Therefore we can write
mtt=(ntr+1)/klagcommon
transit(Z8,mtt,ntr,max=10,in=K01Z1, out=-K10Z8)
dosepoint(Z1)
C = Z8 / V
error(CEps = 0.1)
observe(CObs = C *(1+ CEps))
fixef(ntr(freeze)=c(,5,))
stparm(K01 = tvK01)
stparm(V = tvV)
stparm(K10 = tvK10)
stparm(klagcommon = tvklagcommon)
fixef(tvK01 = c(, 0.0606015, ))
fixef(tvV = c(, 500000, ))
fixef(tvK10 = c(, 0.586913, ))
fixef(tvklagcommon = c(, 0.58, ))
}
override test(){
fixef(tvK01 = c(,0.413298,))
fixef(tvV = c(,1498630,))
fixef(tvK10 = c(,0.413309,))
}
id(“zzzDummyId”)
time(“Time”)
obs(CObs<-“conc”)
simtbl(file=“simtbl01.csv”,time(seq(0,48,1)),C,CObs)
id(“zzzDummyId”)
time(“Time”)
dose(Z1<-“Z1”, “Z1 Rate”)
Run Options
Method: Naive-pooled
N Iter:1000
Input sorted by subject+time
Enabling automatic log transform (if applicable)
ODE solver method: matrix exponent
Confidence Level %95
Simulation was performed
Number of points in simulation: 144
Max value of indep. var.: 120
Y variable (ex. C): C
Simulate also at observed times (ivar): Yes
Phoenix Build 6.4.0.768
Plugins.DME, Version=1.4.0.906
test(){
deriv(Z1 = - (Z1 * K01))
last transit compartment is Z8
mtt=(ntr+1)/klagcommon
To use thhe transit compartment, we need to use the following syntax
#transit( , , [, max = nnn] [, in = ] [, out = ] )
final compartment name is Z8
mean transrit time is mtt but defined as (ntr+1)/klagcommon where ntr+1
ntr+1 is the number of transit stages, 6 here (Z2 to Z7), ntr=5
max is not mandatory but is the max number of stages
in is the input rate into the first transit compartmnt which is k01*Z1
out is the output rate from the final compartment (Z8) which is -k10*Z8
Therefore we can write
mtt=(ntr+1)/klagcommon
transit(Z8,mtt,ntr,max=10,in=K01Z1, out=-K10Z8)
dosepoint(Z1)
C = Z8 / V
error(CEps = 0.1)
observe(CObs = C *(1+ CEps))
fixef(ntr(freeze)=c(,5,))
stparm(K01 = tvK01)
stparm(V = tvV)
stparm(K10 = tvK10)
stparm(klagcommon = tvklagcommon)
fixef(tvK01 = c(, 0.0606015, ))
fixef(tvV = c(, 500000, ))
fixef(tvK10 = c(, 0.586913, ))
fixef(tvklagcommon = c(, 0.58, ))
}
override test(){
fixef(tvK01 = c(,0.413298,))
fixef(tvV = c(,1498630,))
fixef(tvK10 = c(,0.413309,))
}
id(“id”)
time(“Time”)
obs(CObs<-“conc”)
simtbl(file=“simtbl01.csv”,time(2,4,6,8,12,24,30,36,42,48),C,CObs)
id(“zzzDummyId”)
time(“Time”)
dose(Z1<-“Z1”, “Z1 Rate”)
Run Options
Method: FOCE ELS
N Iter:1000
Input sorted by subject+time
Enabling automatic log transform (if applicable)
ODE solver method: matrix exponent
Seed: 14300
Method of computing standard errors: Central Diff
Hessian standard errors
Confidence Level %95
Maximum number of adaptive gaussian quadrature steps: 1
Performed Predictive check simulation
Predictive Check Options ##############
Main###
Number of replicates for predictive check: 1
Directory to which data files will be copied:
Stratification###
Binning###
Quantiles###
Quantiles are desired :5,50,95