Predicting Stock Returns Using Linear Regression
DOI:
https://doi.org/10.54097/06ck4c50Keywords:
Linear regression, Finance, Machine learning, Market Proxy, Apple Inc. (AAPL)Abstract
This study examines the use of linear regression to forecast stock returns, with a particular emphasis on Apple Inc. (AAPL) and its correlation with the market proxy SPY, which represents the S&P 500 index. The paper outlines the methodology for gathering and processing historical stock price data for both AAPL and SPY, calculating daily returns, and applying linear regression to model the relationship between the two variables. We detail the process of training the linear regression model using a training dataset, where we estimate key parameters, and assess its predictive performance on a separate testing set. Performance evaluation is conducted using key metrics such as R-squared and Mean Squared Error (MSE) to measure the model’s accuracy in predicting stock returns. The findings demonstrate the utility of linear regression in financial forecasting, offering insights into its effectiveness as well as its limitations, particularly in capturing complex, non-linear market behaviors. Furthermore, the study touches upon the increasing role of machine learning in finance, highlighting its potential to offer more sophisticated models for stock return prediction and other financial applications.
Downloads
References
[1] Bommareddy, S. R., Reddy, K. S. S., Kaushik, P., Kumar, K. V., & Hulipalled, V. R. (2018). Predicting the stock price using linear regression. International Journal of Advanced Research in Computer Science, 9, 81-85.
[2] Lyu, J. (2023). Stock daily return prediction of Amazon and Alibaba using linear regression and LSTM. BCP Business & Management, 44, 717-726.
[3] McMillan, D. (2020). Forecasting U.S. stock returns. The European Journal of Finance, 27, 86-109.
[4] Kazemian, S., & Kazemian, S. (2012). Comparing accuracy in predicting stock returns between using regression techniques and data mining approach. African Journal of Business Management, 6(33), 9437.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







