[R] R2WinBUGS with Multivariate Logistic Regression

2016-07-16 Thread Christopher Kelvin via R-help
Dear R-User, I have written a simple code to analyze some data using Bayesian logistic regression via the R2WinBUGS package. The code when run in WinBUGS stops WinBUGS from running it and using the package returns no results also. I attach herewith, the code and a sample of the dataset. Any

Re: [R] Clarification on Simulation and Iteration

2015-07-31 Thread Christopher Kelvin via R-help
On Saturday, August 1, 2015 3:32 AM, David Winsemius dwinsem...@comcast.net wrote: 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

[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