Related Experiment Video
Updated: Nov 10, 2025

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Forecasting Bitcoin closing price series using linear regression and neural networks models
Nicola Uras1, Lodovica Marchesi1, Michele Marchesi1
1Department of Mathematics and Computer Science, University of Cagliari, Cagliari, Italy.
Forecasting cryptocurrency prices like Bitcoin, Litecoin, and Ethereum is challenging. However, by analyzing distinct price "regimes" with machine learning, accurate predictions are achievable, outperforming benchmarks.
Area of Science:
- Financial econometrics
- Computational finance
- Machine learning applications
Background:
- Cryptocurrency price behavior remains largely unexplored, offering opportunities to compare with traditional financial markets.
- Existing research on cryptocurrency forecasting and stock market predictions provides benchmarks for evaluating new models.
Purpose of the Study:
- To forecast daily closing prices of Bitcoin, Litecoin, and Ethereum.
- To compare the performance of statistical and machine learning models in cryptocurrency price prediction.
- To investigate the impact of price "regimes" on forecasting accuracy.
Main Methods:
- Implemented Simple Linear Regression (SLR) and Multiple Linear Regression (MLR) models.
- Utilized artificial neural networks: Multilayer Perceptron (MLP) and Long Short-Term Memory (LSTM).
- Analyzed time series data including prices and trading volumes, partitioning into distinct price regimes.
Main Results:
- While the entire time series resembled a random walk, partitioning data into shorter sequences representing different price regimes enabled precise forecasting.
- Models achieved high accuracy, evaluated by Mean Absolute Percentage Error (MAPE) and relative Root Mean Square Error (relativeRMSE).
- The best results were obtained using multiple previous price points, indicating the existence of predictable time regimes.
Conclusions:
- Cryptocurrency price series can be accurately forecasted by identifying and analyzing distinct price regimes.
- Machine learning models, particularly LSTMs and MLPs, show strong performance in capturing these regime-specific dynamics.
- The developed models offer improved forecasting accuracy and time complexity compared to existing benchmark studies, advancing the state-of-the-art in cryptocurrency price prediction.
Related Concept Videos
Microsoft Excel: Regression Analysis
To perform regression...
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Residual Plots
When the residual values are plotted against the variable x, it is called a residual...
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Correlation and Regression