View source: R/mixtureDiffusion.R
entropyMixtureDiffusion | R Documentation |
A special case wrapper to entropyItoProcess
. Compute the entropy rate as a function of the fraction. This
involves solving a Feynman-Kac PDE with running cost the sum of the risk-free rate
and half the square of the market price of risk.
entropyMixtureDiffusion(t, s, spot, rate, param, resolution = c(200, 200))
t |
time horizon |
s |
current price |
spot |
initial price |
rate |
risk-free rate |
param |
parameters of mixture |
resolution |
time and space resolution for the PDE solver |
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.