sde_ou: Simulate an OU process

Description Usage Arguments Value

View source: R/models.R

Description

Simulate a OU process sample path using a numerical stochastic integrator.

Usage

1
sde_ou(x0, tt, param, n = 1000, method = "em")

Arguments

x0

initial value

tt

time horizon

param

vector of mean-reversion rate, level, and vol-of-vol

n

number of time sub-intervals

method

"em" or "rk2"

Value

data.frame numeric


shill1729/sdes documentation built on Aug. 30, 2021, 6:36 p.m.