Difference between revisions of "RandomDiscrete Command"
From GeoGebra Manual
(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...") |
Noel Lambert (talk | contribs) (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 | + | 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.