I am an absolute beginner to MATA. I wish to write a program that demands as input from the user both a variance-covariance matrix and the means of 2 normally distributed random variables. As is standard, the diagonal elements of the variance-covariance matrix denotes the variances of these variables and the off diagonal elements denote their covariance. Once the user inputs these parameters, the program should produce as output, say, 200 realizations of each of these variables that is consistent with the statistical process inputted by the user. Any help is greatly appreciated.
-
Login or Register
- Log in with
Comment