{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,29]],"date-time":"2026-04-29T01:21:27Z","timestamp":1777425687807,"version":"3.51.4"},"reference-count":27,"publisher":"MDPI AG","issue":"4","license":[{"start":{"date-parts":[[2016,11,9]],"date-time":"2016-11-09T00:00:00Z","timestamp":1478649600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>In this work, a cross-validation procedure is used to identify an appropriate Autoregressive Integrated Moving Average model and an appropriate state space model for a time series. A minimum size for the training set is specified. The procedure is based on one-step forecasts and uses different training sets, each containing one more observation than the previous one. All possible state space models and all ARIMA models where the orders are allowed to range reasonably are fitted considering raw data and log-transformed data with regular differencing (up to second order differences) and, if the time series is seasonal, seasonal differencing (up to first order differences). The value of root mean squared error for each model is calculated averaging the one-step forecasts obtained. The model which has the lowest root mean squared error value and passes the Ljung\u2013Box test using all of the available data with a reasonable significance level is selected among all the ARIMA and state space models considered. The procedure is exemplified in this paper with a case study of retail sales of different categories of women\u2019s footwear from a Portuguese retailer, and its accuracy is compared with three reliable forecasting approaches. The results show that our procedure consistently forecasts more accurately than the other approaches and the improvements in the accuracy are significant.<\/jats:p>","DOI":"10.3390\/a9040076","type":"journal-article","created":{"date-parts":[[2016,11,9]],"date-time":"2016-11-09T10:09:39Z","timestamp":1478686179000},"page":"76","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":24,"title":["A Procedure for Identification of Appropriate State Space and ARIMA Models Based on Time-Series Cross-Validation"],"prefix":"10.3390","volume":"9","author":[{"given":"Patr\u00edcia","family":"Ramos","sequence":"first","affiliation":[{"name":"INESC Technology and Science, Manufacturing Systems Engineering Unit, 4200-465 Porto, Portugal"},{"name":"School of Accounting and Administration of Porto, Polytechnic Institute of Porto, 4465-004 S\u00e3o Mamede de Infesta, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8516-6418","authenticated-orcid":false,"given":"Jos\u00e9","family":"Oliveira","sequence":"additional","affiliation":[{"name":"INESC Technology and Science, Manufacturing Systems Engineering Unit, 4200-465 Porto, Portugal"},{"name":"Faculty of Economics, University of Porto, 4200-464 Porto, Portugal"}]}],"member":"1968","published-online":{"date-parts":[[2016,11,9]]},"reference":[{"key":"ref_1","unstructured":"Alon, I. (1997, January 24\u201326). Forecasting aggregate retail sales: The Winters\u2019 model revisited. Proceedings of the 1997 Midwest Decision Science Institute Annual Conference, Indianapolis, IN, USA."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"147","DOI":"10.1016\/S0969-6989(00)00011-4","article-title":"Forecasting aggregate retail sales: A comparison of artificial neural networks and traditional method","volume":"8","author":"Alon","year":"2001","journal-title":"J. Retail. Consum. Serv."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"107","DOI":"10.1108\/09556220310470097","article-title":"Forecasting women\u2019s apparel sales using mathematical modeling","volume":"15","author":"Frank","year":"2003","journal-title":"Int. J. Cloth. Sci. Technol."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"217","DOI":"10.1016\/S0925-5273(03)00068-9","article-title":"A comparative study of linear and nonlinear models for aggregate retail sales forecasting","volume":"86","author":"Chu","year":"2003","journal-title":"Int. J. Prod. Econ."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"126","DOI":"10.1016\/j.asoc.2005.06.001","article-title":"Improved supply chain management based on hybrid demand forecasts","volume":"7","author":"Aburto","year":"2007","journal-title":"Appl. Soft Comput."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"501","DOI":"10.1016\/j.ejor.2003.08.037","article-title":"Neural network forecasting for seasonal and trend time series","volume":"160","author":"Zhang","year":"2005","journal-title":"Eur. J. Oper. Res."},{"key":"ref_7","unstructured":"Kuvulmaz, J., Usanmaz, S., and Engin, S.N. (2005). Advances in Artificial Intelligence, Springer."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Box, G., Jenkins, G., and Reinsel, G. (2008). Time Series Analysis, Wiley. [4th ed.].","DOI":"10.1002\/9781118619193"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008). Forecasting with Exponential Smoothing: The State Space Approach, Springer.","DOI":"10.1007\/978-3-540-71918-2"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Pena, D., Tiao, G.C., and Tsay, R.S. (2001). A Course in Time Series Analysis, John Wiley & Sons.","DOI":"10.1002\/9781118032978"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"3923","DOI":"10.1080\/00207540110072236","article-title":"Improving the supply chain performance: Use of forecasting models versus early order commitments","volume":"39","author":"Zhao","year":"2001","journal-title":"Int. J. Prod. Res."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1002\/for.3980040103","article-title":"Exponential smoothing: The state of the art","volume":"4","author":"Gardner","year":"1985","journal-title":"J. Forecast."},{"key":"ref_13","unstructured":"Makridakis, S., Wheelwright, S., and Hyndman, R. (1998). Forecasting: Methods and Applications, John Wiley & Sons. [3rd ed.]."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"637","DOI":"10.1016\/j.ijforecast.2006.03.005","article-title":"Exponential smoothing: The state of the art-Part II","volume":"22","author":"Gardner","year":"2006","journal-title":"Int. J. Forecast."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Aoki, M. (1987). State Space Modeling of Time Series, Springer.","DOI":"10.1007\/978-3-642-96985-0"},{"key":"ref_16","unstructured":"Hyndman, R.J., and Athanasopoulos, G. (2013). Forecasting: Principles and Practice, OTexts."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"297","DOI":"10.1093\/biomet\/65.2.297","article-title":"On a measure of lack of fit in time series models","volume":"65","author":"Ljung","year":"1978","journal-title":"Biometrika"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Brockwell, P.J., and Davis, R.A. (2002). Introduction to Time Series and Forecasting, Springer. [2nd ed.].","DOI":"10.1007\/b97391"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Shumway, R.H., and Stoffer, D.S. (2011). Time Series Analysis and Its Applications: With R Examples, Springer. [3rd ed.].","DOI":"10.1007\/978-1-4419-7865-3"},{"key":"ref_20","unstructured":"Wei, W.S. (2005). Time Series Analysis: Univariate and Multivariate Methods, Addison Wesley. [2nd ed.]."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"679","DOI":"10.1016\/j.ijforecast.2006.03.001","article-title":"Another look at measures of forecast accuracy","volume":"22","author":"Hyndman","year":"2006","journal-title":"Int. J. Forecast."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"40","DOI":"10.1214\/09-SS054","article-title":"A survey of cross-validation procedures for model selection","volume":"4","author":"Arlot","year":"2010","journal-title":"Stat. Surv."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"1","DOI":"10.18637\/jss.v027.i03","article-title":"Automatic time series forecasting: the forecast package for R","volume":"27","author":"Hyndman","year":"2008","journal-title":"J. Stat. Softw."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"159","DOI":"10.1016\/0304-4076(92)90104-Y","article-title":"Testing the null hypothesis of stationariry against the alternative of a unit root","volume":"54","author":"Kwiatkowski","year":"1992","journal-title":"J. Econom."},{"key":"ref_25","unstructured":"R Core Team (2016). R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing."},{"key":"ref_26","unstructured":"Hyndman, R.J. Forecast: Forecasting Functions for Time Series and Linear Models. Available online: http:\/\/github.com\/robjhyndman\/forecast."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"570","DOI":"10.1287\/inte.1070.0309","article-title":"Against your better judgment? How organizations can improve their use of management judgment in forecasting","volume":"37","author":"Fildes","year":"2007","journal-title":"Interfaces"}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/9\/4\/76\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T19:35:05Z","timestamp":1760211305000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/9\/4\/76"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,11,9]]},"references-count":27,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2016,12]]}},"alternative-id":["a9040076"],"URL":"https:\/\/doi.org\/10.3390\/a9040076","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016,11,9]]}}}