K-MEANS AND K-MEDOID ALGORITHM APPLICATION IN CLUSTERING STOCK DATA IN INDONESIA

Juliano Victor Christian Medellu, Edwin Setiawan Nugraha

Abstract


Stock or share is a sign of a person's or a business party's capital participation in a company. In the context of stock, the meaning of investment itself is an activity of investing funds or capital in a company. The investment is expected to generate profits and not vice versa, therefore a good consideration is needed in the selection of the company's shares to be purchased. Parameters that can be used as the basis for consideration are the level of volatility, liquidity, and also market capitalization. Volatility is an indicator of the rate of change in stock prices that implies the risk of how the stock market price moves. The greater the level of volatility, the greater the risk of the stock market. Liquidity is an indicator of how easy the shares are to be sell and purchased without affecting the asset price. Meanwhile, stocks with high market capitalization will be difficult to play with. Therefore we need to know the characteristics of stocks before investing our fund. The results of data clustering using K-Means and K-Medoid help us to understand the characteristics of stocks. With the effectiveness of the clustering algorithm, we can see the characteristics of stocks, from those with a high risk, high level of liquidity, and also could calculate the average market capitalization in the clustering result for each cluster. The results of this analysis can be the basis for good stock selection, based on the
stock historical data.


Keywords


K-Means; K-Medoid; Volatility; Liquidity; Market Capitalization

Full Text:

PDF

References


Belajar, P. (2018, December 16). Algoritma K-Medoid dan Contoh Perhitungan Manual. Accessed April 27, 2021, from http://studyshut.blogspot.com/2018/12/algoritma-k-medoid-dan-contoh.html

Binty, T. (2019, July 8). K-Medoids/Partitioning Around Medoids (PAM) — Non Hierarchical Clustering with R. Accessed April 27, 2021, from https://medium.com/@tribinty/k-medoids-partitioningaround-medoids-pam-non-hierarchical-clustering-with-r-9d0af590bbc0

Cermati.com. (2020, September 11). Investasi Saham: Hal-Hal Dasar yang Mesti Anda Ketahui. Accessed April 28, 2021, from https://www.cermati.com/artikel/investasi-saham-hal-hal-dasaryang-mesti-anda-ketahui

D. (2020, June 3). RPubs - Unsupervised Learning: Stocks Clustering. Accessed April 24, 2021, from https://rpubs.com/David21/stocksclustering

F, N. H. (2020, April 26). RPubs - Principal Component Analysis (PCA). Accessed April 28, 2021, from

https://rpubs.com/nadhifanhf/principal-component-analysis

G. (2019, April 22). Knn distance plot for determining eps of DBSCAN. Accessed April 28, 2021, from http://htydjtk.blogspot.com/2019/04/knn-distance-plot-for-determining-eps.html

Indonesia, P. T. B. E. (n.d.). Daftar Saham. Accessed April 24, 2021, from https://www.idx.co.id/datapasar/data-saham/daftar-saham/

Larose, D. T. (2005). Discovering knowledge in data: an introduction to data mining. New Jersey: John

Wiley & Sons. Accessed April 21, 2021.

Priharto, S. (2021, January 29). Volatility Adalah: Pengertian, Jenis, Penyebab, dan Cara Menghitungnya. Accessed April 27, 2021, from https://accurate.id/ekonomi-keuangan/volatility-adalah/

S. (2018, September 7). Analisis Cluster dengan Menggunakan metode K-Means dan K-Medoids. Accessed April 27, 2021, from https://swanstatistics.com/analisis-cluster-denganmenggunakan-metode-k-means-dan-k-medoids/

Umran, M., & Abidin, T. F. (2009). Pengelompokkan Dokumen Menggunkan K-Means dan Singular Value Decomposition: Studi Kasus Menggunakan Data Blog. Accessed April 21, 2021, from

https://docplayer.info/33226080-Pengelompokkan-dokumen-menggunakan-k-means-dansingular-value-decomposition-studi-kasus-menggunakan-data-blog.htm

l

Widyawati, N. (2010). Perbandingan Clustering Based On Frequent Word Sequence (FWS) dan K-Means Untuk Pengelompokkan Dokumen Berbahasa Indonesia. Bandung. Accessed April 24, 2021.

Yobero, C. (2018, January 2). RPubs - K-Means Clustering Tutorial. Accessed April 21, 2021, from https://rpubs.com/cyobero/k-means


Refbacks

  • There are currently no refbacks.


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


Editorial Office:

President University Actuarial Science: Jalan Ki Hajar Dewantara, Mekarmukti, Cikarang Utara, Bekasi 17530