Learn R Programming

maRketSim (version 0.9.2)

vasicek.discrete: Vasicek yield model in discrete time

Description

Classic Vasicek model

Usage

vasicek.discrete(mu, sigma, h, phi, r.initial, N)

Arguments

mu
what the short term rate converges to
sigma
SD of the forecast (determines step size)
h
time per period
phi
determines mean reversion
r.initial
initial rate
N
number of periods total to run the simulation

Value

vasicek.discrete object