sim.bm: Simulate 1D arithmetic Brownian Motion

View source: R/simFuncs.R

sim.bmR Documentation

Simulate 1D arithmetic Brownian Motion

Description

Simulate 1D arithmetic Brownian Motion

Usage

sim.bm(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

model$drift

for the drift term


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