Re: [R] simulated correlated vectors

2009-11-16 Thread Greg Snow
Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of carol white > Sent: Thursday, November 12, 2009 9:10 AM > To: r-h...@stat.math.ethz.ch > Subject: [R] simulated correlated vectors > > Hi, > Having a vector x o

Re: [R] simulated correlated vectors

2009-11-13 Thread Karl Ove Hufthammer
On Thu, 12 Nov 2009 08:10:12 -0800 (PST) carol white wrote: > Having a vector x of float type without any assumption of its distribution > (mean, variance etc), how to generate another vector that is > correlated with x? Define an arbitrary function 'f', where 'f' may have a random component,

[R] simulated correlated vectors

2009-11-12 Thread carol white
Hi, Having a vector x of float type without any assumption of its distribution (mean, variance etc), how to generate another vector that is correlated with x? Extensibility: how to simulate more than two correlated vectors (again float type and no preference for their distribution and without ha