Statistics for Machine Learning-Based Time Series Modelling with Applications for Forecasting Regional Wind Power and Air Quality Index