Learn R Programming

termstrc (version 1.3.7)

objfct_sv_grid: Svensson Grid Loss Function for Bonds

Description

Calculates the sum of the squared yield error.

Usage

objfct_sv_grid(beta, tau, m, y)

Arguments

beta
Beta parameters of the Svensson spot rate function

tau
Tau parameters of the Svensson spot rate function
m
maturity vector
y
yield vector