Learn R Programming

termstrc (version 1.3.7)

grad_sv: Gradient of the Svensson Loss Function for Yields

Description

Calculates the gradient of the Svensson Loss Function for Yields

Usage

grad_sv(beta, m, y)

Arguments

beta
Parameter of the Svensson spot rate function.
m
maturity vector
y
yield vector