grad_asv_grid: Adjusted Svensson Gradient Function for the Grid Search
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 the adjusted version of Svensson.
Usage
grad_asv_grid(beta, tau, m, y)
Arguments
beta
Spot rate function parameter vector