RandomlySelectState
[this page | pdf]
Function Description
Selects the state that a system is in (0 to n-1)
based on given state probabilities and a number between 0 and 1, which might
e.g. be a uniform random number.
NAVIGATION LINKS
Contents | Prev | Next
Output type / Parameter details
Output type: Integer
Parameter Name | Variable Type | Description |
StateProbabilities | Double() | Probabilities of being in each state |
UniformRandNumber | Double | Number between 0 and 1 used to select between states based on cumulative probabilities |
Links to:
-
Interactively run function
-
Interactive instructions
-
Example calculation
-
Output type / Parameter details
-
Illustrative spreadsheet
-
Other Markov processes functions
-
Computation units used
Note: If you use any Nematrian web service either programmatically or interactively then you will be deemed to have agreed to the Nematrian website License Agreement