CalCIR1f: Calibrate 1-factor CIR Model using the Maximum Likelihood...

Description Usage Arguments Value

View source: R/calibrate.R

Description

Calibrate 1-factor CIR Model using the Maximum Likelihood Estimator

Usage

1
CalCIR1f(dat, dt = 1/12, shift = NULL)

Arguments

dt

time step, default is monthly (1/12)

shift

optional shift to apply prior to fitting. This helps if negative values may cause errors.

data

numerical vector of time series data

Value

a named list with parameters r0 - initial value, a - speed of mean reversion (annual), b - mean reversion level, v - annual volatility


ZScore314/ESG documentation built on Feb. 11, 2022, 12:15 a.m.