Back to Search Start Over

Optimizing Financial Data Analysis: A Comparative Study of Preprocessing Techniques for Regression Modeling of Apple Inc.'s Net Income and Stock Prices

Authors :
Ungar, Kevin
Oprean-Stan, Camelia
Source :
Studia Universitatis Vasile Goldis Arad, Seria Stiinte Economice, 35(1), 83-112, 2025
Publication Year :
2025

Abstract

This article presents a comprehensive methodology for processing financial datasets of Apple Inc., encompassing quarterly income and daily stock prices, spanning from March 31, 2009, to December 31, 2023. Leveraging 60 observations for quarterly income and 3774 observations for daily stock prices, sourced from Macrotrends and Yahoo Finance respectively, the study outlines five distinct datasets crafted through varied preprocessing techniques. Through detailed explanations of aggregation, interpolation (linear, polynomial, and cubic spline) and lagged variables methods, the study elucidates the steps taken to transform raw data into analytically rich datasets. Subsequently, the article delves into regression analysis, aiming to decipher which of the five data processing methods best suits capital market analysis, by employing both linear and polynomial regression models on each preprocessed dataset and evaluating their performance using a range of metrics, including cross-validation score, MSE, MAE, RMSE, R-squared, and Adjusted R-squared. The research findings reveal that linear interpolation with polynomial regression emerges as the top-performing method, boasting the lowest validation MSE and MAE values, alongside the highest R-squared and Adjusted R-squared values.

Subjects

Subjects :
Economics - Econometrics

Details

Database :
arXiv
Journal :
Studia Universitatis Vasile Goldis Arad, Seria Stiinte Economice, 35(1), 83-112, 2025
Publication Type :
Report
Accession number :
edsarx.2501.06587
Document Type :
Working Paper
Full Text :
https://doi.org/10.2478/sues-2025-0004