# Prediction using SARIMAX

It is interesting to come across this SARIMAX prediction model suggested by Ollama model qwen2.5:13b.

Here is the prediction for the existing maximum temperatures.

[![sarimax_max.png](https://bookstack.dtomus.com/uploads/images/gallery/2025-01/scaled-1680-/sarimax-max.png)](https://bookstack.dtomus.com/uploads/images/gallery/2025-01/sarimax-max.png)

And here we have the predicted minimum temperatures.

[![sarimax_min.png](https://bookstack.dtomus.com/uploads/images/gallery/2025-01/scaled-1680-/sarimax-min.png)](https://bookstack.dtomus.com/uploads/images/gallery/2025-01/sarimax-min.png)

It seems pretty accurate.

And the prediction for the next 240 years. The model can't take date beyond 2240.

[![sarimax_pred.png](https://bookstack.dtomus.com/uploads/images/gallery/2025-01/scaled-1680-/sarimax-pred.png)](https://bookstack.dtomus.com/uploads/images/gallery/2025-01/sarimax-pred.png)