View source: R/kemna_vorst_arithmetic.R
| price_kemna_vorst_arithmetic | R Documentation |
Calculates the price of an arithmetic average Asian option using Monte Carlo simulation with variance reduction via the geometric average control variate. This implements the Kemna & Vorst (1990) method WITHOUT price impact.
price_kemna_vorst_arithmetic(
S0,
K,
r,
sigma,
T0,
T_mat,
n,
M = 10000,
option_type = "call",
use_control_variate = TRUE,
seed = NULL,
return_diagnostics = FALSE
)
S0 |
Numeric. Initial stock price at time T0 (start of averaging period). Must be positive. |
K |
Numeric. Strike price. Must be positive. |
r |
Numeric. Continuously compounded risk-free rate (e.g., 0.05 for 5%).
Use |
sigma |
Numeric. Volatility (annualized standard deviation). Must be non-negative. |
T0 |
Numeric. Start time of averaging period. Must be non-negative. |
T_mat |
Numeric. Maturity time. Must be greater than T0. |
n |
Integer. Number of averaging points (observations). Must be positive. |
M |
Integer. Number of Monte Carlo simulations. Default is 10000. Larger values give more accurate results but take longer. |
option_type |
Character. Type of option: "call" (default) or "put". |
use_control_variate |
Logical. If TRUE (default), uses the geometric average as a control variate for variance reduction. This dramatically improves accuracy. |
seed |
Integer. Random seed for reproducibility. Default is NULL (no seed). |
return_diagnostics |
Logical. If TRUE, returns additional diagnostic information including confidence intervals, correlation, and variance reduction factor. Default is FALSE. |
If return_diagnostics = FALSE, returns a numeric value (the
estimated option price). If return_diagnostics = TRUE, returns a list with components:
Estimated option price
Standard error of the estimate
Lower 95% confidence interval
Upper 95% confidence interval
Analytical geometric average price (control variate)
Correlation between arithmetic and geometric payoffs
Ratio of variances (with/without control)
Number of Monte Carlo simulations used
Number of time steps in each simulation
Kemna, A.G.Z. and Vorst, A.C.F. (1990). "A Pricing Method for Options Based on Average Asset Values." Journal of Banking and Finance, 14, 113-129.
price_kemna_vorst_arithmetic(
S0 = 100, K = 100, r = 0.05, sigma = 0.2,
T0 = 0, T_mat = 1, n = 50, M = 10000
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.