Learn R Programming

termstrc (version 1.3.7)

grad_ns: Gradient of the Nelson/Siegel Loss Function for Yields

Description

Calculates the gradient of the Nelson/Siegel Loss Function for Yields

Usage

grad_ns(beta, m, y)

Arguments

beta
Parameter of the Nelson/Siegel spot rate function (for details see spr_ns).
m
maturity vector
y
yield vector

See Also

objfct_ns,spr_ns