[R] creating a multivariate set of variables with given intercorrelations

From: Dimitri Liakhovitski <ld7631_at_gmail.com>
Date: Sat, 19 May 2007 21:21:19 -0400

I was wondering if there is a package in R that allows one to create a multivariate data set with pre-specified intercorrelations among variables, e.g., a set of 4 variables (with a length of N each), such that the correlations between variables are:

     a     b     c     d
a   1     r1    r2    r3
b          1     r4    r5
c                 1     r6
d                         1

Thank you very much!
Dimitri Liakhovitski

R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 20 May 2007 - 01:30:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 20 May 2007 - 04:30:55 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.