Adjusted Svensson Loss Function for Bonds

Share:

Description

Calculates the sum of the weighted squared price error.

Usage

1
objfct_asv_bonds(beta, m, cf, w, p)

Arguments

beta

Paramter vector of the adjusted Svensson spot rate function

m

maturity matrix

cf

cashflow matrix

w

weights

p

price vector

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