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

Confidence intervals: Provide better mechanisms for customization #21

Open
reknih opened this issue Oct 1, 2020 · 1 comment
Open

Comments

@reknih
Copy link

reknih commented Oct 1, 2020

Hi!
First of all, great library, thanks for open-sourcing it!

In my project, I'd like to apply custom confidence intervals to the ARIMA predictions.
In the Readme file, you have stated that the confidence intervals can be changed in the ForecastUtil class, presumably through changing its confidence_constant_95pct constant. This, however, is not feasible if the project is used as a Maven dependency instead of using it as a local source dependency. It is, furthermore, not obvious to the layperson (or at least to me) how to calculate the constant for another confidence interval.

As far as I see it, the problem could be addressed in two ways ways:

  • Provide a public, static conversion method to get the constant for a custom percentile in ForecastUtil which can then be used with the setConfInterval method of the ForecastResult class. This would maybe be the simplest solution!
  • Extend the ArimaParams class with a confidence interval property, there could then maybe be another constructor with which custom percentiles can be set.

I'd be glad to contribute a solution to this if someone could give me some pointers on how to calculate the constant.

Have a great day!

@ayushpatidar
Copy link

ayushpatidar commented Apr 6, 2022

@reknih
Did you found any way to change the confidence interval , in existing code !!

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