Re: [R] Simulate binary data for a logistic regression Monte Carlo

2009-04-08 Thread Ben Bolker
Rolf Turner-3 wrote: > > > On 8/04/2009, at 1:27 PM, Ben Bolker wrote: > > > >> I agree that that the individual-level random effect is probably >> the issue. >> I played with this some today but didn't manage to resolve it -- >> tried JAGS/R2jags and glmer from lme4 but didn't mana

Re: [R] Simulate binary data for a logistic regression Monte Carlo

2009-04-07 Thread Rolf Turner
On 8/04/2009, at 1:27 PM, Ben Bolker wrote: I agree that that the individual-level random effect is probably the issue. I played with this some today but didn't manage to resolve it -- tried JAGS/R2jags and glmer from lme4 but didn't manage to get an estimate of epsilon that matched

Re: [R] Simulate binary data for a logistic regression Monte Carlo

2009-04-07 Thread Ben Bolker
Rolf Turner-3 wrote: > > > On 8/04/2009, at 1:26 AM, jjh21 wrote: > >> >> Hello, >> >> I am trying to simulate binary outcome data for a logistic >> regression Monte >> Carlo study. I need to eventually be able to manipulate the >> structure of the >> error term to give groups of observat

Re: [R] Simulate binary data for a logistic regression Monte Carlo

2009-04-07 Thread Rolf Turner
On 8/04/2009, at 1:26 AM, jjh21 wrote: Hello, I am trying to simulate binary outcome data for a logistic regression Monte Carlo study. I need to eventually be able to manipulate the structure of the error term to give groups of observations a random effect. Right now I am just doing a v

[R] Simulate binary data for a logistic regression Monte Carlo

2009-04-07 Thread jjh21
Hello, I am trying to simulate binary outcome data for a logistic regression Monte Carlo study. I need to eventually be able to manipulate the structure of the error term to give groups of observations a random effect. Right now I am just doing a very basic set up to make sure I can recover the p