RE: simulation of dose escalation study

From: Mark Sale Date: April 18, 2005 technical Source: cognigencorp.com
From: mark.e.sale@gsk.com Subject: RE: [NMusers] simulation of dose escalation study Date: Mon, April 18, 2005 12:23 pm Anthe, The simulation seed can be accessed in the FCON file, which can be editted by a number of methods, in the line SORC. This can be easily edited using macros (I prefer Excel, very easy to write) Then, you don't have to recompile NONMEM, just run the executable again. (I'll be happy to share code on how to do this if needed) Here is an FCON from simulation. FILE FSTREAM PROB example DATA 1 0 0 10 0 ITEM 1 3 10 11 1 0 0 0 0 0 20 0 0 INDX 9 2 4 0 5 6 8 0 0 0 7 LABL ID TIME DV AMT SS II ADDL CMT EVID MDV IOB VC LC FORM (9E5.0,1F2.0) STRC 6 5 1 0 0 0 4 1 0 STRC 1 1 1 1 1 2 1 1 THCN 1 0 0 0 THTA .0167 83.7 0.651 1.33 1.16 0.0034 LOWR 0 0 -2 0-1000000 0 UPPR 1000000 1000000 1 1000000 1000000 1000000 BLST 0.0807 BLST 0.041 BLST 0.0829 -.0631 0.133 BLST 0.583 DIAG 1 0 SIML 0 1 0 0 1 0 0 SORC 061997622 0 TABL 1 2 TABL 1 4 1 0 2 0 30 0 9 0 0 1 1 0 0 TABL 1 4 1 0 2 0 32 0 33 0 0 1 1 0 1 And here is some simple Excel macro code to edit it with a new simulation seed Public Sub set_fcon() DoEvents Open "fcon" For Input As #1 Open "fcon.new" For Output As #2 Dim line As String While Not EOF(1) Line Input #1, line If Left(line, 4) <> "SORC" Then Print #2, line Else Print #2, "SORC " & Format(Rnd() * 100000000, "000000000") & " " & 0 End If Wend Close #1 Close #2 FileCopy "fcon.new", "fcon" End Sub Mark Sale M.D. Global Director, Research Modeling and Simulation GlaxoSmithKline 919-483-1808 Mobile 919-522-6668 _______________________________________________________
Apr 15, 2005 Anthe Zandvliet simulation of dose escalation study
Apr 15, 2005 Max Tsai RE: simulation of dose escalation study
Apr 15, 2005 Anthe Zandvliet RE: simulation of dose escalation study
Apr 15, 2005 Leonid Gibiansky RE: simulation of dose escalation study
Apr 15, 2005 Anthe Zandvliet RE: simulation of dose escalation study
Apr 18, 2005 Mark Sale RE: simulation of dose escalation study