Date prediction - periodic recurrence
-
16-10-2019 - |
Question
If I have some data regarding the occurence of an event on a certain date and some other variables regarding it (think fe.: I have data on which dates it rained, and some addtitional data like temperature, atmospheric pressure etc.), which is the most appropriate model for predicting on which day the event is going to happen again? Or, to be more precise, I'd like to predict the frequency of said event, to know in how many days it's going to occur again. I mostly use Python with the numpy, sklearn libraries, and I'm interested which of its models fits my use case best.
Thank you!
Solution
You should read that :
http://www.analyticsvidhya.com/blog/2016/02/time-series-forecasting-codes-python/
and take a look at that :
http://statsmodels.sourceforge.net/0.6.0/generated/statsmodels.tsa.arima_model.ARIMA.html
The endog
argument is your time serie and the exog
is your other data