sim.gbm.asian: Simulate 1D Brownian Motion for Asian Options

View source: R/simFuncs.R

sim.gbm.asianR Documentation

Simulate 1D Brownian Motion for Asian Options

Description

Simulate 1D Brownian Motion for Asian Options

Usage

sim.gbm.asian(x0, model, dt = model$dt)

Arguments

x0

is the starting values (matrix of size N x model$dim)

model

a list containing all the other parameters, including volatility model$sigma, interest rate model$r and continuous dividend yield model$div.

dt

is the step size in time. Defaults to model$dt

Details

first column is t, second column is S_t third column is A_t (arithmetic average) fourth column is tildeA_t (geometric average)


mludkov/mlOSP documentation built on April 29, 2023, 7:56 p.m.