Re: [R] Sampling from Bivariate Uniform Distribution

2010-02-16 Thread Greg Snow
Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Haneef_An > Sent: Monday, February 15, 2010 11:53 AM > To: r-help@r-project.org > Subject: Re: [R] Sampl

Re: [R] Sampling from Bivariate Uniform Distribution

2010-02-15 Thread Haneef_An
When I wrap those values in to a matrix will it be still independent ? ( non zero correlation). Can I do this for any multivariate distribution which has the univariate form? Thank you for the response. Haneef -- View this message in context: http://n4.nabble.com/Sampling-from-Bivariate-Unif

Re: [R] Sampling from Bivariate Uniform Distribution

2010-02-10 Thread Greg Snow
The runif function generates random numbers from a uniform distribution, wrap those values into a matrix and you have a multi dimensional uniform distribution. If you want more than this, give us more detail. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg