search for: r2corr

Displaying 1 result from an estimated 1 matches for "r2corr".

Did you mean: y2corr
2011 Feb 08
1
Generate data from correlation matrix
Hi All, I was wondering if anyone knew of a function which would generate data from a pre-specified correlation matrix (as in the Stata command r2corr) or sampled from a population with a specific covariance/correlation. (I thought I'd check before I wrote something inelegant and slow.) Jeremy -- Jeremy Miles Psychology Research Methods Wiki: www.researchmethodsinpsychology.com