Skip to content

codes for the paper Assessing Dengue Forecasting Methods: A Comparative Study of Statistical Models and Machine Learning Techniques in Rio de Janeiro, Brazil

Notifications You must be signed in to change notification settings

ChenXiang1998/Assessing-Dengue-Forecasting-Methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Assessing-Dengue-Forecasting-Methods

codes for the paper Assessing Dengue Forecasting Methods: A Comparative Study of Statistical Models and Machine Learning Techniques in Rio de Janeiro, Brazil

You can find the pre-print version of the paper here.

There are 2 parts of the models: first is using the cases itself (no-cov); the other is including covariates (cov).

no-cov

The data is in data.csv, only including time and the dengue cases.

Main function is testing.R.

All the models are in the predict_functions.R.

Using ar_prediction_result <- predict_AR(data, window_size) can get a table of results including the real cases and predicting cases.

Then using print(combine_metrics(ar_prediction_result)) you can get a table of all 3 metrics of the model: MAE, MAPE, and RMSE.

Cov

The data is stored in data_with_covarites.csv, including time, cases, humidity and temperature.

The main function is testing.R, you can call sarimax_prediction_result <- predict_sarimax(data, window_size) to get the same result table of real cases and predicting cases, the same as the no-cov.

Then using the same function print(combine_metrics(sarimax_prediction_result)) you can get the metrics of MAE, MAPE, and RMSE.

About

codes for the paper Assessing Dengue Forecasting Methods: A Comparative Study of Statistical Models and Machine Learning Techniques in Rio de Janeiro, Brazil

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages