Finance[SetProbabilities] - set transition probabilities of a tree node
|
Calling Sequence
|
|
SetProbabilities(T, i, j, p)
|
|
Parameters
|
|
T
|
-
|
binomial or trinomial tree data structure
|
i
|
-
|
positive integer; time step
|
j
|
-
|
positive integer; node index
|
p
|
-
|
list of probabilities
|
|
|
|
|
Description
|
|
•
|
The SetProbabilities command sets the transition probabilities for node j at level i of the tree T. The probabilities in p should correspond to the descendants of the node (i, j); see Finance[GetDescendants] and Finance[GetProbabilities] for more details.
|
|
|
Compatibility
|
|
•
|
The Finance[SetProbabilities] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?