Dear everyone, I am having problem simulating multivariate data. Though I was 
able to simulate the data, but finding the variance-covariance matrix of 
simulated data did not give exact covariance matrix used in simulating the 
data. Unlike some other packages, like stata, using command "corr2data" will 
simulate data having the covariance matrix exactly with the specified 
covariance matrix.
  I used "mvrnorm(n, means, covariance)" Is there any syntax in R to use to 
give me what I want?
  Thanks
   

       
---------------------------------
[[elided Yahoo spam]]
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to