Learn R Programming

termstrc (version 1.3.7)

objfct_sv_bonds_grid: Svensson Grid Loss Function for Bonds

Description

Calculates the sum of the weighted squared price error.

Usage

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