objfct_sv_bonds_grid: Svensson Grid Loss Function for Bonds

Description Usage Arguments

Description

Calculates the sum of the weighted squared price error.

Usage

1
objfct_sv_bonds_grid(beta, tau, m, cf, w, p)

Arguments

beta

Beta parameters of the Svensson spot price function

tau

Tau parameters of the Svensson spot price function

m

maturities matrix

cf

cash flows matrix

w

weights vector

p

price vector


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