Logistic Regression Based Next-Day Rain Prediction Model
Ogochukwu Ejike, David Ndzi, Abdul-Hadi Al-Hassani
Abstract
Ogochukwu Ejike, David Ndzi, Abdul-Hadi Al-Hassani
Abstract
Rain prediction is challenging due to the complex combination of atmospheric factors. This paper presents the application of logistic regression modelling to predict rainfall the next day, using weather parameters from previous days. One year of weather data (temperature, pressure, humidity, sunshine, evaporation, cloud cover, wind direction, and wind speed) from Canberra, Australia, has been used to develop the logistic regression model. The best fit logistic regression models are selected using Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC), and Least Absolute Shrinkage and Selection Operator (LASSO) based on feature selection for predictive modelling. These models are evaluated using Area Under the receiver operating characteristics Curve (AUC) and Hosmer-Lemeshow test to determine each model's accuracy and goodness of fit to predict rainfall occurrence the next day. The likelihood of rainfall the next day has been interpreted based on the calculated odds of the selected independent weather parameters. The result shows that using logistic regression (AIC Backward), rainfall the next day can be predicted with 87% accuracy, provided that the appropriate weather parameters are chosen.
OpenAlex reports 7 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Rain prediction is challenging due to the complex combination of atmospheric factors. This paper presents the application of logistic regression modelling to predict rainfall the next day, using weather parameters from previous days. One year of weather data (temperature, pressure, humidity, sunshine, evaporation, cloud cover, wind direction, and wind speed) from Canberra, Australia, has been used to develop the logistic regression model. The best fit logistic regression models are selected using Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC), and Least Absolute Shrinkage and Selection Operator (LASSO) based on feature selection for predictive modelling. These models are evaluated using Area Under the receiver operating characteristics Curve (AUC) and Hosmer-Lemeshow test to determine each model's accuracy and goodness of fit to predict rainfall occurrence the next day. The likelihood of rainfall the next day has been interpreted based on the calculated odds of the selected independent weather parameters. The result shows that using logistic regression (AIC Backward), rainfall the next day can be predicted with 87% accuracy, provided that the appropriate weather parameters are chosen.
Key concepts: Akaike information criterion, Bayesian information criterion, Logistic regression, Lasso (programming language), Statistics, Feature selection, Wind speed, Weather forecasting