objfct_ns: Nelson/Siegel Loss Function for Yields

Description Usage Arguments See Also

View source: R/spotfwdratedef.R

Description

Calculates the sum of the squared spot rate error.

Usage

1
objfct_ns(beta, m, y)

Arguments

beta

Paramter vector of the Nelson/Siegel spot rate function (for details see: spr_ns),

m

maturity vector

y

observed yield vector

See Also

spotrates, spr_ns


termstrc documentation built on May 29, 2017, 1:05 p.m.