Learn R Programming

termstrc (version 1.3.7)

estimateyieldcurve: Estimate Zero-coupon Yield Curves

Description

Estimate Zero-coupon Yield curves assuming a certain spot rate function

Usage

estimateyieldcurve(method, y, m, beta, lambda, objfct, grad_objfct, constraints, constrOptimOptions)

Arguments

method
form of the spot rate function
y
yields
m
maturities
beta
parameter vector
lambda
parameter for Diebold/Li
objfct
objective function
grad_objfct
grad_objfct
constraints
parameter constraints
constrOptimOptions
solver options

Details

internal helper function