Next Article in Journal
Inequalities Including Fractional Integral Operators of General Riemann–Liouville for an Abstract Convex Function and Their Applications
Next Article in Special Issue
Exploring the Use of Functional Data for Binary Classifications: The Case of Tissue Doppler Imaging in Cardiotoxicity Related-Therapy Cardiac Dysfunction Detection
Previous Article in Journal
Some New Applications of the Mellin Transform Involving the Lambert Transforms and Implications for the Riemann Hypothesis
Previous Article in Special Issue
Multi-Task CNN-LSTM Modeling of Zero-Inflated Count and Time-to-Event Outcomes for Causal Inference with Functional Representation of Features
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Data-Driven Modeling of Web Traffic Flow Using Functional Modal Regression

Department of Mathematics, College of Science, King Khalid University, Abha 62223, Saudi Arabia
*
Author to whom correspondence should be addressed.
Axioms 2025, 14(11), 815; https://doi.org/10.3390/axioms14110815
Submission received: 16 September 2025 / Revised: 23 October 2025 / Accepted: 29 October 2025 / Published: 31 October 2025
(This article belongs to the Special Issue Functional Data Analysis and Its Application)

Abstract

Real-time control of web traffic is a critical issue for network operators and service providers. It helps ensure robust service and avoid service interruptions, which has an important financial impact. However, due to the high speed and volume of actual internet traffic, standard multivariate time series models are inadequate for ensuring efficient real-time traffic management. In this paper we introduce a new model for functional time series analysis, developed by combining a local linear smoothing approach with an L 1 -robust estimator of the quantile’s derivative. It constitutes an alternative, robust estimator for functional modal regression that is adequate to handle the stochastic volatility of high-frequency of web traffic data. The mathematical support of the new model is established under functional dependent case. The asymptotic analysis emphasizes the functional structure of the data, the functional feature of the model, and the stochastic characteristics of the underlying time-varying process. We evaluate the effectiveness of our proposed model using comprehensive simulations and real-data application. The computational results illustrate the superiority of the nonparametric functional model over the existing conventional methods in web traffic modeling.
MSC:
62G08; 62G10; 62G35; 62G07; 62G32; 62G30; 62H12

1. Introduction

The internet network has become an indispensable tool of our modern digital life. It is important for global commerce, communication, and all the daily services in our life. At this stage, the real-time management of web traffic is vital. The traditional statistical models are unable to fit its underlying structure in real time. Instead, functional data analysis (FDA) offers a promising alternative way. It treats the temporal dynamic of flows as a continuous process rather than a discrete random variable. In this context, the robust modal regression studied in this contribution provides flexible and accurate data-driven approach to monitor and forecast the fluctuations in web traffic.
There exist various network traffic prediction models proposed in the statistics literature. However, the efficiency of the prediction method is related to the prediction horizon, computational costs, prediction error rate, and response times. Based on the multivariate data analysis, the authors of [1] developed a predictive system that integrates decision trees, neural networks, and support vector machines to analyze Apple (AAPL) stock. Their findings indicate that the system achieved an accuracy rate of 85% in forecasting daily stock movements. Ref. [2] highlighted the nonlinear and time-varying characteristics of network traffic by treating the flow as a temporal process. The technical merits and limitations of various time series forecasting models for web traffic are compared in [3].
On the other hand, Functional Time Series Data Analysis (FTSDA) is an emerging branch of functional data analysis (FDA). The approach was first popularized by Bosq’s monograph [4], which focused on the linear model in functional spaces. The importance of the FTSDA topics is justified by the wide range of applications from diverse fields. We point out that the framework of this contribution is the nonparametric analysis of functional time series. Early results in this direction were provided by [5], who established the almost complete consistency of the kernel estimator for the regression operator under mixing assumptions. At this stage, ref. [6] proved the asymptotic normality of the kernel estimator of the regression operator. Readers interested in the (FTSDA) topic may refer to ref. [7] for the ergodic case, ref. [8] for the quasi-associated case, and ref. [9] for the long-memory dependence case.
Usually the prediction problem in FTSDA is resolved using the standard regression based on the conditional expectation. In contrast to this conventional regression methodologies, the modal and the quantile regression are more linked to the volatility of the data as well as its conditional distribution. They are particularly efficient when conditional distributions exhibit asymmetry, multimodality, or are influenced by the heavy distribution of the white noise. Other scenarios in which the mentioned models are better than the conditional mean are listed in [10].
The first results on nonparametric mode estimation were developed by [5]. They constructed a prediction model from the derivative of the conditional density. They stated the almost complete consistency (a.cc.) of the kernel estimator for the modal regression. While the L p of the functional Nadaraya–Watson (NW) estimator was derived by [11]. Ref. [12] established stochastic consistency under ergodicity. The conditional mode estimation in a functional random field case is developed by [13]. They proved the complete convergence and stated the convergence rate of the constructed estimator, while the asymptotic distribution of the spatial mode regression is established by [14]. Additional theoretical and applied ideas in FDA, including expansions to real-world areas, are presented in [15].
In the same direction, quantile regression has attracted growing attention in the FTSDA branch. The first studies belong to functional linear modeling. It was developed by [16,17], which provide comprehensive overviews of recent advances. The moment integrability of the functional Nadaraya–Watson was developed by [18]. For more recent developments, we refer to [19]. The estimation of the conditional mode through quantile regression was first introduced in functional data analysis (FDA) by [20]. In their work, the authors established the pointwise consistency of the robust estimator under the independence structure. For extensions of this result, we refer the reader to [21,22], where the generalizations to functional time series data (FTSDA) and ergodic FTSDA, respectively, are developed.
While previous cited studies have focused on the Local Constant Approach (LCA), the main aim of contribution of this work is to adopt the Local Linear Estimation Method (LLEM). This method offers more advantages over the LCA estimator, namely, its ability to improve estimation efficiency by reducing bias. This improvement was first observed by [23] in the multivariate setting and extended to functional statistics by [24].
From a bibliographical point of view, the LLEM has been extensively studied in the context of functional statistics. For instance, ref. [25] established the quadratic consistency of the LLEM estimator for regression operators in Hilbert spaces. Next, Ref. [26] proposed a more general estimator usable for Banachic functional covariates, while [27] introduced an alternative approach based on the inverse local covariance operator. Ref. [28] developed functional LLEM fitting for nonparametric conditional models, proving both pointwise and uniform almost-complete (a.co.) consistency for the conditional density and its derivatives. The local linear estimator of the quantile regression is proposed by [29]. It is constructed using the L 1 -method. More recently, Ref. [30] developed the LLEM of the conditional mode under the assumption of independence.
The present work aims to highlight and evaluate the practical feasibility of the robust local linear mode estimator for predicting the total web traffic at a given future time horizon. Clearly, web traffic data often exhibit strong seasonality, asymmetric features, and high volatility, reflecting daily user cycles or special events. For all these reasons the nonparametric modal regression is very adequate for this kind of data. In fact traditional time series approaches, which typically treat traffic as discrete observations, are inappropriate to fit these complex features, leading to suboptimal modeling. However, FTSDA approach treats traffic as continuous curves over time, allowing to take into account the mentioned characteristics of web traffic. To enhance the reliability of the functional forecasting algorithm, we have employed the robust LLEM of the modal regression, which permits to explore the effect of the smooth variations and the asymmetric behaviors of the flows data. Indeed, in contrast, our predictor combines the robustness of L 1 regression with the efficiency of LLE estimation, making it more resistant to outliers while improving its predictive accuracy in functional statistics.
The accuracy of the predictor is confirmed through the establishment of the almost sure convergence of the estimator under standard assumptions and provide precise rates of convergence. A second advantage of the proposed predictor is its ability to improve the robustness of the conditional mode estimation without reducing accuracy. This gain in robustness is particularly valuable for predictive tasks, as it provides a stable predictor that retains its efficiency even when ideal assumptions are not satisfied.
Finally, we point out that the prediction of traffic flows is particularly valuable for resource optimization and anomalies detection related to cyberattacks or system failures. For large-scale platforms such as e-commerce sites, cloud services, and streaming networks, accurately forecasting web traffic flows is vital. Thus the integration temporal dynamics through the functional is crucial, allowing reliable predictions and help to provide more performance for data-driven network management.
The structure of this paper is as follows: Section 2 introduces the FTSDA framework and the local linear modal regression. Section 3 presents the principal assumptions and establishes the main theoretical results. Section 4 investigates the finite-sample performance of our estimator through both simulation experiments and applications to real data. Section 5 is devoted to highlighting the potential impact of this contribution in the field of functional data analysis. Finally, the Appendix A contains the detailed proofs of the intermediate results, and Appendix B is devoted to the notation box and the list of acronyms.

2. FTSDA Framework and the Local Linear Modal Regression

As previously emphasized, the main purpose of this paper is to develop a robust predictor to forecast the total traffic flows over a time frame. From a practical point of view, the prediction of total flows gives a better understanding of network demands. It is crucial for planning bandwidth, avoiding slowdowns, and optimizing digital resources. In particular, good traffic forecasts is primordial to maintain reliable services, reduce costs and improve user satisfaction. We formulate this problem by assuming that the observed web traffic flows at specific IP address and time interval [ 0 , T ] is represented by a process W ( t ) , t [ 0 , T ] . So, the objective is to predict the total traffic over a future horizon of length h, expressed as
T T + h W ( t ) d t .
Under this consideration the FTSDA framework is constructed by cutting the observed process ( W ( t ) t [ 0 , T ] ) at a small interval, thereby generating n dependent functional random variables ( D i , F i ) i = 1 , , n defined by the following:
t [ 0 , T ] , F i ( t ) = W ( ( ( i 1 ) T + t ) / n ) and D i = T T + h F i ( t ) d t .
In the context of predicting total web traffic, the dependence of the FTSDA framework is characterized through the strong mixing property, which is important to provide a theoretical foundation, allowing the validity of statistical inference when modeling dependent functional data. Since web traffic flows naturally exhibit temporal dependence, seasonality, and volatility, assuming a strong mixing framework permits us to establish consistency and convergence results for the proposed functional time series estimator of total traffic. Theoretically the strong mixing property is defined
M i x ( n ) = sup A F 1 k sup B F k + n | I P ( A B ) I P ( A ) I P ( B ) | 0 .
F 1 k is the σ -algebra generated by ( F 1 , D 1 ) , , ( F k , D k ) , and F k + n is the σ -algebra generated by ( F k + n , D k + n ) , ( F k + n + 1 , D k + n + 1 ) , which are assumed to be stationary.
It is worth noting that the choice of this FTSDA framework is motivated by the fact that the strong mixing property permits to include many usual cases. For instance, it is well documented that ARMA processes are geometrically strongly mixing [31], EXPAR models [32] or ARCH processes [33].
A second important advantage of this contribution is the use of the conditional distribution of D i given the function F i to explore the relationship between past trajectory and future total traffic. In this framework, we define the conditional mode (CM) as
R M ( F ) = arg max d S C D ( d F i = F ) ,
where C D (respectively C C ) denotes the conditional density (respectively, the conditional cumulative function) of D i given F i and S is a given compact set such that the conditional mode exists and is uniquely defined. The conditional mode provides a robust and informative summary of the conditional distribution, offering an effective tool for prediction, namely, in the presence of asymmetry or heavy tailed distribution of the data. Moreover, to increase this feature of robustness, we express the CM function through the conditional quantile C Q by the following:
R M ( F ) = C Q ( p R M , F ) , where p R M = arg min p [ a F , b F ] C Q ( p , F ) .
where C Q ( p , F ) = C Q ( p , F ) p is the derivative of the conditional quantile and [ a F , b F ] = C D 1 ( S | F ) . This can be obtained by a simple analytical argument (see [22]). Therefore, the LLEM estimator of the function R M is related to the estimator of C Q . The latter is introduced in FDA by [34] and is based on approximating C Q ( p , · ) in a neighborhood N F by the following:
C Q ( p , Z ) A + B 0 T | F ( t ) Z ( t ) | 2 d t Z N F ,
where A = C Q ( p , F ) . The coefficients ( A , B ) are estimated by
min ( A , B ) R 2 i = 1 n L p ( D i A B 0 T | F ( t ) F i ( t ) | 2 ) Ψ M ( F , F i ) f n ,
where L p ( y ) = y ( p 1 I { y < 0 } ) is the quantile loss function and Ψ is a kernel function, fn is a bandwidth sequence and M is a given locating function in the functional space of (Fi)i. We point out that this issue has been discussed in the monograph [5]. It is noted that using a semi-metric space is often more suitable in practice. It permits to consider a large class of functional spaces and offers the possibility to improve the performance of the predictor by selecting an appropriate semi-metric among a specific family of metric. Moreover, the monograph is so precise that the smoothness of functional data strongly affects the choice of metric. In particular the FPCA-based metric is particularly appropriate in cases where the data are discontinuous. In our contribution we adopt the more general case studied by [26]. It follows that
R M ^ ( F ) = C Q ^ ( p ^ R M , F ) where p ^ R M = arg min p [ a F , b F ] C Q ^ ( p , F ) ,
with C Q ^ being the estimator of the derivative of the conditional quantile defined by
C Q ^ ( p , F ) = C Q ^ ( p + r n , F ) C Q ^ ( p r n , F ) 2 r n ,
where C Q ^ = A ^ minimiser of (5), and rn is a positive bandwidth-like sequence.

Algorithm

At the end, let us summarize the step-by-step flow of the predictor in practice.
  • Compute M ( F , F i ) ;
  • Fit local linear quantile regressions over a coarse grid in p;
  • Estimate C Q p ( p , F ) by C Q ^ ( p , F ) ;
  • Select p ^ R M where C Q ^ ( p , F ) is smallest;
  • Output C Q ^ ( p ^ R M , F ) .
Clearly this estimator is directly implementable using the quantile pinball loss function, the regressors F i and the weights Ψ M ( F , F i ) f n . However, mathematical support is essential to establish the estimator’s feasibility. The theoretical foundation of our approach is established by proving the complete consistency of R M ^ ( F ) by expressing the convergence rate under the dependence condition. To the best of our knowledge, this is the first contribution that developed the local linear estimation of the conditional mode within the framework of functional time series data.

3. Mathematical Support

Throughout this paper, we shall use C and C to denote strictly positive generic constants. For f < f , we introduce the set B ( F , f , f ) = F F : f < M ( F , F ) < f , and define P X B ( F , f , f ) = ξ F ( f , f ) > 0 . In what follows, we outline the conditions that are essential for demonstrating the almost complete convergence of R M ^ ( F ) toward its theoretical counterpart R M ( F ) .
(T1)
For any f > 0 , ξ F ( f ) = ξ F ( f , f ) > 0 , and there exists a function γ F ( · ) such that
for all t ( 1 , 1 ) , lim f 0 ξ F ( t f ) ξ F ( f ) = γ F ( t )
(T2)
The function C Q ( · , F ) is of class C 3 ( [ a F , b F ] ) , and C C ( · | F ) = satisfies the following Lipschitz condition:
for all ( F 1 , F 2 ) N F , | C C ( t | F 1 ) C C ( t | F 2 ) | C | M b ( F 1 , F 2 ) | , and for some b > 0 ,
where N F denotes a neighborhood of F , and C C is the conditional cumulative function of D i given F i .
(T3)
The sequence ( ( F i , D i ) ) i I N satisfies a > 5 , c > 0 : n I N , M i x ( n ) c n a and
I P ( F i , F j ) B ( F , f , f ) × B ( F , f , f ) = O ( ξ F ( f ) ) ( a + 1 ) / a > 0 .
(T4)
The kernel F is a positive and differentiable function, which is supported within ( 1 , 1 ) , and such that
Ψ ( 1 ) 1 1 Ψ ( t ) γ F ( t ) d t Ψ ( 1 ) 1 1 ( t Ψ ( t ) ) γ F ( t ) d t Ψ ( 1 ) 1 1 ( t Ψ ( t ) ) γ F ( t ) d t Ψ ( 1 ) 1 1 ( t 2 Ψ ( t ) ) γ F ( t ) d t
is a positive definite matrix.
(T5)
The bandwidth f n satisfies the following: 0 < η < a 5 a + 1 , such that
C n ( 5 a ) ( a + 1 ) + η ξ F ( f n ) , and log n n r n 2 ξ F ( f n ) 0 .
The mathematical support is carried out by a standard assumptions. The imposed assumption provides a flexible framework allowing to highlight the principal elements of the proposed approach, including the model structure, the data correlation, and the convergence rates. Given the complexity of the proposed local linear algorithm and the strength of the Borel–Cantelli (BC) consistency, these assumptions represent a reasonable balance between the easy implantation and the strong consistency of the predictor. Typically, condition (T1) is pivotal in the NFDA analysis. We apply this condition on the bandwidth f n 0 . Condition (T2) has a direct influence on the bias term in the convergence rate of R M ^ ( F ) , while condition (T3) controls the mixing correlation of the functional time series as well as its local dependence structure. Finally, conditions (T4) and (T5) concern the kernel Ψ and the bandwidths f n and r n , which regulate the technical implementation of the estimator R M ^ ( F ) . It is important to highlight that these assumptions are crucial for establishing the convergence rate of the kernel estimator under the BC framework.
The following theorem establishes the almost-complete convergence (cf. [5] for details), (a.co.) of R M ^ ( F ) . This kind of convergence implies both almost sure convergence and convergence in probability.
Theorem 1. 
Under assumptions (T1)–(T5) and if inf p ( 0 , 1 ) 3 C Q ( p , F ) p > 0 we have the following:
| R M ^ ( F ) R M ( F ) | = O ( f n b / 2 ) + O ( r n 1 / 2 ) + O log n n r n 2 ξ F ( f n ) 1 4 a . c o .

4. Web Traffic Flow Modeling

4.1. Test of the Data-Driven Approach over Artificial Data

This section is devoted to perform simulation experiments designed to assess the finite sample performance of the proposed robust modal regression model under various scenarios. The empirical analysis has two main objectives. First, it aims to demonstrate the practical feasibility and straightforward implementation of the proposed data-driven approach. Second, it seeks to evaluate the impact of the principal parameters on the prediction quality. Clearly the pivotal parameters involved in the proposed prediction approach are the level of dependence, the functional space of the data, the smoothing parameter and the kernel of the estimator. To achieve these objectives, we generate various functional time series data that incorporate the dynamic of the flow of web traffic. Typically, the generated functional data simulates the characteristics of web activity, including random fluctuations and asymmetry of data distribution. To achieve this objective, we construct three levels of functional time series, generated as a linear process of the form
F i = j = i i + 10 a j Υ j ,
where ( Υ j ) j denotes a sequence of independent functional random variables, and a j = m j are calibrated constants. These functions are obtained by the code routine dgp.fiid. By construction, the resulting process is strong mixing and satisfies Assumption (T3). The functional F i can be interpreted as the aggregated traffic load over a continuous time interval. Clearly with sampling design we can illustrate varying dependency structures as well as short and long-range correlations of the functional time series data.The shapes of the functional variables of different dependency stages are shown in Figure 1.
Recall that our main goal of this simulation experiment is to predict the total flow D i = T T + h F i ( t ) d t at future time horizon h, with particular emphasis on the impact of its three components: the mixing assumption, the choice of bandwidth parameters f n , and the locating function M. In this framework, the correlation structure is controlled by the evaluating the accuracy over three parameters m = 0.2 , 0.5 , 0.8 . Concerning the bandwidth parameters ( f n , r n ) we compare three selectors that are
Rule   1 ( f n 1 , r n 1 ) = arg min f H n , r B n i = 1 n D i R M ^ ( F i ) 2 , Rule   2 ( f n 2 , r n 2 ) = arg min f H n , r B n i = 1 n D i R M ^ ( F i ) , Rule   3 ( f n 3 , r n 3 ) = arg min f H n , r B n i = 1 n L q R M D i R M ^ ( F i ) ,
where
H n = { a 0 such   that i = 1 n 1 I B ( F , a ) ( F i ) = k } ,
and B n = { r 0 such   that i = 1 n 1 I [ d r , d + r ] ( D i ) = k }
where k { 5 , 15 , 25 , , 0.5 n } . Meanwhile, the third parameter concerns the locating function M. For this last part, we test two locating functions that are
Locating   function   1 M 1 ( F , F i ) = 0 T θ ( t ) ( F ( t ) F i ( t ) ) d t θ   is   the   first   eigenvector   of   the   variance   covariance   matrix Locating   function   2 M 2 ( F , F i ) = 0 T ( F ( t ) F i ( t ) ) 2 d t .
Now, for this comparison study, we generate n observations of ( F i , D i ) , which are randomly divided into two subsets: 60 % observations for the in-sample and 40 % observations for the Testing-sample, and we examine the accuracy by then computing the mean squared error over the Testing-sample
M S E = 1 n t e s t j = 1 n t e s t R M ^ ( F i ) R M ( F i ) 2 ,
using different scenarios of h, m, sample size n, selectors and locating functions. In the first illustration, we fix some parameters, namely, h = 0.1 T , Rule 1, and the locating function M 1 . We evaluate the robustness of the estimator by multiplying 10 in-sample observations by a fixed multiplicative factor M F . The results of this illustration are presented in Table 1, which reports the MSE for different values of M F and sample sizes n.
The MSE results show the strong performance of the local linear estimation of the robust modal regression. Specifically, the variability of the MSE values is small according to M F = 1 , 5 , 10 . This small difference highlights the robustness of the estimator R M ^ . In the second experiment, we further analyze the sensitivity of the estimator R M ^ with respect to the remaining parameters h, m, as well as the choice of selectors and location functions.
The results presented in Table 2 show that the performance of the predictor is highly influenced by the different parameters used in the algorithm. In particular, smaller prediction errors are obtained when the data exhibit weak dependence, and the bandwidth parameter h takes small values, compared to cases with strong dependence. The simulation results also reveal that the accuracy of the prediction depends on the choice of the locating function and the smoothing parameter. Although the runtime is influenced by the parameter of the selected locating function M and by the local fits over the small p-grid used in the experiments, the computational cost does not vary significantly across the different scenarios. Overall, the proposed estimator demonstrates practical usefulness, computational efficiency, and robust performance even in the presence of strong dependence.

4.2. Real Data Application

In this paragraph we demonstrate the practical relevance of our approach using real data. More precisely we compare the predictor R M ^ with three competitive nonparametric functional modes that are the robust local constant (Robust LC) mode (introduced by [20]) defined by
R M 1 ^ ( F ) = C Q ^ ( p ^ R M , F ) where p ^ R M = arg min p [ a F , b F ] C Q ^ ( p , F ) ,
with C Q ^ = arg min A i = 1 n L p ( D i A ) Ψ M ( F , F i ) f n and C Q ^ as its derivative. The standard local constant mode (Standard LC) (considered by [5]) is defined by
R M 2 ^ ( F ) = arg max d i = 1 n Ψ M ( F , F i ) f n Ψ ( d D i ) f n i = 1 n Ψ M ( F , F i ) f n
The standard local linear (Standard LL) mode (studied by [24]) is defined by
R M 3 ^ ( F ) arg max d i , j = 1 n W i j Ψ d D i ) f n i , j = 1 n W i j
where W i j ( x ) = δ i δ i δ j Ψ M ( F , F j ) f n Ψ M ( F , F i ) f n and δ i = 0 T | F ( t ) F i ( t ) | 2
For practical illustration, we consider the dataset so-called CESNET-TimeSeries24, which is available in Zenodo platform https://zenodo.org/record/13382427 (accessed on 8 September 2025). Such data was used and developed by [35]. The considered dataset contains various traffic web metrics including flows, packets, bytes, among others. It covers data at both institutional and IP subnetwork levels providing comprehensive coverage for anomaly detection tasks. The studied data is derived from approximately 66 billion IP flows, and it is offered at three distinct temporal resolutions (10 min, 1 h, and 1 day). In this work framework, we concentrate on the high-resolution case of 10-min frame. The data process is visualized in Figure 2.
According to the algorithm described in Section 2, we construct a collection of 279 functional random variables, denoted by F i = 1 280 ( · ) , from the process W ( t ) = l o g ( bytes   at   t ) where each function F i ( · ) represents the curve of the logarithmic difference flow-traffic corresponding to the i-th day (time interval of 24 h). The trajectories of these 280 functional regressors are displayed in Figure 3.
Given the objective of approximating the total flow-traffic 2 h in advance, the estimators are computed using as response variable D i = total flows of the first 2 h of day i + 1 . We use the same quadratic kernel as in the simulation, and each estimator is evaluated within its appropriate selector, metric, and/or locating function. It appears that Rule 1 (from the previous section) performs well for the standard estimators R M 2 ^ and R M 3 ^ , whereas estimators R M 1 ^ and R M ^ gives better results when Rule 3 is used. Concerning the metric and locating function for the LLEM estimation, we point out that we have observed that there is no significant difference between the locating functions M 1 and M 2 (of the previous section). Thus, we have opted to employ M 2 using the PCA metric (see [5]) for different estimators. Finally, we examine the accuracy of different predictors by dividing the dataset randomly into an in-sample comprising 150 observations and an out-sample comprising 100 observations. The predictive results are assessed by plotting the observed values of D i versus the corresponding predicted values (see Figure 4).
As illustrated in Figure 4 the R M ^ (Robust LL) forecasting procedure exhibits superior performance compared to the alternative predictors R M 1 ^ , R M 2 ^ R M 3 ^ . This statement is validated by the square root of the mean squared error (MSE) values, as defined in the previous section. Specifically, the MSE for the R M ^ is 6.78, whereas the corresponding values for the other predictors R M 1 ^   R M 2 ^   R M 3 ^ are 8.36, 9.48 and 9.47, respectively.

5. Discussion and Conclusions

  • Contribution and Positioning:
    We point out the novelty of this contribution is that it is the first paper that combines three important tools of statistical modeling. It combines the robust estimation, the local linear smoothing approach and the functional time series structure. Compared to existing works in functional data analysis, the gain is substantial in both theoretical and practical aspects. From the theoretical point of view, the proposed conditional mode estimator substantially improves the kernel estimator used by [5]. Indeed, the kernel estimator of [5] is obtained by maximizing the conditional density function, while the proposed estimator is related to the conditional quantile. This consideration improves the robustness and the accuracy of the estimator. It is well documented that the local linear approach reduces the bias term of the kernel method.
    Additionally, for the practical point of view, the functional time series structure studied in the present contribution is more general than the linear process proposed by [4], in the sense that the strong mixing assumption is also fulfilled for many nonlinear processes, thus considering the mixing structure of functional time series, allowing to cover a large class of functional time series data (linear or nonlinear process).
    At this stage, the web traffic flow is usually influenced by many factors such as time of day, special events, promotions, and user interest. The linearity of this kind of data is not often guaranteed. Therefore, linear models may provide inaccurate forecasts, especially when the data show strong fluctuations or contains outliers. Consequently, more flexible nonlinear models are often more appropriate to represent the dynamic nature of web traffic flow.
  • Connection Between the Estimator and Web Traffic Data:
    We recall that the main feature of the proposed algorithm is its ability to combine three fundamental components in mathematical statistics, which are functional data modeling, the local linear approach and modal regression as a robust predictor. Combining these tools permits to provide an effective and comprehensive algorithm for modeling web traffic flow. Functional data modeling treats the entire traffic curve as a single observation, allowing the model to explore the temporal dependence and smooth variations in web activity over time. The local linear approach improves estimation accuracy by controlling the local behavior of both the model and the data through linear approximation in the neighborhood of location point. This local adaptation is especially useful during peak hours or special events when traffic change rapidly. The robust estimation component increases the model’s resistance to outliers caused by unusual numbers of visits, viral content, or server errors, ensuring more stable predictions. Conditional mode prediction focuses on estimating the most probable future value rather than the average, which is particularly important when the web traffic distribution is skewed or contains extreme values. Overall, the local linear estimation of the robust mode is well adequate for high-frequency web traffic data. It improves prediction accuracy compared with standard linear models, which often fail to fit the nonlinearity and highly variability nature of web traffic data.
  • Conclusions:
    In this work we have introduced a new predictor based on the estimation of the L 1 -modal regression using a local linear approach. The theoretical part provides mathematical support for implementing the estimator in practice. Specifically, we have established the almost complete consistency under a strong mixing dependency assumption, which serves as an alternative to the conventional correlation-based criteria. Empirical results from both simulated and real datasets, including web traffic data, confirm that the feasibility of the proposed estimator is closely linked to different parameters involved in the estimator. Even if combining the L 1 framework with a local linear approach improves both robustness and predictive accuracy, especially for complex functional data like web traffic curves, the accuracy of the estimator depends on the strength of dependencies in the data, the smoothness of the underlying nonparametric model, and the careful choice of the bandwidth or semi-metric. Selecting these parameters can be challenging, as inappropriate choices may substantially affect the estimator’s robustness and predictive performance.
    In addition to these findings, this study highlights several potential directions for future research. The first prospect is the asymptotic distribution of the normalized estimator under various forms of functional strong mixing, such as association or Markovian sequences. Another important extension concerns spatio-functional modeling, which takes into account the geographic coordinates of the data. Although these extensions focus on dependencies in the data, further generalizations to other smoothing techniques—including kNN methods, and semi-partial linear approaches—are also interesting topics for the future.

Author Contributions

The authors contributed approximately equally to this work. Formal analysis, M.B.A.; Writing—review and editing, Z.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Deanship of Scientific Research and Graduate Studies at King Khalid University through a Small Research Project under grant number RGP1/41/46.

Data Availability Statement

The data used in this study are available through the link https://zenodo.org/record/13382427 (accessed on 8 September 2025).

Acknowledgments

The authors would like to thank the Editor, the Associate Editor and the anonymous reviewers for their valuable comments and suggestions, which substantially improved the quality of an earlier version of this paper. The authors thank and extend their appreciation to the funder of this work: Deanship of Scientific Research and Graduate Studies at King Khalid University through a Small Research Project under grant number RGP1/41/46.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Proofs of the Asymptotic Result

Proof of Theorem 1. 
We prove analytically
| R M ^ ( F ) R M ( F ) | C ( sup p [ a F , b F ] | C Q ^ ( p , F ) C Q ( p , F ) | + sup p [ a F , b F ] | C Q ^ ( p , F ) C Q ( p , F ) | )
and for a large n
| C Q ^ ( p , F F ) C Q ( p , F ) | C r n 1 sup p ( a F r n , b F + r n ) | C Q ^ ( p , F ) C Q ( p , F ) | + O ( r n ) .
We evaluate
sup p [ 0 , 1 ] | C Q ^ ( p , F ) C Q ( p , F ) | .
Theorem 1 follows from the next proposition. □
Proposition A1. 
Assuming the conditions of Theorem 1 hold to write
sup p ( 0 , 1 ) | C Q ^ ( p , F ) C Q ( p , F ) | = O ( f n b ) + O a . c o . ln n n ξ F ( f n ) 1 2
The proof uses the Bahadur representation of the conditional quantile using the following lemma.
Lemma A1 
([34]). Let Ξ n be a sequence of decreasing real random functions and Σ n be a random real sequence such that
Σ n = o a . c o . ( 1 ) a n d sup | χ | M | Ξ n ( χ ) + λ χ Σ n | = o a . c o . ( 1 ) f o r   c e r t a i n   c o n s t a n t s λ , M > 0 .
Then, for any real sequence χ n such that Ξ n ( χ n ) = o a . c o . ( 1 ) , we have
n = 1 I P | χ n | M < .
Proof of Proposition A1. 
We apply Lemma A1 on
χ n = A ^ A f n ( B ^ B )
X n ( χ ) = 1 n ξ F ( f n ) i = 1 n Υ ( p , χ ) 1 f n 1 D i Ψ i , for χ = c d
and
Σ n = X n ( χ 0 ) with χ 0 = 0 0
where
Υ ( p , χ ) = p 1 I D i ( c + A ) + ( f n 1 d + B ) I i , Ψ i = Ψ f n 1 m ( F , F i ) ,
and I i = 0 T ( F i ( t ) F ( t ) ) 2 d t .
So, the main theorem is derived as a consequence of the following lemmas: □
Lemma A2. 
Under assumptions (T1)–(T5), we have
Σ n = O ( f n min ( k 1 , k 2 ) ) + O a . c o . ln n n ξ F ( f n ) 1 / 2 .
Proof of Lemma A2. 
We write
Σ n I E [ Σ n ] = Σ n 1 Σ n 2
where
Σ n 1 = 1 n ξ F ( f n ) i = 1 n Z i 1 Σ n 2 = 1 n f n ξ F ( f n ) i = 1 n Z i 2 .
with
Z i 1 = p 1 I [ D i A + B I i ] Ψ i I E p 1 I [ D i A + B I i ] Ψ i
and
Z i 2 = p 1 I [ D i A + B I i ] I i Ψ i I E p 1 I [ D i A + B I i ] I i Ψ i .
The convergence is derived using the Fuk–Nagaev inequality Z i 1 and Z i 2 . It requires the asymptotic behavior of the variance defined by
S n 2 = i = 1 n j = 1 n Cov ( Z i 1 , Z j 1 )
= i = 1 n i j Cov ( Z i 1 , Z j 1 ) + n V a r [ Z 1 1 ] .
We split the sum into J 1 , n and J 2 , n . They are defined by
S 1 = ( i , j ) such   that 1 i j u n
and
S 2 = ( i , j ) such   that u n + 1 i j n 1 .
Thus,
J 1 , n = S 1 Cov ( Z i 1 , Z j 1 ) C S 1 I E Ψ i Ψ j + I E Ψ i I E Ψ j .
From (T1), (T3) and (T5) we have
J 1 , n C n u n ξ F ( f n ) .
Next, for the quantity J 2 , n we use Davydov–Rio’s inequality, in the bounded case, to show that
| Cov ( Z i 1 , Z j 1 ) | C M i x ( | i j | ) .
We deduce
J 2 , n = S 2 | Cov ( Z i 1 , Z j 1 ) | n u n a + 1 a 1 .
Taking
u n = 1 ξ F ( f n ) 1 / a ,
to prove
i = 1 n i j Cov ( Z i 1 , Z j 1 ) = O n ξ F ( f n ) ( a 1 ) / a .
The variance term is
V a r [ Z 1 1 ] I E Ψ i 2 = O ( ξ F ( f n ) ) .
We conclude
S n 2 = O n ξ F ( f n ) .
Finally, for all ζ > 0 and for all ε > 0 ,
I P Σ n 1 I E [ Σ n 1 ] > ε I P i = 1 n Z i 1 > ε n I E [ Ψ 1 ] C ( B 1 + B 2 ) ,
where
B 1 = 1 + ε 2 n 2 ( I E [ Ψ 1 ] ) 2 S n 2 ζ ζ / 2 and B 2 = n ζ 1 ζ ε n I E [ Ψ 1 ] a + 1 .
It suffices
ε = ϵ 0 n ln n n I E [ Ψ 1 ] and ζ = C ( ln n ) 2 ,
to obtain, under (T5)
B 2 C n 1 ( a + 1 ) / 2 ξ F ( f n ) ( a + 1 ) / 4 ( ln n ) ( 3 a 1 ) / 2 C n 1 χ 1 ,
and
B 1 C 1 + λ 2 log n ζ ζ / 2 C n 1 χ 2 ,
for some χ 1 > 0 and χ 2 > 0 , the combination of relations (A2) and (A3) allows us to conclude that the dispersion term satisfies
Σ n 1 I E [ Σ n 1 ] = O a . c o . ln n n ξ F ( f n ) .
Similarly,
Σ n 2 I E Σ n 2 = O a . c o . log n n ξ F ( f n ) .
Next,
I E Σ n 1 = 1 ξ F ( f n ) 1 ξ F ( f n ) I E D ( C Q ( p , F ) | F ) D ( ( A + B I 1 ) Ψ 1 | F ) = O ( f n min ( k 1 , k 2 ) ) .
and
I E Σ n 2 = 1 h ξ F ( f n ) 1 h ξ F ( f n ) I E D ( C Q ( p , F ) | F ) ) D ( ( A + B I 1 ) I 1 Ψ 1 | F ) = O ( f n min ( k 1 , k 2 ) ) .
Therefore,
Σ n = O ( f n min ( k 1 , k 2 ) ) + O a . c o . ln n n ξ F ( f n ) 1 / 2
Lemma A3. 
Under assumptions (T1)–(T5), we have
sup χ M X n ( χ ) + λ 0 D χ Σ n = o a . c o . ( 1 )
with
D = Ψ ( 1 ) 1 1 K ( t ) γ F ( t ) d t Ψ ( 1 ) 1 1 ( t Ψ ( t ) ) γ F ( t ) d t Ψ ( 1 ) 1 1 ( t Ψ ( t ) ) γ F ( t ) d t Ψ ( 1 ) 1 1 ( t 2 Ψ ( t ) ) γ F ( t ) d t
and
λ 0 = C D ( C Q ( p , F ) | F )
Proof of Lemma A3. 
We prove
sup χ M X n ( χ ) Σ n I E X n ( χ ) Σ n = O a . c o . ln n n ξ F ( f n )
and
sup χ M I E X n ( χ ) Σ n + C D ( C Q ( p , F ) | F ) D χ = O ( f n min ( k 1 , k 2 ) ) .
We use the compactness of the ball B ( 0 , M ) in I R 2 , and we write
B ( 0 , M ) j = 1 d n B ( χ j , l n ) , χ j = c j d j and l n = d n 1 = 1 / n .
Taking j ( χ ) = arg min j | χ χ j | , we use the fact that
sup χ M X n ( χ ) Σ n I E X n ( χ ) Σ n         sup χ M X n ( χ ) X n ( χ j )                 + sup χ M X n ( χ j ) Σ n I E X n ( χ j ) Σ n                 + sup χ M I E X n ( χ ) X n ( χ j ) .
Since | 1 I [ Y < a ] 1 I [ Y < b ] | 1 I | Y b | | a b | , then
sup χ M X n ( χ ) X n ( χ j ) 1 n ξ F ( f n ) i Ω i
where
Ω i = sup χ M 1 I | D i ( c j + A ) ( f n 1 d j + d ) I i | C l n 1 f n 1 I i Ψ i .
Once again we use the Fuk–Nagaev’s inequality to deduce its convergence rate. Here
S n 2 = V a r i = 1 n Ω i = O n l n ξ F ( f n ) .
Therefore,
l n = o ln n n ξ F ( f n )
shows that
sup χ M X n ( χ ) X n ( χ j ) = O a . c o . log n n ξ F ( f n ) 1 / 2 .
Concerning
sup χ M I E X n ( χ ) X n ( χ j ) 1 ξ F ( f n ) I E [ Ω 1 ] C l n
It follows
sup χ M I E X n ( χ ) X n ( χ j ) = o a . c o . log n n ξ F ( f n ) 1 / 2 .
Secondly,
sup χ M X n ( χ j ) Σ n I E X n ( χ j ) Σ n .
It expressed
X n ( χ j ) Σ n I E X n ( χ j ) Σ n = Θ n 1 ( χ j ) Θ n 2 ( χ j )
where
Θ n 1 ( χ j ) = 1 n ξ F ( f n ) i = 1 n Λ i 1 Θ n 2 ( χ j ) = 1 n f n ξ F ( f n ) i = 1 n Λ i 2
with
Λ i 1 = Υ ( p , χ j ) Υ ( p , χ 0 ) Ψ i I E Υ ( p , χ j ) Υ ( p , χ 0 ) Ψ i
and
Λ i 2 = Υ ( p , χ j ) Υ ( p , χ 0 ) I i Ψ i I E Υ ( p , χ j ) Υ ( p , χ 0 ) I i Ψ i .
We get
V a r i = 1 n Λ i 1 = O n ξ F ( f n )
and
V a r i = 1 n Λ i 2 = O n ξ F ( f n )
which implies
sup χ M X n ( χ j ) Σ n I E X n ( χ j ) Σ n . = O a . c o . ln n n ξ F ( f n ) .
We have
sup χ M I E X n ( χ ) Σ n + d ( C Q ( p , F ) | F ) D χ + o ( χ ) = O ( f n min ( k 1 , k 2 ) )
which leads to the result (A6). □
Lemma A4. 
Under assumptions (T1)–(T5), we have
sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ , p ) I E Ξ n ( χ , p ) | = O a . c o . ln n n ξ F ( f n ) 1 / 2 .
where
Ξ n ( χ , p ) = 1 n ξ F ( f n ) i = 1 n Υ ( p , χ ) 1 f n 1 I i Ψ i , f o r χ = c d
Proof of Lemma A4. 
The proof of this lemma is omitted. It relies on compactness [ 0 , 1 ] that implies
[ 0 , 1 ] k = 1 d n [ p k l n , p k + l n ] , f o r p k [ 0 , 1 ] .
Next, for all p [ 0 , 1 ] we put F p = arg min k | p p k | , and we evaluate the term as function of χ and p. We have
sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ , p ) I E Ξ n ( χ , p ) | sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ , p ) Ξ n ( χ j ( χ ) , p ) |                                 + sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ j ( χ ) , p ) Ξ n ( χ j ( χ ) , F p ) |                                 + sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ j ( χ ) , F p ) I E [ Ξ n ( χ j ( χ ) , F p ) ] |                                     + sup | χ | M sup p [ 0 , 1 ] | I E [ Ξ n ( χ j ( χ ) , F p ) ] I E [ Ξ n ( χ , F p ) ]                                         + sup | χ | M sup p [ 0 , 1 ] | I E [ Ξ n ( χ , F p ) ] I E [ Ξ n ( χ , p ) ] .
Using Fuk–Nagaev inequality for each term, we obtain
sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ , p ) Ξ n ( χ j ( χ ) , p ) | = O a . c o . ln n n ξ F ( f n )
sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ j ( χ ) , p ) Ξ n ( χ j ( χ ) , F p ) | = O a . c o . ln n n ξ F ( f n )
sup | χ | M sup p [ 0 , 1 ] | Ξ n ( χ j ( χ ) , F p ) I E [ Ξ n ( χ j ( χ ) , F p ) ] | = O a . c o . ln n n ξ F ( f n )
sup | χ | M sup p [ 0 , 1 ] | I E [ Ξ n ( χ j ( χ ) , F p ) ] I E [ Ξ n ( χ , F p ) ] = O ln n n ξ F ( f n )
sup | χ | M sup p [ 0 , 1 ] | I E [ Ξ n ( χ , F p ) ] I E [ Ξ n ( χ , p ) ] = O ln n n ξ F ( f n )

Appendix B. Notation Box and Acronyms List

Functional Data AnalysisFDA
Functional Time Series Data AnalysisFTSDA
Nadaraya–Watson EstimatorNW
Local Linear Estimation MethodLLEM
Local Constant ApproachLCA
Conditional ModeCM
Conditional Cumulative functionCC
Conditional Density FunctionCD
The Kernel Function Ψ
The Functional Bandwidth Sequence f n
The Locating FunctionM
The Conditional Mode Estimator R M ^
The Conditional Quantile Estimator C Q ^
The Estimator of the Derivative of the Conditional Quantile C Q ^
The Bandwidth Sequence of the Derivative r n

References

  1. Li, J.; Li, J.; Jia, N.; Li, X.; Ma, W.; Shi, S. GeoTraPredict: A machine learning system of web spatio-temporal traffic flow. Neurocomputing 2021, 428, 317–324. [Google Scholar] [CrossRef]
  2. Park, D.-C. Structure optimization of BiLinear Recurrent Neural Networks and its application to Ethernet network traffic prediction. Inf. Sci. 2013, 237, 18–28. [Google Scholar] [CrossRef]
  3. Shelatkar, T.; Tondale, S.; Yadav, S.; Ahir, S. Web Traffic Time Series Forecasting using ARIMA and LSTM RNN. In Proceedings of the 2020 International Conference on Data Science and Engineering, Mumbai, India, 12–14 August 2020. [Google Scholar]
  4. Bosq, D. Linear Processes in Function Spaces; Lecture Notes in Statistics; Springer: New York, NY, USA, 2000; Volume 149. [Google Scholar]
  5. Ferraty, F.; Vieu, P. Nonparametric Functional Data Analysis. Theory and Practice; Springer Series in Statistics; Springer: New York, NY, USA, 2006. [Google Scholar]
  6. Masry, E. Nonparametric regression estimation for dependent functional data: Asymptotic normality. Stochastic Process. Appl. 2005, 115, 155–177. [Google Scholar] [CrossRef]
  7. Ling, N.; Vieu, P. Nonparametric modelling for functional data: Selected survey and tracks for future. Statistics 2018, 52, 934–949. [Google Scholar] [CrossRef]
  8. Bouzebda, S.; Laksaci, A.; Mohammedi, M. Single index regression model for functional quasi-associated time series data. REVSTAT 2022, 20, 605–631. [Google Scholar]
  9. Wang, L. Nearest neighbors estimation for long memory functional data. Stat. Methods Appl. 2020, 29, 709–725. [Google Scholar] [CrossRef]
  10. Collomb, G.; Härdle, W.; Hassani, S. A note on prediction via estimation of the conditional mode function. J. Stat. Plan. Inference 1986, 15, 227–236. [Google Scholar] [CrossRef]
  11. Dabo-Niang, S.; Kaid, Z.; Laksaci, A. Spatial conditional quantile regression: Weak consistency of a kernel estimate. Rev. Roum. Math. Pures Appl. 2012, 57, 311–339. [Google Scholar]
  12. Bouzebda, S.; Didi, S. Some results about kernel estimators for function derivatives based on stationary and ergodic continuous time processes with applications. Commun. Stat. Theory Methods 2022, 51, 3886–3933. [Google Scholar] [CrossRef]
  13. Dabo-Niang, S.; Kaid, Z.; Laksaci, A. Asymptotic properties of the kernel estimate of spatial conditional mode when the regressor is functional. AStA Adv. Stat. Anal. 2015, 99, 131–160. [Google Scholar] [CrossRef]
  14. Ezzahrioui, M.H.; Ould-Saïd, E. Asymptotic normality of a nonparametric estimator of the conditional mode function for functional data. J. Nonparametr. Stat. 2008, 20, 3–18. [Google Scholar] [CrossRef]
  15. Xu, Y. Functional Data Analysis. In Springer Handbook of Engineering Statistics; Pham, H., Ed.; Springer: London, UK, 2023; pp. 67–85. [Google Scholar]
  16. Cardot, H.; Crambes, C.; Sarda, P. Quantile regression when the covariates are functions. J. Nonparametr. Stat. 2005, 17, 841–856. [Google Scholar] [CrossRef]
  17. Wang, H.; Ma, Y. Optimal subsampling for quantile regression in big data. Biometrika 2021, 108, 99–112. [Google Scholar] [CrossRef]
  18. Dabo-Niang, S.; Kaid, Z.; Laksaci, A. On spatial conditional mode estimation for a functional regressor. Stat. Probab. Lett. 2012, 82, 1413–1421. [Google Scholar] [CrossRef]
  19. Dabana, H.; Agbokou, K.; Gneyou, K. Local linear estimation of conditional probability density and mode under right censoring and left truncation: Dependent data case. Gulf J. Math. 2025, 20, 338–359. [Google Scholar] [CrossRef]
  20. Azzi, A.; Laksaci, A.; Ould-Saïd, E. On the robustification of the kernel estimator of the functional modal regression. Stat. Probab. Lett. 2021, 181, 109256. [Google Scholar] [CrossRef]
  21. Azzi, A.; Belguerna, A.; Laksaci, A.; Rachdi, M. The scalar-on-function modal regression for functional time series data. J. Nonparametr. Stat. 2024, 36, 503–526. [Google Scholar] [CrossRef]
  22. Alamari, M.B.; Almulhim, F.A.; Almanjahie, I.M.; Bouzebda, S.; Laksaci, A. Scalar-on-Function Mode Estimation Using Entropy and Ergodic Properties of Functional Time Series Data. Entropy 2025, 27, 552. [Google Scholar] [CrossRef]
  23. Fan, J. Local Polynomial Modelling and Its Applications: Monographs on Statistics and Applied Probability 66; Routledge: Abingdon-on-Thames, UK, 2018. [Google Scholar]
  24. Rachdi, M.; Laksaci, A.; Demongeot, J.; Abdali, A.; Madani, F. Theoretical and practical aspects of the quadratic error in the local linear estimation of the conditional density for functional data. Comput. Stat. Data Anal. 2014, 73, 53–68. [Google Scholar] [CrossRef]
  25. Baíllo, A.; Grané, A. Local linear regression for functional predictor and scalar response. J. Multivar. Anal. 2009, 100, 102–111. [Google Scholar] [CrossRef]
  26. Barrientos-Marin, J.; Ferraty, F.; Vieu, P. Locally modelled regression and functional data. J. Nonparametr. Stat. 2010, 22, 617–632. [Google Scholar] [CrossRef]
  27. Berlinet, A.; Elamine, A.; Mas, A. Local linear regression for functional data. Ann. Inst. Stat. Math. 2011, 63, 1047–1075. [Google Scholar] [CrossRef]
  28. Demongeot, J.; Laksaci, A.; Madani, F.; Rachdi, M. Functional data: Local linear estimation of the conditional density and its application. Statistics 2013, 47, 26–44. [Google Scholar] [CrossRef]
  29. Laksaci, A.; Ould Saïd, E.; Rachdi, M. Uniform consistency in number of neighbors of the k NN estimator of the conditional quantile model. Metrika 2021, 84, 895–911. [Google Scholar] [CrossRef]
  30. Almulhim, F.A.; Alamari, N.B.; Laksaci, A.; Kaid, Z. Modal Regression Estimation by Local Linear Approach in High-Dimensional Data Case. Axioms 2025, 14, 537. [Google Scholar] [CrossRef]
  31. Jones, D.A. Nonlinear autoregressive processes. Proc. R. Soc. Lond. A 1978, 360, 71–95. [Google Scholar]
  32. Ozaki, T. Nonlinear Time Series Models for Nonlinear Random Vibrations; Technical Report; University of Manchester: Manchester, UK, 1979. [Google Scholar]
  33. Engle, R.F. Autoregressive conditional heteroskedasticity with estimates of the variance of U.K. inflation. Econometrica 1982, 50, 987–1007. [Google Scholar] [CrossRef]
  34. Al-Awadhi, F.A.; Kaid, Z.; Laksaci, A.; Ouassou, I.; Rachdi, M. Functional data analysis: Local linear estimation of the L1-conditional quantiles. Stat. Methods Appl. 2019, 28, 217–240. [Google Scholar] [CrossRef]
  35. Koumar, J.; Hynek, K.; Čejka, T.; Šiška, P. CESNET-TimeSeries24: Time Series Dataset for Network Traffic Anomaly Detection and Forecasting. Sci. Data 2025, 12, 338. [Google Scholar] [CrossRef]
Figure 1. A small sample of functional regressor presented in different colors.
Figure 1. A small sample of functional regressor presented in different colors.
Axioms 14 00815 g001
Figure 2. Flow during 40 weeks.
Figure 2. Flow during 40 weeks.
Axioms 14 00815 g002
Figure 3. The daily curve of flow.
Figure 3. The daily curve of flow.
Axioms 14 00815 g003
Figure 4. Prediction results.
Figure 4. Prediction results.
Axioms 14 00815 g004
Table 1. MSE Results for different sample size n and various M F .
Table 1. MSE Results for different sample size n and various M F .
Multiplicative Factor MVrSample Size nMSE
MF = 1 m = 0.2 500.94
m = 0.5 500.72
m = 0.8 500.64
m = 0.2 1000.71
m = 0.5 1000.56
m = 0.8 1000.47
m = 0.2 2500.12
m = 0.5 2500.32
m = 0.8 2500.58
MF = 5 m = 0.2 501.08
m = 0.5 500.92
m = 0.8 500.80
m = 0.2 1000.92
m = 0.5 1000.81
m = 0.8 1000.63
m = 0.2 2500.44
m = 0.5 2500.51
m = 0.8 2500.53
MF = 10 m = 0.2 501.13
m = 0.5 501.04
m = 0.8 500.93
m = 0.2 1000.92
m = 0.5 1000.88
m = 0.8 1000.75
m = 0.2 2500.63
m = 0.5 2500.70
m = 0.8 2500.74
Table 2. MSE results for different scenarios.
Table 2. MSE results for different scenarios.
Future Time Horizon hmSelector RuleLocating FunctionMSE
h = 0.5 T m = 0.2 Rule 1 M 1 0.21
M 2 0.24
Rule 2 M 1 0.28
M 2 0.32
Rule 3 M 1 0.15
M 2 0.22
m = 0.5 Rule 1 M 1 0.43
M 2 0.52
Rule 2 M 1 0.43
M 2 0.63
Rule 3 M 1 0.35
M 2 0.41
m = 0.8 Rule 1 M 1 0.66
M 2 0.71
Rule 2 M 1 0.79
M 2 0.68
Rule 3 M 1 0.57
M 2 0.69
h = 2 T m = 0.2 Rule 1 M 1 0.93
M 2 0.96
Rule 2 M 1 1.05
M 2 0.32
Rule 3 M 1 0.87
M 2 0.84
m = 0.5 Rule 1 M 1 1.11
M 2 1.23
Rule 2 M 1 1.22
M 2 1.45
Rule 3 M 1 1.35
M 2 1.21
m = 0.8 Rule 1 M 1 1.33
M 2 1.41
Rule 2 M 1 1.39
M 2 1.36
Rule 3 M 1 1.35
M 2 1.42
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kaid, Z.; Alamari, M.B. Data-Driven Modeling of Web Traffic Flow Using Functional Modal Regression. Axioms 2025, 14, 815. https://doi.org/10.3390/axioms14110815

AMA Style

Kaid Z, Alamari MB. Data-Driven Modeling of Web Traffic Flow Using Functional Modal Regression. Axioms. 2025; 14(11):815. https://doi.org/10.3390/axioms14110815

Chicago/Turabian Style

Kaid, Zoulikha, and Mohammed B. Alamari. 2025. "Data-Driven Modeling of Web Traffic Flow Using Functional Modal Regression" Axioms 14, no. 11: 815. https://doi.org/10.3390/axioms14110815

APA Style

Kaid, Z., & Alamari, M. B. (2025). Data-Driven Modeling of Web Traffic Flow Using Functional Modal Regression. Axioms, 14(11), 815. https://doi.org/10.3390/axioms14110815

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop