CoFESSNARXdata | R Documentation |
CoFESSNARXdata
returns the lead/lag series necessary to run the CoFESSNARX
CoFESSNARXdata(yy, xx, ydelay, xdelay, delay = 1, s = NULL, date = T)
yy |
numeric vectors containing target data |
xx |
numeric vectors containing feature data |
ydelay |
integer representing the desired AR order for y |
xdelay |
integer representing the desired AR order for x |
delay |
integers representing n, the size of the prediction window into the future |
s |
integers representing the seasonality desired. Can be expressed as a list for P>1. |
date |
boolean value to indicate if you data includes dates |
This function transforms the target and exegenous series variables for the CoFESSNARX model. Variables series, and the number of desired lags for each group respectively and then returns the requested lag series arlong with the seasonally lagged verson of teh original series for each in a single data set.
returns the target combined with the seasonallly lagged target variable,and the original and lagged exegenous variables in one database.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.