Svensson Loss Function for Yields

Share:

Description

Calculates the sum of the squared spot rate error.

Usage

1
objfct_sv(beta, m, y)

Arguments

beta

Paramter vector of the Svensson spot rate function (for details see: spr_sv),

m

maturity vector

y

observed yield vector

See Also

spotrates, spr_sv

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