kellyUniform | R Documentation |
For finding the root of the function h(x)=\log((1+bx)/(1+ax))/(b-a)-x
.
kellyUniform(interval, rate = 0, n = 500L)
interval |
the interval for the uniform distribution |
rate |
the risk-neutral rate |
n |
the number of iterations to take in the NR method. |
The algorithm is on wikipedia and quite straightforward.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.