I have an EmpiricalDistribution
d = EmpiricalDistribution[{1, 1, 1, 2, 2, 2, 3, 3, 3, 3}]
now, I want to sample twice without replacement $x_1,x_2$.
afterward, compute probability distribution of $|x_1-x_2|$ to get:
X=|x_1-x_2| 0 1 2
P 4/15 7/15 4/15
What command should be used?
EmpiricalDistribution
the second draw comes from a different distribution. Likely more complicated than Bills method $\endgroup$ – george2079 Nov 30 '16 at 4:01