Giter Club home page Giter Club logo

superstore---time_series_analysis's Introduction

Superstore - Time Series Analysis

A Time Series Analysis and Forecasting, using ARIMA and Prophet models, on a superstore dataset.

Time Series Analysis

Time Series Analysis comprises of motheds for analyzing time series data in order to extract meaningful statistics and other characteristics of the data. Time series forecasting is the use of a model to predict future values based on previously observed values.

Time Series are widely used for non-stationary data like economy, weather, stock price and retail sales.

This project uses Superstore (superstore.xls) Sales data.

Overview

This project aims to,

  1. Analyze time series data.
  2. Forecast (predict) future values for the same.

In order to achieve the above goals two important and efficient moudules are used,

  1. ARIMA
  2. Prophet

ARIMA

The most commonly used method for time series forecasting is known as ARIMA. ARIMA stands for Auto-Regressive Integrated Moving Average.

ARIMA models are denoted with the notation ARIMA(p, d, q). These three parameters account for seasonality, trend, and noise in data.

Prophet

Released by Facebook in 2017, forecasting tool Prophet is designed for analyzing time-series data based on additive model that display linear and/or non-linear patterns on different time scales such as yearly, weekly and daily. It also has advanced capabilities for modeling the effects of holidays on a time-series and implementing custom changepoints.

It is fast and provides completely automated forecasts that can be tuned by hand by data scientists and analysts. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.

Conclusion

The first model (ARIMA) clearly captured furniture sales seasonality. As the forecast goes further out into the future, it is natural to become less confident with the values. This is reflected by the confidence intervals generated by the first model (ARIMA), which grow larger as the model move further out into the future.

The second model (Prophet) gave following insights,

  1. The sales for both furniture and office supplies have been linearly increasing over time and will be keep growing, although office supplies’ growth seems slightly stronger.
  2. The worst month for furniture is April, the worst month for office supplies is February. The best month for furniture is December and the best month for office supplies is October.

superstore---time_series_analysis's People

Contributors

aayushchaube avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rajnidahiya

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.