[R] Sorting vectors according to a desired correlation coef

From: Sierra, Carlos <carlos.sierra_at_oregonstate.edu>
Date: Wed 14 Dec 2005 - 13:27:40 EST


Dear all
First time posting in this list. This is my question: I have three vectors (x, y, z) containing random numbers from three different distributions (normal, random, exponential). I want to sort the vectors so the pairwise correlation coefficient between them is 0.5. How can I do this. I can't use mvrnorm because I'm using different distributions. Any help will be greatly appreciated.
Carlos

        [[alternative HTML version deleted]]



R-help@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 Received on Wed Dec 14 13:47:05 2005

This archive was generated by hypermail 2.1.8 : Wed 14 Dec 2005 - 17:25:17 EST