Skip to content
Prev 276655 / 398506 Next

Sampling with conditions

[Correction below (I was writing too late at night ... ]
On 08-Nov-11 00:25:57, Ted Harding wrote:
That should have read:

  This gives a uniform distribution over the positions in
  the sample vector for the sampled integers, so that all
  permutations are equally likely. For a non-uniform
  distribution, vary 'prob'.

Sorry,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.harding at wlandres.net>
Fax-to-email: +44 (0)870 094 0861
Date: 08-Nov-11                                       Time: 07:40:51
------------------------------ XFMail ------------------------------