getARpXmat | R Documentation |
Compute the design matrix X for AR(p) model
getARpXmat(y, p = 1, include_intercept = FALSE)
y |
(T x 1) vector of responses |
p |
order of AR(p) model |
include_intercept |
logical; if TRUE, first column of X is ones |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.