Selection of agricultural industry stocks by application of K-means algorithm with Elbow method
Keywords:
Agricultural Products Industry, Elbow Method, Financial Ratios, K-Means Clustering, Portfolio ConcentrationAbstract
Portfolio concentration is investing in assets with specific characteristics within the same sector. Agricultural product industry stocks can be used as an option to form portfolio concentration because they have good growth and performance. This study aims to cluster agricultural product industry stocks listed on the Indonesia Stock Exchange from 2020-2023 using the K-Means clustering algorithm with the Elbow method using the Python 3.10 analysis tool to determine clusters that contain a collection of stocks with the best financial performance. The research resulted in an optimal number of clusters of 3, namely cluster numbers 0, 1, and 2. The cluster that contains a collection of stocks with the best financial performance is cluster number 2, which is filled by Bisi International Tbk (BISI), PP London Sumatra Indonesia Tbk (LSIP), and Putra Utama Makmur Tbk (DPUM). Cluster number 1 has several stocks with relatively good financial performance as it is adjacent to cluster number 2, namely Astra Agro Lestari Tbk (AALI), Sumber Tani Agung Resources Tbk (STAA), and Charoen Pokphand Indonesia Tbk (CPIN).