Message Boards Message Boards


How to generate correlated Normal random variables

Posted 9 years ago
1 Reply
1 Total Likes
Say, A, B and C are normally distributed random variables. They are correlated. How can I create random realizations for each variable such that the vectors show the given correlation?
Posted 9 years ago
If you provide correlations in covariance matrix you cau useĀ MultinormalDistribution, e.g. (from documentation):
MultinormalDistribution[{1, 2, 4}, {{2, -1/4, 1/3}, {-1/4, 2/3, 1/5}, {1/3, 1/5, 1/2}}], 10^3];
This will provide a sample of size 1000 from a correlated multinormal distribution.
POSTED BY: Mark Dooris
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract