Difference between revisions of "RandomDiscrete Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with ";RandomDiscrete[ <Number of Values>, <Number of Probabilities> ] Produces random number from the first list according to probability distribution in the second one. The sum of...")
 
(typo)
Line 1: Line 1:
 
;RandomDiscrete[ <Number of Values>, <Number of Probabilities> ]
 
;RandomDiscrete[ <Number of Values>, <Number of Probabilities> ]
Produces random number from the first list according to probability distribution in the second one. The sum of the second list does not have to be 1, the proababilities are normalized.
+
Produces random number from the first list according to probability distribution in the second one. The sum of the second list does not have to be 1, the probabilities are normalized.

Revision as of 09:03, 28 August 2015

RandomDiscrete[ <Number of Values>, <Number of Probabilities> ]

Produces random number from the first list according to probability distribution in the second one. The sum of the second list does not have to be 1, the probabilities are normalized.

© 2024 International GeoGebra Institute