Diebold/Li Loss Function for Yields

Share:

Description

Calculates the sum of the squared spot rate error.

Usage

1
objfct_dl(beta, lambda, m, y)

Arguments

beta

Paramter vector of the Diebold/Li spot rate function (for details see: spr_dl),

lambda

Fixed spot rate function parameter

m

maturity vector

y

observed yield vector

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.