SearcharxivSearch

arXiv subjects

Esam Mahdi

Publications and source records attributed to Esam Mahdi.

5 recordsLinked to original sources

A Novel Hybrid Approach Using an Attention-Based Transformer + GRU Model for Predicting Cryptocurrency Prices

In this article, we introduce a novel deep learning hybrid model that integrates attention Transformer and Gated Recurrent Unit (GRU) architectures to improve the accuracy of cryptocurrency price predictions. By combining the Transformer's strength in capturing long-range patterns with the GRU's ability to model short-term and sequential trends, the hybrid model provides a well-rounded approach to time series forecasting. We apply the model to predict the daily closing prices of Bitcoin and Ethereum based on historical data that include past prices, trading volumes, and the Fear and Greed index. We evaluate the performance of our proposed model by comparing it with four other machine learning models: two are non-sequential feedforward models: Radial Basis Function Network (RBFN) and General Regression Neural Network (GRNN), and two are bidirectional sequential memory-based models: Bidirectional Long-Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU). The performance of the model is assessed using several metrics, including Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE), along with statistical validation through the nonparametric Friedman test followed by a post hoc Wilcoxon signed rank test. The results demonstrate that our hybrid model consistently achieves superior accuracy, highlighting its effectiveness for financial prediction tasks. These findings provide valuable insights for improving real-time decision making in cryptocurrency markets and support the growing use of hybrid deep learning models in financial analytics.

cs.LG

New Goodness-of-Fit Tests for Time Series Models

This article proposes omnibus portmanteau tests for contrasting adequacy of time series models. The test statistics are based on combining the autocorrelation function of the conditional residuals, the autocorrelation function of the conditional squared residuals, and the cross-correlation function between these residuals and their squares. The maximum likelihood estimator is used to derive the asymptotic distribution of the proposed test statistics under a general class of time series models, including ARMA, GARCH, and other nonlinear structures. An extensive Monte Carlo simulation study shows that the proposed tests successfully control the type I error probability and tend to have more power than other competitor tests in many scenarios. Two applications to a set of weekly stock returns for 92 companies from the S&P 500 demonstrate the practical use of the proposed tests.

stat.ME

Bootstrapping a Powerful Mixed Portmanteau Test for Time Series

A new portmanteau test statistic is proposed for detecting nonlinearity in time series data. In this paper, we elaborate on the Toeplitz autocorrelation matrix to the autocorrelation and cross-correlation of residuals and squared residuals block matrix. We derive a new portmanteau test statistic using the log of the determinant of the mth autocorrelations and cross-correlations block matrix. The asymptotic distribution of the proposed test statistic is derived as a linear combination of chi-squared distributions and can be approximated by a gamma distribution. This test is applied to identify the linearity and nonlinearity dependency of some stationary time series models. It is shown that the convergence of the new test to its asymptotic distribution is reasonable with higher power than other tests in many situations. We demonstrate the efficiency of the proposed test by investigating linear and nonlinear effects in Vodafone Qatar and Nikkei-300 daily returns.

math.ST

portes: An R Package for Portmanteau Tests in Time Series Models

In this article, we introduce the R package portes with extensive illustrative applications. The asymptotic distributions and the Monte Carlo procedures of the most popular univariate and multivariate portmanteau test statistics, including a new generalized variance statistic, for time series models using the powerful parallel computing framework facility, are implemented in this package. The proposed package has a general mechanism where the user can compute the test statistic for the diagnostic checking of any time series models. This package is also useful for simulating univariate and multivariate seasonal and nonseasonal ARIMA/VARIMA time series with finite and infinite variances, testing for stationarity and invertibility, and estimating parameters from stable distributions.

stat.AP

Improved multivariate portmanteau test

A new portmanteau diagnostic test for vector autoregressive moving average (VARMA) models that is based on the determinant of the standardized multivariate residual autocorrelations is derived. The new test statistic may be considered an extension of the univariate portmanteau test statistic suggested by Pena and Rodriguez (2002, A Powerful Portmanteau Test of Lack of Test for Time Series, Journal of American Statistical Association) The asymptotic distribution of the test statistic is derived as well as a chi-square approximation. However, the Monte-Carlo test is recommended unless the series is very long. Extensive simulation experiments demonstrate the usefulness of this test as well as its improved power performance compared to widely used previous multivariate portmanteau diagnostic check. Two illustrative applications are given.

math.ST