On Wednesday 06 February 2008 (01:35:15), [EMAIL PROTECTED] wrote:
> how to generate correlated data which is correlated in three variables??
# Your correlation matrix
S <- rbind(
c(1,.3,.3),
c(.3,1,.3),
c(.3,.3,1)
)
# Three independent normal variates
x1 <- rnorm(1000)
x2 <- rnorm(1000)
hits=-1.6 tests=BAYES_00,NO_REAL_NAME
X-USF-Spam-Flag: NO
Hi all,
I don't have enough knowledge in the statistics.Can any one help out
how to generate correlated data which is correlated in three variables??
thanks in advance
Rama
__
R-help@r-project.
2 matches
Mail list logo