Re: create simulation file for 5000 patients ?

From: Nick Holford Date: February 28, 2007 technical Source: mail-archive.com
Navin, There are several approaches but perhaps the simplest would be to create a NONMEM data file for one patient with the time points you want to use for the simulation. Then use NONMEM to simulate with 5000 sub-problems. This will create a table file with 5000 simulated patients. Each patient will have their own separate table in the table file e.g. $SIMULATION (123456) ONLYSIM NSUB=5000 $TABLE ID TIME DV NOAPPEND ONEHEADER NOPRINT FILE=sim.tab However, if you also want to simulate the consequences of having different covariates in each patient then you will need to include simulation code for the covariate values so that each sub-problem uses different covariates. The difficulty of simulating covariates varies from easy to very hard depending on the number and type of covariates. An easy example would be to simulate age and weight e.g. $INPUT ID TIME WT AGE etc $THETA 70 ; popwt $THETA 60 ; popage $OMEGA BLOCK(2) 0.09 ; bsvwt -0.01 0.09 ; bsvage $PK IF (ICALL.EQ.4) THEN WT=THETA(1)*EXP(ETA(1)) AGE=THETA(2)*EXP(ETA(2)) ENDIF Finally you will have to put some thought into what you want to do with the simulated concentration predictions and how you will process them. Nick navin goyal wrote: > > Hello everybody, > I am trying to simulate PKPD data for 5000 patients, with each patient having > around 100 time points. > How could I create a data file for this simulation?? > Any help is appreciated. > Thanks > > Navin -- Nick Holford, Dept Pharmacology & Clinical Pharmacology University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand email:[EMAIL PROTECTED] tel:+64(9)373-7599x86730 fax:373-7556 http://www.health.auckland.ac.nz/pharmacology/staff/nholford/
Feb 27, 2007 Navin Goyal create simulation file for 5000 patients ?
Feb 28, 2007 Navin Goyal Re: create simulation file for 5000 patients ?
Feb 28, 2007 William Bachman RE: create simulation file for 5000 patients ?
Feb 28, 2007 Mark Sale RE: create simulation file for 5000 patients ?
Feb 28, 2007 Nick Holford Re: create simulation file for 5000 patients ?
Feb 28, 2007 Dennis Fisher Re: create simulation file for 5000 patients ?
Feb 28, 2007 Mei Tang Re: create simulation file for 5000 patients ?
Feb 28, 2007 Nitin Mehrotra Re: create simulation file for 5000 patients ?