grad_ns_grid: Nelson/Siegel Gradient Function for the Grid Search

Description Usage Arguments

View source: R/gradfunc.R

Description

Calculates the gradient of the objective function for the grid search. The objective function minimizes the sum of the squared yield errors. The spot rate function is based on Nelson/Siegel.

Usage

1
grad_ns_grid(beta, tau, m, y)

Arguments

beta

Spot rate function parameter vector

tau

fixed parameters

m

maturity vector

y

yield vector


termstrc documentation built on May 19, 2017, 10:49 a.m.

Search within the termstrc package
Search all R packages, documentation and source code