Code Monkey home page Code Monkey logo

sc5010's Introduction

Google Stock Price Analysis

In our modern world, Tech Companies have rapidly grown from niche markets to providing services used by almost everyone. However, as the sector has rapidly expanded, multiple tech companies have established themselves and compete with each other. This brings up the question: How does Google, one of the largest and well known company in the sector, affected by its competitors.

In this project, we hope to compare the effectiveness of using other stocks to predict the price and using time series models. In this way, we can understand deeper about the differences of machine learning models and statistical models.

Notebooks

  1. Data Acquisition and Clean-up
  2. Exploratory Data Analysis
  3. Model 1: Linear Regression
  4. Model 2: Tree Based Regression
  5. Model 3, 4, and 5: Moving Average and Exponential Smoothing
  6. Model 5: SARIMA

Problem Definition

  • Are we able to predict the closing price of Google stocks using the stocks of other Information-Technology companies
  • Out of all the models we used, which one "best" predicts the Google price.

Conclusion

  • All models can be used to predict Google stocks at relatively low mean-squared errors.
  • Model 4 Exponential Smoothing is the best model to predict Google stocks because it has the lowest mean-squared error.
  • Model 3 Moving Average is the least suitable model among the 6 models to predict Google stocks because it has the highest mean-squared error.

What did we learn from this project?

  • Decision Tree Regression, Moving Average, Exponential Smoothing and SARIMA
  • Other packages such as tqdm, itertools, statsmodels.api and warnings
  • Collaborating using GitHub

References

  1. Brownlee, J. (2020, 22 juni). How to Remove Trends and Seasonality with a Difference Transform in Python. Machine Learning Mastery. Geraadpleegd op 24 april 2022, van https://machinelearningmastery.com/remove-trends-seasonality-difference-transform-python/#:%7E:text=Differencing%20is%20a%20method%20of,structures%20like%20trends%20and%20seasonality.
  2. Akaike Information Criterion https://www.scribbr.com/statistics/akaike-information-criterion/#:~:text=The%20Akaike%20information%20criterion%20(AIC,best%20fit%20for%20the%20data.
  3. R. (2020, 24 juni). Cleaning Time Series Data : Time Series Talk [Video]. YouTube. https://www.youtube.com/watch?v=7_Js8h709Dw&feature=youtu.be

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.