0

I know that generating different random datasets having certain standard deviation and mean values are possible. However, I'm just wondering if it's also possible to generate, let's say 2 datasets, with certain standard deviation, mean values, and a specified correlation coefficient in between them.

Thanks in advance Best

  • Also relevant: https://stats.stackexchange.com/questions/38856/how-to-generate-correlated-random-numbers-given-means-variances-and-degree-of – COOLSerdash Sep 09 '21 at 07:43
  • Normally distributed? Something else? – Henry Sep 09 '21 at 07:50
  • @Henry Yes, exactly normally distributed. I forgot to add it. – ibrahim erkol Sep 09 '21 at 08:12
  • @COOLSerdash It doesn't answer because that question doesn't include a "pre-specified" correlation coefficient in between two normally generated datasets. – ibrahim erkol Sep 09 '21 at 08:13
  • 2
    There are multiple threads that answer your question of how to simulate correlated random variables. In addition to the ones I already linked to, here are some more: https://stats.stackexchange.com/questions/32169/how-can-i-generate-data-with-a-prespecified-correlation-matrix, https://stats.stackexchange.com/questions/13382/how-to-define-a-distribution-such-that-draws-from-it-correlate-with-a-draw-from – COOLSerdash Sep 09 '21 at 08:24

0 Answers0