Modelling and Forecasting of Complex Multiple Seasonalities in Categorical Time Series using TSOLR and ISOLR Models

Anirban Ghosh, Raju Maiti · 2026

Read Modelling and Forecasting of Complex Multiple Seasonalities in Categorical Time Series using TSOLR and ISOLR Models by Anirban Ghosh, Raju Maiti (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-03954.txt.

Introduction

Anirban Ghosh and Raju Maiti propose a method models several seasonalities in categorical series, illustrated with air quality index data. Categorical air quality data often show distinct seasonal patterns at several rates that standard models miss. The method models seasonalities with Fourier series and indicator functions, inspired by TBATS methodology, accommodating the ordinal nature of kinds while capturing daily, weekly, and yearly cycles explicitly. On Kolkata air quality data it outperforms Markov and machine learning comparisons.

Catalog record

CREATORAnirban Ghosh, Raju Maiti
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE57956
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.03954

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Modelling and Forecasting of Complex Multiple Seasonalities in Categorical Time Series using TSOLR and ISOLR Models Anirban Ghosh, Raju Maiti Abstract Multiple seasonalities have been widely studied in continuous time series using models such as TBATS, for instance in electricity demand forecasting. However, their treatment in categorical time series, such as air quality index (AQI) data, remains limited. Categorical AQI often exhibits distinct seasonal patterns at multiple frequencies, which are not captured by standard models. In this paper, we propose a framework that models multiple seasonalities using Fourier series and indicator functions, inspired by the TBATS methodology. The approach accommodates the ordinal nature of AQI categories while explicitly capturing weekly, monthly and yearly seasonal cycles. Simulation studies demonstrate the empirical consistency of parameter estimates under the proposed model. We further illustrate its applicability using real categorical AQI data from Kolkata and compare forecasting performance with Markov models and machine learning methods. Results indicate that our approach effectively captures complex seasonal dynamics and provides improved predictive accuracy. The proposed methodology offers a flexible and interpretable framework for analyzing categorical time series exhibiting multiple seasonal patterns, with potential applications in air quality monitoring, energy consumption and other environmental domains. Keywords: Air Quality Index; Forecasting; Categorical Time Series; Multiple Seasonality; Fourier series; TBATS model. 1 Introduction Seasonality refers to the presence of systematic and repeating patterns in a time series at fixed intervals. In the context of continuous-valued series, a single seasonality arises when there is one dominant repeating cycle, such as the daily pattern in hourly electricity demand or the annual cycle in temperature data. More complex time series, however, often exhibit multiple seasonalities, where different seasonal cycles coexist at different frequencies. A prominent example is electricity consumption, which may display daily, weekly and annual seasonal patterns simultaneously. Models such as TBATS ( [ 18 ] ) and its variants ( [ 26 , 19 , 24 ] ) have been specifically developed to capture such multi-seasonal structures in continuous time series. When the time series is categorical, such as daily Air Quality Index (AQI) data categorized into Good, Satisfactory, Moderate, Poor, Very Poor and Severe, the definition and treatment of seasonality becomes less straightforward. In this context, seasonality may be understood as systematic variation in the probability distribution of categories across temporal cycles. For example, in many Indian cities, the probability of observing Unhealthy AQI levels is higher during the winter months compared to the monsoon season. Similarly, at finer temporal resolutions, one might observe daily or weekly patterns in the distribution of categories. Extending this reasoning, multiple seasonalities in categorical time series refer to the coexistence of such repeating patterns across more than one time scale, such as daily, weekly and annual cycles in AQI categories. Modeling seasonality in categorical time series presents unique challenges, as standard approaches designed for continuous data cannot be directly applied. Existing methods include Markov chain models that capture transition probabilities between categories, generalized linear models for categorical responses (e.g., logistic regression with seasonal covariates) and more recently, machine learning methods such as random forests or recurrent neural networks. However, these methods often fail to explicitly account for multiple seasonal cycles. Incorporating flexible representations such as Fourier series expansions or indicator functions into categorical models provides a promising direction for capturing multi-seasonal structures, inspired by the success of models like TBATS in the continuous domain. To address these challenges, we propose an extension of the TBATS framework tailored for categorical time series. Specifically, we employ a proportional odds ordinal logistic regression model ( [ 1 ] ) to account for the ordered nature of AQI categories, while incorporating Fourier series terms as covariates to flexibly represent multiple seasonal patterns at daily, weekly and annual frequencies. This design preserves the interpretability of seasonal effects, as the Fourier coefficients directly reflect the contribution of each cycle, while ensuring consistency with the ordinal data structure. As an alternative to Fourier-based representations, multiple seasonalities can also be modeled using indicator functions that directly encode recurring time segments. For example, separate dummy variables may be introduced for each hour of the day, day of the week, or month of the year, thereby capturing seasonal effects in a fully nonparametric manner. Unlike Fourier series, which approximate seasonal cycles smoothly using sinusoidal functions, indicator functions allow for sharp changes and irregular seasonal shapes that are often observed in practice, such as sudden spikes in AQI levels during specific festival days or winter months. This approach provides greater flexibility in representing heterogeneous seasonal effects across categories, though it typically requires a larger number of parameters and may risk overfitting unless carefully regularized. Nevertheless, indicator-based modeling offers a complementary perspective to Fourier expansions and can be especially useful when the seasonal structure is highly irregular or difficult to approximate with smooth harmonic terms. The remainder of this article is structured as follows. Section 2 provides a comprehensive review of existing research on AQI modeling and forecasting techniques. Section 3 describes the dataset and includes an exploratory analysis that motivates the modeling approach. The proposed ordinal logistic regression models are introduced and detailed in Section 4 . Section 5 details the estimation procedure of the proposed models. Some existing methods for modeling and forecasting categorical time series data are summarized in Section 6 . Section 7 discusses the procedure for selecting order of the model based on various auto-association measures. Simulation experiments assessing the estimation accuracy and forecasting capabilities of the proposed models are reported in Section 8 . Section 9 presents AQI data analysis results. Finally, Section 10 concludes the article and suggests directions for future research. 2 Literature Review Numerous studies have focused on modeling air quality using time series techniques, with most treating AQI as a continuous variable and applying models such as ARIMA, VAR and state-space approaches ( [ 23 , 15 , 9 , 17 ] ). While these methods are effective for continuous data, AQI is commonly reported in ordinal categories for public health communication, making continuous-value models less directly interpretable. Research on categorical time series models remains relatively limited ( [ 16 , 28 ] ). Classical Markov chain models have been widely used to capture transitions between AQI categories, but they suffer from exponential growth in the number of parameters as the state space increases. To mitigate this, extensions such as discrete ARMA (DARMA) processes ( [ 10 , 11 , 12 ] ), mixture transition distribution (MTD) models ( [ 22 , 3 ] ), Pegram’s operator-based ARMA process ( [ 21 , 4 ] ) and regime-switching DARMA models ( [ 29 ] ) have been proposed. However, these approaches largely fail to address multiple seasonalities, which are a defining feature of urban AQI series, nor do they flexibly incorporate exogenous drivers such as meteorological variables. In parallel, machine learning methods, like random forests, support vector machines and deep learning, have shown strong predictive performance in air quality forecasting (e.g., [ 8 , 20 , 5 ] ). Yet, these models are often criticized for limited interpretability and a lack of explicit representation of seasonal structures. By contrast, ordinal logistic regression ( [ 1 , 7 ] ) offers a statistically grounded and interpretable framework

Read the complete text