objfct_ns_grid: Nelson/Siegel Grid Loss Function for Yields

Description Usage Arguments

Description

Calculates the sum of the squared yield error.

Usage

1
objfct_ns_grid(beta, tau,  m, y)

Arguments

beta

Beta parameters of the Nelson/Siegel spot rate function

tau

Tau parameter of Nelson/Siegel spot rate function

m

maturity vector

y

yield vector


changshun/termstrc documentation built on May 13, 2019, 3:24 p.m.