NMTRAN

1 program Added 2026-03-13T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: NM-TRAN, NONMEM control language
Provenance: commit 1c8c140eac · authored 2026-03-13T05:22:32+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Control Language (0.37)ECL (0.33)CL (0.33)CLLE (0.32)CODIL (0.32)

LLM-contributed programs

Phenobarbital PK model (pheno.mod)

Provenance: commit 1c8c140eac · authored 2026-03-13T05:22:32+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.ctl · added: 2026-03-13T12:00:00Z
$PROBLEM PHENO: TWO DOSAGE REGIMENS
$DATA ../PHENO.dta IGNORE=@
$INPUT ID TIME AMT WGT APGR DV
$SUBROUTINES ADVAN1 TRANS2

$PK
TVCL=THETA(1)*WGT
TVV=THETA(2)*WGT
CL=TVCL*EXP(ETA(1))
V=TVV*EXP(ETA(2))
S1=V

$ERROR
W=F
Y=F+W*EPS(1)
IPRED=F
IRES=DV-IPRED
IWRES=IRES/W

$THETA  (0,0.0105,1000)  (0,1.0500,1000)
$OMEGA DIAGONAL(2)
0.4  ;       IVCL
0.1  ;       IVV

$SIGMA 0.01
$ESTIMATION METHOD=1 INTERACTION
$COVARIANCE
$TABLE ID TIME AMT WGT APGR IPRED PRED RES TAD CWRES NPDE ONEHEADER NOPRINT FILE=pheno.tab

Contribute — propose a file extension

Tell us where to find evidence about NMTRAN (mapped to pl/nmtran). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/NMTRAN/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← NMODL Nndstojmp →