1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
\name{TermStructure}
\alias{TermStructure}
\alias{NelsonSiegel}
\alias{Svensson}
\title{Term Structure Modelling}
\description{
A collection and description of functions
for term structure modelling.
\cr
The functions are:
\tabular{ll}{
\code{NelsonSiegel} \tab Nelson-Siegel Term Structure, \cr
\code{Svensson} \tab Nelson-Siegel-Svensson Term Structure. }
}
\usage{
NelsonSiegel(rate, maturity, doplot = TRUE)
Svensson(rate, maturity, doplot = TRUE)
}
\arguments{
\item{doplot}{
a logical. Should a plot be displayed?
}
\item{maturity}{
a numeric vector of maturities on an annual scale.
}
\item{rate}{
a numeric vector of forward rates.
}
}
\value{
a list object with entries returned from the optimization function
\code{nlminb}.
}
\references{
McCulloch J. H. (1990);
\emph{US Term Structure Data: 1946-87},
Handbook of Monetary Economics, Friedman B.M. and Hahn F.H. (eds.),
Elsevier Science.
McCulloch J. H. and Kwon, H.C. (1993);
\emph{US Term Structure Data: 1947-1991},
Working Paper No. 93-6, Department of Economics,
Ohio State University.
Zivot E., Wang J.;
\emph{Modeling Financial Time Series with S-Plus}.
}
\keyword{datasets}
|