objfct_ns_bonds_grid: Nelson/Siegel Grid Loss Function for Bonds
Description
Calculates the sum of the weighted squared price error.
Usage
objfct_ns_bonds_grid(beta, tau, m, cf, w, p)
Arguments
beta
Beta parameters of the Svensson spot price function
tau
Tau parameters of the Svensson spot price function