Replies: 1 comment 3 replies
-
For a programmatic way to simulate from a probabilistic forecast, you have to:
Note, that for most models, this will result in independent samples for each future forecast horizon, which is perhaps not what you are looking for. The framework would in-principle support distributions that are dependent across time indices, though these are either not implemented by the model, or integrated with such functionality in downstream packages that have it, e.g., So far, this was not that highly requested, but I'd be happy to point you to where things need to be added. Related issue here: #4098 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm considering the case of a probabilistic forecast (at, say, a daily cadence) that I would like to aggregate (to, say, find the total of the forecasted values along with its confidence intervals, or to aggregate to a coarser sampling in time like weekly). My thinking (though I'm open to better suggestions!) for how to do this is to generate multiple realizations of the forecast that sample its distribution. The aggregated sum from each realization then samples the distribution of the desired sum.
Is there an obvious way to do this from within
sktime
? For example, if I were to do this inR
with theforecast
package I could just use thesimulate
function. I'm having trouble locating anything related to this in thesktime
documentation -- does a feature like this exist, or is there a way to access sufficient information about the model to write code to do this?I figure something related to this must exist, but I can't find it, so I apologize if this question has an obvious answer!
Beta Was this translation helpful? Give feedback.
All reactions