Simulations #232
-
Hi, #patient 3 ED 2.3 sim sim 1g q8h 0.5h inf When running this with different IDs one after another PMetrics asks me: _The working directory already contains 1 files matching the output name (from Wed Jun 19 2024).
Which makes totally sense and I am fine with deleting the simout file. I truly appreciate insights in how to do that more efficiently as I have to run multiple different simulations. Thanks, Chris |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just add each "patient" template to the same data.csv file. First patient becomes subject ID 1, next one is ID 2, etc. It looks just like a data file for a popPK study, except all the OUT values are replaced by simulated ones. That's why I put -1 as the value for OUT in simulation templates. Of course, there are probably fewer observation times in a simulation template than a true data file because If you want to use the posterior values to simulate, then make sure you have matching IDs and the number of subjects in the template as you did in the pop model. Then say |
Beta Was this translation helpful? Give feedback.
Just add each "patient" template to the same data.csv file. First patient becomes subject ID 1, next one is ID 2, etc. It looks just like a data file for a popPK study, except all the OUT values are replaced by simulated ones. That's why I put -1 as the value for OUT in simulation templates. Of course, there are probably fewer observation times in a simulation template than a true data file because
predInt
can fill in the gaps.If you want to use the posterior values to simulate, then make sure you have matching IDs and the number of subjects in the template as you did in the pop model. Then say
usePost = TRUE
when you simulate. This uses the Bayesian posterior distribution of subject 1 i…