Dear friends, Suppose the correlation matrix of x1-x3 is as follows: x1 x2 x3 x1 1 x2 0.5 1 x3 0.6 0.4 1 1.First, to generate the matrix of x1-x3 in R; 2.to get the random number: x1<-rnorm(10), is it enough to generate only the x1-values? Do i need to generate x2 and x3? 3. y=x1+2*x2+3*x3 , to generate the y-values; Thanks very much! -- Kind Regards, Zhi Jie,Zhang [[alternative HTML version deleted]]