Learn R Programming

termstrc (version 1.3.7)

grad_dl: Gradient of the Diebold/Li Loss Function for Yields

Description

Calculates the gradient of the Diebold/Li Loss Function for Yields

Usage

grad_dl(beta, lambda, m, y)

Arguments

beta
Parameter of the Diebold/Li spot rate function
lambda
constant parameter of the Diebold/Li spot rate function
m
maturity vector
y
yield vector