View source: R/call_Newton_convex.R
call_Newton_convex | R Documentation |
The call_Newton_convex function is used to find second constant L in modified call option.
call_Newton_convex(L1, strike, drift, rate, vol, p, epsilon = 1e-10)
L1 |
numeric value, first constant L1 > K. |
strike |
numeric value, strike price for call option. |
drift |
numeric value, drift of the model. |
rate |
numeric value, risk free rate in the model, r >= 0. |
vol |
numeric value, volatility of the model, vol > 0. |
p |
numeric value, power of the loss function, p > 1. |
epsilon |
numeric value, acceptable calculation error |
There is a need to be careful when there is a warning message. It means that a numerical error occurred during the algorithm and the algorithm was terminated without a while loop
A numeric value, a second constant for modified call option by convex function.
call_Newton_convex(140, 100, 0, 0.1, 0.2, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.