J
jomni
I'm working a random number generator that follows normal distribution
(given the mean and stadard deviation) and correlations.
I have done the normal distribution requirement through the gaus
formula. The normdist function is also a good shortcut.
I'm now finding ways to make the random numbers (two variables) follo
a certain correlation behavior.
My guess is that I let the macro create random numbers and compute th
correlation. If it does not result into the target correlation, the
it restarts the process. But this may go on forever because I nee
successful 10,000 runs.
Any suggestions
(given the mean and stadard deviation) and correlations.
I have done the normal distribution requirement through the gaus
formula. The normdist function is also a good shortcut.
I'm now finding ways to make the random numbers (two variables) follo
a certain correlation behavior.
My guess is that I let the macro create random numbers and compute th
correlation. If it does not result into the target correlation, the
it restarts the process. But this may go on forever because I nee
successful 10,000 runs.
Any suggestions