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
|
\name{pdl}
\alias{pdl}
\title{Polynomial distributed lags}
\description{
Creates a regressor matrix for polynomial distributed lags.
}
\usage{
pdl(x, d = 2, q = 3, trim = FALSE)
}
\arguments{
\item{x}{
a numeric vector.
}
\item{d}{
an integer specifying the order of the polynomial.
}
\item{q}{
an integer specifying the number of lags to use in creating
polynomial distributed lags. This must be greater than \code{d}.
}
\item{trim}{
a logical flag; if \code{TRUE}, the missing values at the beginning
of the returned matrix will be trimmed.
}
}
\seealso{
\code{\link{tslag}}
}
\examples{
## pdl -
#
}
\keyword{math}
|