Association Rules Analysis with Apriori Algorithm and Data Visualization: Evidence from Borsa Istanbul
Association Rules Analysis with Apriori Algorithm and Data Visualization: Evidence from Borsa Istanbul
Author(s): Turan KOCABIYIK, Hafize Gonca CÖMERT, Meltem KaraatlıSubject(s): National Economy, Financial Markets, Socio-Economic Research
Published by: Celal Bayar Üniversitesi Sosyal Bilimler Enstitüsü
Keywords: Portfolio Management; Data Mining; Apriori Algorithm; Fisher’s Exact Test; Interestingness Measures; Stocks;
Summary/Abstract: Considering that association analysis can be applied in finance, as it is in many fields, a study was conducted using stock prices. This study utilized two datasets covering the stocks included in the BIST TUM index and the BIST TUM-100 index, which were calculated within Borsa Istanbul. The data were analyzed using the Apriori algorithm and supported by data visualization techniques. The research used daily closing data of 421 companies in the BIST TUM index and 340 companies in the BIST TUM-100 index, obtained from the Finnet database. The data belongs to the period 10.01.2022/08.01.2024, and the association analysis was performed with stock closing prices according to the interestingness rule criteria. ARules () and ARulesViz () packages were used for the Apriori algorithm in the analysis performed in the R programming language, and Shiny () was used for the representation of codes and visuals. In Model 1, which is based on BIST TUM index stocks, 66 association rules were obtained, and in Model 2, which covers BIST TUM-100 index stocks, 34 association rules were obtained. The study concludes that all the parameters analyzed reveal significant and interesting rules, as statistically evidenced by Fisher’s exact p-values, indicating that the companies may be significantly related.
Journal: Celal Bayar Üniversitesi Sosyal Bilimler Dergisi
- Issue Year: 23/2025
- Issue No: 04
- Page Range: 549-575
- Page Count: 27
- Language: English
