This site is no longer maintained and has been left for archival purposes
Text and links may be out of date
Random numbers
Various extensions to the usual Mathematica random number generators are provided:
This muddles a set:
![[Graphics:../Images/index_gr_37.gif]](../Images/index_gr_37.gif)
Here is a random sample from the probability distribution, given as a list of 10 integers:
![[Graphics:../Images/index_gr_39.gif]](../Images/index_gr_39.gif)
This generates 1000 random numbers drawn from a specified cumulative distribution, CDF[PoissonDistribution[1.5],#]&:
![[Graphics:../Images/index_gr_43.gif]](../Images/index_gr_43.gif)
Here is a sample of 100 from the multinomial distribution, with probabilities {0.1,0.3,0.6}
![[Graphics:../Images/index_gr_44.gif]](../Images/index_gr_44.gif)
This adds NegativeHypergeometricDistribution[n,p,α] to the set of statistical distributions:
![[Graphics:../Images/index_gr_46.gif]](../Images/index_gr_46.gif)
This tests for deviations between observed numbers {7,25,8} and expected numbers {10,20,10}:
![[Graphics:../Images/index_gr_48.gif]](../Images/index_gr_48.gif)
This site is no longer maintained and has been left for archival purposes
Text and links may be out of date