Description Usage Arguments Value Author(s) See Also
Creates the regressors of an AR-X model, see sm
.
1 |
y |
numeric vector, time-series or zoo object. Note that missing values in the beginning or at the end of the series is allowed, as they are removed with the na.trim command from the zoo package |
mc |
logical, TRUE or FALSE (default). TRUE includes intercept in the specification, FALSE does not |
ar |
integer vector, say, c(2,4) or 1:4. The AR-lags to include in the specification |
ewma |
NULL or a list of arguments sent to the eqwma function |
mx |
numeric matrix, time-series or zoo object of conditioning covariates. Note that missing values in the beginning or at the end of the series is allowed, as they are removed with the na.trim command from the zoo package |
Matrix with regressors
Genaro Sucarrat (http://www.sucarrat.net/)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.