makeCorrelated(sampleSet1,sampleSet2, amount) #631
Replies: 2 comments 2 replies
-
See also: #374 |
Beta Was this translation helpful? Give feedback.
-
This seems very important, maybe top-priority for me. Most/all of the examples of Fermi Monte-Carlo estimations I've seen in EA/using Squiggle seem to use only independent random variables. In most cases there are strong reasons to think some of these are strongly negatively or positively correlated. I want to start using this approach, but without being able to explore the sensitivity to this it doesn't necessary seem empirically better than the 'old school' approaches. From my hypothesis notes:
|
Beta Was this translation helpful? Give feedback.
-
It would be great to manually be able to specify the amount of correlation between distributions. One simple way of doing this is just to do it on pairs of distributions. This operation would break correlations with previous distributions though, unless there was a bit more data involved.
It would work roughly like,
Note that it would be better to have a slightly more fancy system not sample the same point twice. So instead,
n
items are kept in place, andm
are shuffled randomly.There might well be a much better algorithm here, I'm kind of making this up. But I'm pretty sure it would work, it's just kind of hacky.
Questions
It would be great to figure out some clever system for properly correlating several different distributions to each other. I'm not sure what this would look like though. Maybe something like,
We might need to save data of all the samples and their respective correlated other samples in global state.
Beta Was this translation helpful? Give feedback.
All reactions