- #1
- 908
- 572
- TL;DR Summary
- How to generate (X,Y) samples having a distribution specified in terms of the sum of a few normal 2-D distributions?
I would like to generate (X,Y) pairs such that they would follow a distribution something like this:This is the sum of three normal distributions. Each distribution could have a different taper along the X and the Y, plus an offset along X and/or Y. So the parameters of these three distributions would be the input for my process.
I don't need to meet any rigorous test of randomness or compliance with the ideal model -- it just needs to look qualitatively like the model and be really EASY to understand and implement. Speed is not too much of an issue either.
What would be a simple algorithm?