Content Disclaimer
Copyright @2020.
All Rights Reserved.

StatsToDo: Random Numbers

Links : Home Index (Subjects) Contact StatsToDo



Introduction Javascript Programs
Random Real Numbers
   Random Seed (any integer value)
   Number to be generated
   Number of decimal points shown
       
Random Normally Distributed Numbers
   Random Seed (any integer value)
   Number to be generated
   Mean value
   Standard Deviation value
   Number of decimal points shown
       
Random Integers
   Random Seed (any integer value)
   Number to be generated
   Minimum value
   Maximum Value
       
Clusters in Random Order
   Random Seed (any integer value)
   Number of clustersto be generated
   Minimum value in cluster
   Maximum value in cluster
       

Note:

  • If the value of 0 is used for random seed, then the Javascript random number generator is used, and the sequence cannot be repeated
  • If the value >=1 is used for random seed, then the Rans3 algorithm (see reference) us used, and the same sequence can be reproduced with the same seed value

Reference: Press WH, Flannery BP,Teukolsky SA, Vetterling WT (1994). Numerical recipes in Pascal Ed. 1, IBSN 0-521-37516-9. p.221

R Codes Python Codes