Description Usage Arguments Value See Also Examples
View source: R/cointReg-D-OLS.R
Generates leads-and-lags matrix for the Dynamic OLS estimator.
1 | makeLeadLagMatrix(x, n.lag, n.lead)
|
x |
[ |
n.lag, n.lead |
[ |
[matrix
]. Leads-and-lags matrix.
Other D-OLS: cointRegD
,
getLeadLag
, getModD
1 2 | x <- matrix(1:20, 2, byrow = TRUE)
cointReg:::makeLeadLagMatrix(x = x, n.lag = 2, n.lead = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.