Learn R Programming

termstrc (version 1.3.7)

objfct_asv_bonds_grid: Adjusted Svensson Grid Loss Function for Bonds

Description

Calculates the sum of the weighted squared price error.

Usage

objfct_asv_bonds_grid(beta, tau, m, cf, w, p)

Arguments

beta
Beta parameters of adjusted Svensson spot rate function
tau
Tau parameters of adjusted Svensson spot rate function
m
maturity matrix
cf
cashflow matrix
w
weights vector
p
price vector