-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stationarity of the original series #33
Comments
Hi, Thanks! There's no requirement for stationarity. No explicit preprocessing is required beyond what you want to do (e.g. normalisation, if required) -- the function can accept any numeric time-series vector. You should just be able to feed in prices as an input series. Happy for me to close this issue? |
@hendersontrent , Thanks for info. I have found your |
Thanks. |
Sorry for the opening issue again. Should all functions be used on the rolling window? This seems reasonable beause functions return only one value. |
If using a rolling window approach, then yes, it seems reasonable to compute features over each window. This has been used in the literature for both forecasting and classification purposes. |
Thanks on feedback. |
I have tried to use rolling window with
but this crashes R studio:
I have also tried to use slider package, but it chrashes r studio too. |
One update. If I calculate all functions inside the loop it increases my memory. By every step it is bigger and bigger and it eventually increases to 100%. Here is sample code:
|
I'll run your code later and explore. There is a known memory leak (see here) and it becomes particularly evident if lots of loops are run. This could be the issue? |
I run lots of loops (that is use functions inside lapply), because I am calculating the functions on rolling window. |
Since you use Rcpp, maybe the problem is connected to this: https://stackoverflow.com/questions/47885216/memory-leaks-in-a-simple-rcpp-function |
Maybe you can try to include gc() at the end of function? |
Hi,
Thanks for the great package.
Should input series be stationar or it can have unit root? For example, should we use prices or diff log prices (returns) for input series?
Do we have to do any other preprocessing before applying the main function?
The text was updated successfully, but these errors were encountered: