Giter Site home page Giter Site logo

dsc-time-series-section-recap-london-ds-02172020's Introduction

Exploring Time Series Data - Recap

Key Takeaways

The key takeaways from this section include:

  • When you import time series data into Pandas, make sure to use the time/date information as index values using either a Pandas timestamp or Python datetime data type
  • There are a range of built-in methods in Pandas for easily downsampling or upsampling time series data
  • Line plots and dot plots can be useful for getting a sense of how a time series dataset changes over time
  • Histograms and density plots can be useful for getting a sense of the time-independent distribution of a time series
  • Box and whisker plots per year (or other seasonality period - day, week, month, etc) can be a great way to easily see trends in the distribution of time series data over time
  • Heat maps can also be useful for comparing changes of time series data across a couple of dimensions. For example, with months on one axis and years on another, they can be a great way to see both seasonality and year on year trends
  • A time series is said to be stationary if its statistical properties such as mean and variance remain constant over time
  • Most time series models work on the assumption that the time series are stationary (assumption of homoscedasticity)
  • Many time series datasets do have trends, violating the assumption of homoscedasticity
  • Common examples are trends that include linear (straight line over time), exponential, and periodic. Some datasets also have increasing (or decreasing) variance over time
  • Any given dataset may exhibit multiple trends (e.g. linear, periodic, and reduction of variance)
  • Rolling statistics can be used to test for trends to see whether the centrality and/or dispersion of time series changes over time
  • The Dickey-Fuller test is a common test for determining whether a time series contains trends
  • Common approaches for removing trends and seasonality include taking a log-transform, subtracting the rolling mean, and differencing
  • Decomposing allows you to separately view seasonality (which could be daily, weekly, annual, etc), trend, and random, which is the variability in time series after removing the effects of the seasonality and trend

dsc-time-series-section-recap-london-ds-02172020's People

Contributors

cheffrey2000 avatar fpolchow avatar loredirick avatar peterbell avatar sumedh10 avatar taylorhawks avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.