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

Forecasting #1

Open
GiuliaGuazzieri opened this issue Nov 7, 2024 · 2 comments
Open

Forecasting #1

GiuliaGuazzieri opened this issue Nov 7, 2024 · 2 comments

Comments

@GiuliaGuazzieri
Copy link

Hi! In our statistical institute here in South Tyrol we are trying to use Jdemetra also to make forecasts. This function is not very well documented. Would you perhaps have some more info for us to use this function and understand how it works?
Thank you!

@annasmyk
Copy link
Member

Hi,

which function are you trying to use exactly ? what for ?
I'll give a you a more specific documentation by the end of the week
Anna

@annasmyk
Copy link
Member

annasmyk commented Nov 15, 2024

You can try the following code using rjd3x13::regarima (or in a similar way rjd3tramoseats::tramo())

library(rjd3toolkit)
library(rjd3x13)
y <- rjd3toolkit::ABS$X0.2.09.10.M
end(y)

forecast series has to be defined in the user defined output , check the list of names

userdefined_variables_x13(x = "RegArima")

you want y_f(): forecast raw series with horizon in the (), (1) = 1 month (positive integers), (-1) = one year (negative integers), default = one year

regarima_y <- rjd3x13::regarima(y, spec = "RG3", userdefined = "y_f(6)")

if needed, check the default specs on function's help page

retrieve forecasts

y_f<- regarima_y$user_defined
y_f

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

2 participants