Learn R Programming

⚠️There's a newer version (1.3.7) of this package.Take me there.

termstrc (version 1.1.1)

Zero-coupon Yield Curve Estimation

Description

Zero-coupon yield curves and spread curves are important inputs for various financial models, e.g. pricing of securities, risk management, monetary policy issues. Since zero-coupon rates are rarely directly observable, they have to be estimated from market data. The literature broadly distinguishes between parametric and spline-based estimation methods for the zero-coupon yield curve. Our package consists of several widely-used approaches, i.e. the parametric Nelson and Siegel (1987) method with the Svensson (1994) extension, and the McCulloch (1975) cubic splines approach. Extensive summary statistics and plots are provided to compare the results of the different estimation methods.

Copy Link

Version

Install

install.packages('termstrc')

Monthly Downloads

60

Version

1.1.1

License

GPL

Maintainer

Josef Hayden

Last Published

October 18th, 2009

Functions in termstrc (1.1.1)

eurobonds

European Government Bonds
forwardrates

Forward Rate Calculation
fwr_ns

Forward Rate Calculation according to Nelson/Siegel
fwr_sv

Forward Rate Calculation according to Svensson (1994).
plot.s_curves

S3 Plot Method
nelson_estim

Zero-coupon Yield Curve Estimation with the Nelson/Siegel, Svensson Method
plot.cubicsplines

S3 Plot Method for Cubic Splines
bond_prices

Bond Price Calculation
summary.nelson

S3 Summary Method
bond_yields

Bond Yield Calculation
corpbonds

Corporate Bonds
plot.spot_curves

S3 Plot Method
summary.cubicsplines

S3 Summary Method for Cubicsplines
spotrates

Function for the Calculation of the Spot Rates
plot.ir_curve

S3 Plot Method
govbonds

European Government Bonds
maturity_range

Restricting a Bond Dataset
duration

Duration, modified Duration and Duration based Weights
plot.nelson

S3 Plot Method
rmse

Root Mean Squared Error
print.summary.nelson

S3 Print Method
gi

Cubic Functions
impl_fwr

Implied Forward Rate Calculation
nelson_siegel

Spot Rate Function according to Nelson/Siegel
rm_bond

Remove Bonds from a Dataset
termstrc-package

Zero-coupon Yield Curve Estimation
splines_estim

Discount Curve Estimation with McCulloch Cubic Splines
aabse

Average Absolute Mean Error
print.cubicsplines

S3 Print Method for Cubicsplines
print.nelson

S3 Print Method
create_cashflows_matrix

Cashflows Matrix Creation
plot.fwr_curves

S3 Plot Method
plot.error

S3 Plot Method
svensson

Spot Rate Function according to Svensson
plot.df_curves

S3 Plot Method
loss_function

Loss Function used for the Term Structure Estimation
create_maturities_matrix

Maturity Matrix Creation
print.summary.cubicsplines

S3 Print Method