objfct_dl_bonds: Diebold/Li Loss Function for Bonds
Description
Calculates the sum of the weighted squared price error.Usage
objfct_dl_bonds(beta, lambda, m, cf, w, p)
Arguments
beta
Paramter vector of the Diebold/Li spot rate function
lambda
Lambda of the Diebold/Li spot rate function