File: matrix-pdl.Rd

package info (click to toggle)
fbasics 4052.98-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,020 kB
  • sloc: ansic: 738; makefile: 14
file content (42 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (2)
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}