Description Usage Arguments Value Examples
Generate predictor and response data from AR9 model.
1 | data.gen.ar9(nobs, ndim = 9)
|
nobs |
The data length to be generated. |
ndim |
The number of potential predictors (default is 9). |
A list of 2 elements: a vector of response (x), and a matrix of potential predictors (dp) with each column containing one potential predictor.
1 2 3 4 5 6 7 | # AR9 model from paper with total 9 dimensions
data.ar9<-data.gen.ar9(500)
plot.ts(cbind(data.ar9$x,data.ar9$dp))
# Predictor Identifier
NPRED::stepwise.PIC(data.ar9$x, data.ar9$dp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.