Displaying 1 result from an estimated 1 matches for "uuuuud".
Did you mean:
uuuuuu
2008 Mar 01
1
A question on getting all possible combinations
Hi all,
Suppose I have to letters 'u' and 'd'. Now I want to find all combinations like that :
uuuuuu
uuuuud
uuuudu
.........
........
dddddd
This type of combination generally required for Option Pricing in financial/derivative market. Here generally 'u' means: up-move and 'd' means down move of price like Stock price etc.
Is there any easy way in R for doing that?
Regards,
-...