Uppsats
Stock market estimation : Using Linear Regression and Random Forest
Kandidat-uppsats
Umeå universitet/Institutionen för datavetenskap
Publicerad: 2022
Språk: Engelska
Nyckelord
klicka för att sökaSammanfattning
Stock market speculation is captivating to many people. Millions of people worldwide sell and buy stocks in the hope of turning a profit. By using machine learning could Random Forest or Linear Regression estimate which direction the trend of the stock market is heading, and would Random Forest outperform Linear Regression since it involves more complex methods. To explore the subject, several stocks from Nasdaq and the index of Swedish OMX are studied and used to evaluate the machine learning models. The data was modified to measure the change in percentage to accommodate the Random Forests inability to extrapolate. The return on investment in percentage was chosen as a dependent variable. Without a technical analysis both models performed poorly, but when RSI 14, EMA 10 and SMA 10 was added, both models proved significant, while Random Forest proved the superior of them both. Hyperparameter optimization was applied on Random Forest to evaluate if it was possible to prove it even more superior to Linear Regression, but alas, it only gave an improvement in half of the datasets, which made it inconclusive. This thesis adds to the already existing papers of predicting stock prices, but goes into exploring the difference between Random Forest and Linear Regression to see if there are any obvious differences in their ability to estimate the direction of a stock’s price in a near future.
Information
- Författare
- Kastberg, Daniel
- Lärosäte / institution
- Umeå universitet/Institutionen för datavetenskap
- Publiceringsdatum
- 2022
- Uppsatstyp
- Kandidat-uppsats
- Språk
- Engelska
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Kandidat-uppsats, Umeå universitet/Institutionen för datavetenskap
Velkov, Viktor
Publicerad: 2026
Kandidat-uppsats, Umeå universitet/Institutionen för datavetenskap
Alexandre, Fredrik
Publicerad: 2026
Kandidat-uppsats, Göteborgs universitet/Institutionen för data- och informationsteknik
Lindström Bermann,Freja Nicole Tiger, Edlund, Jennie, Rankanen Jason, Isac
Publicerad: 2026-02-23
Kandidat-uppsats, Högskolan i Skövde/Institutionen för handel och företagande
Kling, Ellen, Rakh, Shilan
Publicerad: 2026
Kandidat-uppsats, Lunds universitet/Matematisk statistik
Truong, Nancy
Publicerad: 2026
Kandidat-uppsats, Karlstads universitet/Institutionen för hälsovetenskaper (from 2013)
Thoreson, Alice, Svensson, Björn
Publicerad: 2026