drift_vasicek: Vasicek drift function

Description Usage Arguments Details Value

View source: R/drift_coefficients.R

Description

The drift coefficient function for Vasicek process. It is equal to μ(t, X_t)=θ (μ-X_t)

Usage

1
drift_vasicek(x, t, theta, mu)

Arguments

x

spatial input

t

temporal input

theta

the speed at which the diffusion reverts to its long-term mean level

mu

the long term mean level.

Details

The coefficient for the short-rate Vasicek model shares the same coefficient as the CIR, and Hull-White.

Value

numeric


shill1729/FeynmanKacSolver documentation built on May 19, 2020, 8:23 p.m.