search for: corrmat2

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

Did you mean: corrmat
2010 Apr 13
0
Error using reshape method
....tri(corrmat)]<-co selectlow <- lower.tri(corrmat) corrmat[selectlow] <- t(corrmat)[selectlow] sigma<- diag(stdev) %*% corrmat %*% diag(stdev) simu1<-rmnorm(n=ss, Sigma=sigma, mu=mu, d=dims, rho=co) simu11<-cbind(simu1,data.grp=1) #2nd set corrmat2 <- matrix(1, dims, dims) corrmat2[upper.tri(corrmat2)]<-co selectlow2 <- lower.tri(corrmat2) corrmat2[selectlow2] <- t(corrmat2)[selectlow2] sigma2<- diag(stdev) %*% corrmat2 %*% diag(stdev) simu2<-rmnorm(n=ss, Sigma=sigma2, mu=mu2, d=dims, rho=co)...