I read a message about "generate 1,000 random observations from a multivariate normal distribution with a specified mean and covariance structure" using proc iml Y = RandNormal(&n, j(1,ncol(C),0), C). See link https://blogs.sas.com/content/iml/2011/01/12/sampling-from-the-multivariate-normal-distribution.html Sample is Could can anyone please show me how could I create variables, such as X1, X2, X3, Y based this random sample created? Y is binary dependent variables (1/0). Xs include both continuous and character predictors, with positive or negative value, for example, age (0, 100), time during (- infinite, + infinite), gender (1/0).....I need to build logistic regression using the simulated variables. Also can I sample both dependent and independent variable together? I mean by one correlation matrix. Thanks so much! Best, Heather
... View more