22
votes
2answers
297 views

Assign a randomly generated list to variable

Bug introduced in 10.0.0 I don't know if this is a silly question, but it really baffles me. So please help me understand this behavior. ...
4
votes
1answer
82 views

RandomSample Bug?

I was using RandomSample with very skewed weights. I am asking for a random sample of 6 numbers 1 through 100 without replacement. In the screen shown, the weights for 1 through 6 are 100 000, with ...
14
votes
1answer
342 views

RandomVariate returns values outside the support of a PDF

Let $X$ be a random variable with pdf: dist = ProbabilityDistribution[1/(Abs[x]*Log[Abs[x]]^2), {x, -E^-2, E^-2}] Here are some pseudo-random drawings from it: ...