> To: r-help@r-project.org
> Subject: [R] simulate data with binary outcome and correlated
> predictors
>
> Hi,
>
> I would like to simulate data with a binary outcome and a set of
> predictors that are correlated. I want to be able to fix the number of
> event (Y=1) vs
Hi,
I would like to simulate data with a binary outcome and a set of predictors
that are correlated. I want to be able to fix the number of event (Y=1) vs.
non-event (Y=0). Thus, I fix this and then simulate the predictors. I have 2
questions:
1. When the predictors are continuous, I can use m
2 matches
Mail list logo