Description Usage Arguments Value Author(s) See Also

Construct blocks of original and lagged values for autoregressive time
series models with exogenous inputs. The typical use case is to supply the
output as `newdata`

argument to the
`predict`

method of robust groupwise least
angle regression models.

1 |

`x` |
a numeric matrix or data frame containing the exogenous predictor series. |

`y` |
a numeric vector containing the response series. |

`p` |
an integer giving the number of lags to include (defaults to 2). |

`subset` |
a logical or integer vector defining a subset of observations from which to construct the matrix of predictor blocks. |

`intercept` |
a logical indicating whether a column of ones should be added to the matrix of predictor blocks to account for the intercept. |

A matrix containing blocks of original and lagged values of the
time series `y`

and `x`

.

Andreas Alfons

`predict.tslars`

, `tslars`

,
`predict.tslarsP`

, `tslarsP`

robustHD documentation built on May 29, 2017, 8:14 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.