Re: [R] Clarification on Simulation and Iteration

2015-08-01 Thread David Winsemius
On Jul 31, 2015, at 8:41 PM, Christopher Kelvin wrote: Thanks Dave. What I actually want is to obtain say 10, different sets of (n=50) data for every 10,000 iterations I run. You will realise that the current code produces one set of data (n=50). I want 10 different sets of 50

Re: [R] Clarification on Simulation and Iteration

2015-08-01 Thread Michael Dewey
I am not sure how you are doing this but there is a package on CRAN which implements the Copas model (metasens). I am not sure whether that would help in your modelling. On 01/08/2015 02:36, Christopher Kelvin via R-help wrote: Dear All, I am performing some simulations for a new model. I run

Re: [R] Clarification on Simulation and Iteration

2015-07-31 Thread Christopher Kelvin via R-help
Thanks Dave. What I actually want is to obtain say 10, different sets of (n=50) data for every 10,000 iterations I run. You will realise that the current code produces one set of data (n=50). I want 10 different sets of 50 observations at one run. I hope this makes sense. Chris Guure On

Re: [R] Clarification on Simulation and Iteration

2015-07-31 Thread David Winsemius
On Jul 31, 2015, at 6:36 PM, Christopher Kelvin via R-help wrote: Dear All, I am performing some simulations for a new model. I run about 10,000 iterations with a sample of 50 datasets and this returns one set of 50 simulated data. Now, what I need to obtain is 10 sets of the 50

[R] Clarification on Simulation and Iteration

2015-07-31 Thread Christopher Kelvin via R-help
Dear All, I am performing some simulations for a new model. I run about 10,000 iterations with a sample of 50 datasets and this returns one set of 50 simulated data. Now, what I need to obtain is 10 sets of the 50 simulated data out of the 10,000 iterations and not just only 1 set. The model