objfct_ns_grid: Nelson/Siegel Grid Loss Function for Yields
Description
Calculates the sum of the squared yield error.Usage
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