objfct_dl_bonds: Diebold/Li Loss Function for Bonds

Description Usage Arguments

Description

Calculates the sum of the weighted squared price error.

Usage

1
objfct_dl_bonds(beta, lambda, m, cf, w, p)

Arguments

beta

Paramter vector of the Diebold/Li spot rate function

lambda

Lambda of the Diebold/Li spot rate function

m

maturity matrx

cf

cashflow matrix

w

weights vector

p

price vector


changshun/termstrc documentation built on May 13, 2019, 3:24 p.m.