Skip to content
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

predict_rolling help page example #1

Open
philturk opened this issue Aug 18, 2020 · 0 comments
Open

predict_rolling help page example #1

philturk opened this issue Aug 18, 2020 · 0 comments

Comments

@philturk
Copy link

Hi, thanks for the tsDyn package. Quick comment about the predict_rolling() function help page example. If the predicted values are one-step-ahead out-of-sample forecasts, then I believe your one line of code should actually be:

preds_roll_ts <- ts(preds_roll$pred, start=time(barry)[nrow(barry) - 9], freq = 12)

Currently, you have nrow(Barry) - 10. Please let me know if I have misunderstood the intent of your function. Thanks.

Best,

-- Phil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant