# nlmx generate settings (plain text, TOML syntax, .gen extension) # # Every key is optional; the values shown are the defaults. Command-line # options override the file. Use it with: # nlmx generate -c nlmx.gen --output demo [data] # file = "pk.csv" # --data: a dataset you already have. Nothing is simulated: # its column names are set to upper case, the control stream # is built on them and the base model is fitted to it. The # [groups], [regimen], [sampling] and [population] settings # are then ignored; --effects (PARAM~COV, no values needed) # also fits a covariate model. [design] structure = "1cmt-oral" # --structure: 1cmt | 2cmt | 3cmt, -oral | -iv | -infusion, # optionally -lag (oral only), e.g. "2cmt-iv", "1cmt-oral-lag" ode = false # --ode: write the models as $DES (ADVAN13) error = "combined" # --error: combined | proportional | additive [groups] # treatment groups (one value is used for every group) names = ["Group 1"] # --group-names "Low,Mid,High" doses = [100] # --doses 50,100,200 (dose amount per group) subjects = [100] # --subjects-per-group 20,20,40 (or --subjects N in total) [regimen] n_doses = 1 # --n-doses: doses per subject (ADDL = n_doses - 1) interval = 24 # --dose-interval: hours between doses infusion_duration = 1 # --infusion-duration: hours, for an infusion [sampling] # times = [0.5, 1, 2, 4, 6, 8, 12, 24] # --sample-times: hours after the first (and, # # with several doses, the last) dose; default by structure sparse = 0 # --sparse-samples: samples per subject drawn from the times (0 = all) lloq = 0 # --lloq: values below it get MDV = 1 and BLQ = 1 (0 = none) [parameters] # --typical "CL=5,V=50": true typical values CL = 3.2 # clearance V = 42 # central volume Q = 5 # intercompartmental clearance (2 and 3 compartments) VP = 80 # peripheral volume Q2 = 1.5 # second intercompartmental clearance (3 compartments) VP2 = 120 # second peripheral volume KA = 1.1 # absorption rate (oral) ALAG = 0.5 # lag time (oral with -lag) [variability] iiv = { CL = 30, V = 25 } # --iiv "CL=30,V=25,KA=40": CV % (0 or absent = no ETA) proportional_error = 15 # --prop-error: CV % additive_error = 0.02 # --add-error: SD in concentration units [covariates] # --effects "CL~WT=0.75,V~WT=1": true effects; continuous covariates enter as # (COV/median)**value, SEX as value**SEX (the factor for SEX = 1). # Covariates: WT, AGE, SEX, EGFR, CRCL (CRCL is a near-copy of EGFR). effects = { "CL~WT" = 0.75, "V~WT" = 1.0, "CL~EGFR" = 0.6 } # effects = {} # --no-covariate-effects: no covariate effect at all covariate_model = false # --covariate-model: also fit the true covariate model as run102 [population] # covariate distributions wt_median = 70 # kg, log-normal wt_cv = 25 # % age_mean = 45 # years, normal, kept within 18-85 age_sd = 15 p_sex = 0.5 # share with SEX = 1 egfr_median = 95 # mL/min/1.73 m2, log-normal egfr_cv = 30 # % crcl_noise = 5 # CRCL = EGFR * (1 + N(0, crcl_noise %)) [estimation] approximation = "foce-i" # --approximation: the estimation method written to $ESTIMATION in every # control stream and used for the fit of run101/run102: # fo | foce | foce-i | laplace | saem (SAEM adds an importance-sampling # $ESTIMATION METHOD=IMP EONLY=1 record for the OFV) [output] seed = 20260925 # --seed fit = true # --no-fit: write data and control streams only gof_plots = false # --gof-plots: also draw the goodness-of-fit plots of the fitted models into # gof/ (not with fit = false); with covariate_model = true the plots of # the true covariate model (run102) carry "truth" in their file names author = "Obinna Obianom" # --author: named in the header of every control stream