Skip to content
Prev 138604 / 398503 Next

simulation study using R

Davood Tofighi wrote:
I generally find it is better to store the seed and other data you need 
to reproduce the experiment, rather than trying to store the data (see, 
for example, package setRNG). If you save only the summary statistics 
you need, then you can usually do it in memory. (Be sure to assign 
variables for the statistics to their full size first and then populate 
them, rather than extending them at each step.) If you write things to 
files then it will slow down your simulation a lot. In fact, in most 
cases it will be quicker to re-run the experiment than it will be to 
read the data from disk.

Paul
====================================================================================

La version fran?aise suit le texte anglais.

------------------------------------------------------------------------------------

This email may contain privileged and/or confidential in...{{dropped:26}}