Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    1

    How to generate anti-correlated and correlated dataset?

    Hi all,
    do you have any idea about how to generate anti-correlated and correlated dataset? any data generator or algorithm for them?
    thanks a lot

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    give us a hint: what are anti-correlated and correlated datasets?
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    I Googled and found this. But I can't help much beyond that! Presumably to generate a corellated dataset you simply generate some random numbers for the first dataset, then generate some smaller random numbers and add them to the first set to make the second set? But no doubt there's more to it than that, with normal distribution etc. taken into consideration...

  4. #4
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Quote Originally Posted by andrewst
    Presumably to generate a corellated dataset you simply generate some random numbers for the first dataset, then generate some smaller random numbers and add them to the first set to make the second set?
    That sounds like a fractal algorithm, which suggest a recursive routine.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •