Global Models and Neural Networks for Forecasting Tax Revenue in the Cantons of Ecuador
Knowing how much tax will be collected each month in each canton supports budget planning, intergovernmental transfers and the targets of the tax administration. These forecasts are usually produced with a separate statistical model for each canton, which in small cantons must be estimated from short and highly volatile series. This study compares that practice with an alternative: a single model trained on all the cantons of Ecuador simultaneously, in three versions, namely, a linear regression and two neural networks. The data are the open records of Ecuador’s Internal Revenue Service on tax collection, declared sales and active taxpayers. The study has five stages: building the database and two representations of each canton’s history; comparing the models in a rolling out-of-sample design in which each month is forecast using only earlier data; tuning the network configuration with a bio-inspired evolutionary algorithm and comparing it with random search; weighting the cantons by size; and explaining which variables drive each forecast. All computations were carried out in Python. When each canton’s history was expressed relative to its own level, the single global model outperformed the per-canton model for total revenue, value-added tax and income tax, with statistically significant differences; the advantage held for cantons of all sizes, except for value-added tax in the largest cantons, where the errors were practically equal. Per-canton models given the same predictors did not reproduce this advantage, which points to pooling the cantons as its source, and the advantage held when the information was lagged two months to reflect publication delays. The neural networks alone did not outperform the linear regression; averaging them with it reduced the error significantly for total revenue and income tax after adjustment across the three taxes. Weighting the cantons by size traded canton-level accuracy for accuracy of the national total, and no weight was best for all taxes. The result is a reproducible tool, available as a web calculator, for anticipating revenue and evaluating scenarios such as an amnesty on interest and penalties.
Authors
- Myriam Alexandra Urbina Poveda (ORCID: https://orcid.org/0000-0002-5125-0865)
- Darío José Mendoza Chipantasi (ORCID: https://orcid.org/0000-0002-7098-8507)
Institutions
- Universidad de las Fuerzas Armadas ESPE (EC)
Publication Details
- Journal
- Econometrics
- Published
- 2026-12-03
- DOI
- https://doi.org/10.3390/econometrics14040062
- Primary Topic
- Forecasting Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00