RandomSample[{0.5,0.5}->{2,4},1]
commands Mathematica to select either 2 or 4 with a 50:50 chance of either number. How can I use this if I have multiple lists, like this:
RandomSample[{{0.5,0.5},{0.4,0.6}}->{{2,4},{3,5}},1] except this command returns an error
I don't want to combine the lists because I want to select one number from each list with separate probabilities.
Thanks for the help!