Re: [R] Random Normal Variable Correlated to an Existing Binomial Variable

2011-04-25 Thread Petr Savicky
On Sun, Apr 24, 2011 at 07:00:26PM -0400, Shane Phillips wrote: Hi, R-Helpers! I have a dataframe that contains a binomial variable. I need to add another random variable drawn from a normal distribution with a specific mean and standard deviation. This variable also needs to be

[R] Random Normal Variable Correlated to an Existing Binomial Variable

2011-04-24 Thread Shane Phillips
Hi, R-Helpers! I have a dataframe that contains a binomial variable. I need to add another random variable drawn from a normal distribution with a specific mean and standard deviation. This variable also needs to be correlated with the existing binomial variable with a specific correlation