Questions tagged [time-series]

Time series are data observed over time (either in continuous time or at discrete time periods).

Overview

Time series are data observed over time (either in continuous time or at discrete time periods), usually at recurring intervals such as days, weeks, months, or years. (Series of data irregularly spaced in time that record random events are usually termed "point processes" and are analyzed with methods distinct from those of time series analysis.)

Time series analysis includes trend identification, temporal pattern recognition, spectral analysis, and forecasting future values (or any other values at times without observations).

The salient characteristic of methods of time series analysis (as opposed to more general methods to analyze relationships among data) is accounting for the possibility of serial correlation (also known as autocorrelation and temporal correlation) among the data. Positive serial correlation means successive observations in time tend to be close to one another, whereas negative serial correlation means successive observations tend to oscillate between extremes. Time series analysis also differs from analyses of more general stochastic processes by focusing on the inherent direction of time, creating a potential asymmetry between past and future.

References

This thread contains a list of references on time series:

The following journals are dedicated to researching time series:

14544 questions
152
votes
9 answers

Why does a time series have to be stationary?

Would like to understand primary reasons for making a data stationary? I understand that a stationary time series is one whose mean and variance is constant over time. Can someone please explain why we have to make sure our data set is stationary…
alex
  • 1,521
150
votes
19 answers

Books for self-studying time series analysis?

I started by Time Series Analysis by Hamilton, but I am lost hopelessly. This book is really too theoretical for me to learn by myself. Does anybody have a recommendation for a textbook on time series analysis that's suitable for self-study?
CuriousMind
  • 2,365
139
votes
5 answers

Using k-fold cross-validation for time-series model selection

Question: I want to be sure of something, is the use of k-fold cross-validation with time series is straightforward, or does one need to pay special attention before using it? Background: I'm modeling a time series of 6 year (with semi-markov…
Mickaël S
  • 1,558
110
votes
13 answers

Simple algorithm for online outlier detection of a generic time series

I am working with a large amount of time series. These time series are basically network measurements coming every 10 minutes, and some of them are periodic (i.e. the bandwidth), while some other aren't (i.e. the amount of routing traffic). I would…
97
votes
4 answers

How to use Pearson correlation correctly with time series

I have 2 time-series (both smooth) that I would like to cross-correlate to see how correlated they are. I intend to use the Pearson correlation coefficient. Is this appropriate? My second question is that I can choose to sample the 2 time-series as…
user1551817
  • 1,273
92
votes
1 answer

How to apply Neural Network to time series forecasting?

I'm new to machine learning, and I have been trying to figure out how to apply neural network to time series forecasting. I have found resource related to my query, but I seem to still be a bit lost. I think a basic explanation without too much…
solartic
  • 1,055
86
votes
6 answers

What method can be used to detect seasonality in data?

I want to detect seasonality in data that I receive. There are some methods that I have found like the seasonal subseries plot and the autocorrelation plot but the thing is I don't understand how to read the graph, could anyone help? The other thing…
Danial
  • 869
85
votes
11 answers

What is wrong with extrapolation?

I remember sitting in stats courses as an undergrad hearing about why extrapolation was a bad idea. Furthermore, there are a variety of sources online which comment on this. There's also a mention of it here . Can anyone help me understand why…
AGUY
  • 1,124
82
votes
9 answers

What algorithm should I use to detect anomalies on time-series?

Background I'm working in Network Operations Center, we monitor computer systems and their performance. One of the key metrics to monitor is a number of visitors\customers currently connected to our servers. To make it visible we (Ops team) collect…
80
votes
8 answers

How to statistically compare two time series?

I have two time series, shown in the plot below: The plot is showing the full detail of both time series, but I can easily reduce it to just the coincident observations if needed. My question is: What statistical methods can I use to assess the…
robintw
  • 2,227
71
votes
7 answers

Real-life examples of moving average processes

Can you give some real-life examples of time series for which a moving average process of order $q$, i.e. $$ y_t = \sum_{i=1}^q \theta_i \varepsilon_{t-i} + \varepsilon_t, \text{ where } \varepsilon_t \sim \mathcal{N}(0, \sigma^2) $$ has some a…
weez13
  • 1,197
  • 2
  • 10
  • 12
70
votes
3 answers

Proper way of using recurrent neural network for time series analysis

Recurrent neural networks differ from "regular" ones by the fact that they have a "memory" layer. Due to this layer, recurrent NN's are supposed to be useful in time series modelling. However, I'm not sure I understand correctly how to use them.…
64
votes
7 answers

Period detection of a generic time series

This post is the continuation of another post related to a generic method for outlier detection in time series . Basically, at this point I'm interested in a robust way to discover the periodicity/seasonality of a generic time series affected by a…
gianluca
  • 2,011
63
votes
6 answers

A chart of daily cases of COVID-19 in a Russian region looks suspiciously level to me - is this so from the statistics viewpoint?

Below is a daily chart of newly-detected COVID infections in Krasnodar Krai , a region of Russia, from April 29 to May 19. The population of the region is 5.5 million people. I read about it and wondered - does this (relatively smooth dynamics of…
63
votes
7 answers

Is there any gold standard for modeling irregularly spaced time series?

In field of economics (I think) we have ARIMA and GARCH for regularly spaced time series and Poisson, Hawkes for modeling point processes, so how about attempts for modeling irregularly (unevenly) spaced time series - are there (at least) any common…
1
2 3
…
99 100