dependent_distributions
Returns a set of linked, single-variable distributions.
When
draw()is called on one of these distributions, values for all correlated variables are drawn, but only one variable is returned: the one corresponding to theDistributionon whichdraw()was called. Afterwards, callingdraw()for the other distributions in the set will return the other drawn values.If
draw()is called a second time on one of the distributions in a set before it has been called on all of the other distributions in the set, then previously drawn values will be cleared, this call todraw()will be treated as if it were the first, and a warning will be given.Similarly, if
draw()is called with a different value ofsizefor two distributions in a set, then previously drawn values will be cleared, and the most recent call todraw()will be treated as if it were the first, and a warning will be given.