Re: [R] how to generate data in a simulation study

2007-11-10 Thread Bernardo Rangel Tura
On Thu, 2007-11-08 at 10:19 +0200, sigalit mangut-leiba wrote: > hello, > I have a problem in how to generate data in a simulation study. > I have a logistic model to evaluate p by 3 covariates. > I need to generate 4 variables: the binary outcome Y and 3 covariates: > gender (binary) and aps and

[R] how to generate data in a simulation study

2007-11-08 Thread sigalit mangut-leiba
hello, I have a problem in how to generate data in a simulation study. I have a logistic model to evaluate p by 3 covariates. I need to generate 4 variables: the binary outcome Y and 3 covariates: gender (binary) and aps and tiss (continuous variables). I have the logistic model which is the expect