This site is no longer maintained and has been left for archival purposes

Text and links may be out of date

ShortFileName
  • Random numbers

    Various extensions to the usual Mathematica random number generators are provided:

  • This muddles a set:

  • [Graphics:../Images/index_gr_37.gif]
    [Graphics:../Images/index_gr_38.gif]
  • Here is a random sample from the probability distribution, given as a list of 10 integers:

  • [Graphics:../Images/index_gr_39.gif]
    [Graphics:../Images/index_gr_40.gif]
  • This generates 1000 random numbers drawn from a specified cumulative distribution, CDF[PoissonDistribution[1.5],#]&:

  • [Graphics:../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]
    [Graphics:../Images/index_gr_45.gif]
  • This adds NegativeHypergeometricDistribution[n,p,α] to the set of statistical distributions:

  • [Graphics:../Images/index_gr_46.gif]
    [Graphics:../Images/index_gr_47.gif]
  • This tests for deviations between observed numbers {7,25,8} and expected numbers {10,20,10}:

  • [Graphics:../Images/index_gr_48.gif]
    [Graphics:../Images/index_gr_49.gif]


    Converted by Mathematica      April 16, 2002

    This site is no longer maintained and has been left for archival purposes

    Text and links may be out of date

    Accessibility Statement