# The question of forecasting

**URL:** <https://discourse.julialang.org/t/the-question-of-forecasting/65858>\
**Category:** General Usage\
**Tags:** question\
**Created:** [August 5, 2021, 6:45am UTC](https://discourse.julialang.org/t/the-question-of-forecasting/65858 "2021-08-05T06:45:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abcde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abcde/32/16180_2.png) [@abcde](https://discourse.julialang.org/u/abcde)\
**Post date:** [August 5, 2021, 6:45am UTC](https://discourse.julialang.org/t/the-question-of-forecasting/65858/1 "2021-08-05T06:45:02Z")

</div>

Hello everyone, I’m working on forecasting time series data for power systems.  
I now have three years of meteorological data and corresponding power system data, and I want to predict the temporal changes of power system related power flow data based on meteorological conditions.But I don’t know how to use what Pkg in Julia to achieve this probability prediction algorithm (MLJ, Flux?).Can everyone help me?  
Thank you very much!

---

<div class="post-metadata">

**Author:** ![Storopoli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/storopoli/32/209278_2.png) [@Storopoli](https://discourse.julialang.org/u/Storopoli)\
**Post date:** [August 5, 2021, 8:27am UTC](https://discourse.julialang.org/t/the-question-of-forecasting/65858/2 "2021-08-05T08:27:41Z")

</div>

It depends.

Bayesian forecast using a probabilistic model `Turing.jl`.  
Point Estimate forecast using traditional ML algorithms `MLJ.jl`  
Point Estimate forecast using a Neural Network `Flux.jl`  
Bayesian forecast using a Bayesian Neural network `Flux.jl` + `Turing.jl`

---

<div class="post-metadata">

**Author:** ![abcde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abcde/32/16180_2.png) [@abcde](https://discourse.julialang.org/u/abcde)\
**Post date:** [August 5, 2021, 8:46am UTC](https://discourse.julialang.org/t/the-question-of-forecasting/65858/5 "2021-08-05T08:46:12Z")

</div>

Can these Pkg be used for probabilistic prediction of multivariate time series?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [August 5, 2021, 11:39am UTC](https://discourse.julialang.org/t/the-question-of-forecasting/65858/6 "2021-08-05T11:39:39Z")

</div>

> [@abcde](#):
>
> Can everyone help me?

Do you have a concrete model and methodology in mind? Forecasting is a very general term.

---

<div class="post-metadata">

**Author:** ![abcde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abcde/32/16180_2.png) [@abcde](https://discourse.julialang.org/u/abcde)\
**Post date:** [August 5, 2021, 11:58am UTC](https://discourse.julialang.org/t/the-question-of-forecasting/65858/7 "2021-08-05T11:58:43Z")

</div>

Meteorological conditions are the main objective factors affecting the operation mode of the power system. Meteorological historical data and the corresponding power flow data are used to train my neural network and analyze the possible operation mode of the power system in the future through weather forecast.  
I want to combine LSTM training with quantile prediction and other methods to make probability prediction for dimensions of power system related data, and get prediction curves of different confidence intervals of these dimensions.See the figure below:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/0/7096033773ac31fd51b08222152a32a1b542550c.jpeg)

I also studied the Flux and MLJ documentation, but there seems to be no method that can be used for probabilistic prediction.
