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

learn more… | top users | synonyms

30
votes
11answers
9k views

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 ...
21
votes
5answers
2k views

Efficient online linear regression

I'm analysing some data where I would like to perform ordinary linear regression, however this is not possible as I am dealing with an on-line setting with a continuous stream of input data (which ...
14
votes
5answers
3k views

Seeking certain type of ARIMA explanation

This may be hard to find, but I'd like to read a well-explained ARIMA example that uses minimal math extends the discussion beyond building a model into using that model to forecast specific cases ...
17
votes
2answers
3k views

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 ...
23
votes
3answers
3k views

Is it possible to do time-series clustering based on curve shape?

I have sales data for a series of outlets, and want to categorise them based on the shape of their curves over time. The data looks roughly like this (but obviously isn't random, and has some missing ...
22
votes
10answers
7k views

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 ...
14
votes
4answers
3k views

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 ...
9
votes
2answers
2k views

How to find a good fit for semi-sinusoidal model in R?

I want to assume that the sea surface temperature of the Baltic Sea is the same year after year, and then describe that with a function / linear model. The idea I had was to just input year as a ...
6
votes
3answers
766 views

What to make of explanatories in time series?

Having worked mostly with cross sectional data so far and very very recently browsing, scanning stumbling through a bunch of introductory time series literature I wonder what which role explanatory ...
4
votes
1answer
3k views

How to correlate two time series with gaps and different time bases?

I asked this question over on StackOverflow, and was recommended to ask it here. I have two time series of 3D accelerometer data that have different time bases (clocks started at different times, ...
24
votes
5answers
7k views

Time series 'clustering' in R

I have a set of time series data. Each series covers the same period, although the actual dates in each time series may not all 'line up' exactly. That is to say, if the Time series were to be read ...
9
votes
3answers
6k views

How to fit an ARIMAX-model with R?

I have four different time series of hourly measurements: The heat consumption inside a house The temperature outside the house The solar radiation The wind speed I want to be able to predict the ...
15
votes
9answers
2k views

Time series for count data, with counts < 20

I recently started working for a tuberculosis clinic. We meet periodically to discuss the number of TB cases we're currently treating, the number of tests administered, etc. I'd like to start ...
11
votes
5answers
10k views

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 ...
11
votes
6answers
2k views

How to detect a significant change in time series data due to a “policy” change?

I hope this is the right place to post this, I considered posting it on skeptics, but I figure they'd just say the study was statistically wrong. I'm curious about the flip side of the question which ...
11
votes
2answers
2k views

Getting started with neural networks for forecasting

I need some resources to get started on using neural networks for time series forecasting. I am wary of implementing some paper and then finding out that they have greatly over stated the potential of ...
4
votes
2answers
12k views

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: ...
10
votes
1answer
453 views

How do I incorporate an innovative outlier at observation 48 in my ARIMA model?

I am working on a data set. After using some model identification techniques, I came out with an ARIMA(0,2,1) model. I used the detectIO function in the package ...
4
votes
2answers
157 views
11
votes
3answers
1k views

Good introductions to time series (with R)

I am currently collecting data for an experiment into psychosocial characteristics associated with the experience of pain. As part of this, I am collecting GSR and BP measurements electronically from ...
6
votes
2answers
2k views

Computing correlation (and the significance of said correlation) between a pair of time series

I have two time series S, and T. they have the same frequency and the same length. I would like to calculate (using R), the correlation between this pair (i.e. S and T), and also be able to calculate ...
5
votes
3answers
1k views

Outliers spotting in time series analysis, should I pre-process data or not?

My question builds on a previous post on outlier detection in generic time series, and specifically on the answer provided by the always great Rob H. I work for a small-sized manufacturing company ...
4
votes
3answers
437 views

Forecasting time series based on a behavior of other one

Apologies for this vague and unclear question, I have no background in statistics. I have two vectors of time series data, covering a six month period. The data is in daily intervals (except for ...
7
votes
2answers
2k views

Predicting daily electricity load - fitting time series

I want to predict inter-day electricity load. My data are electricity loads for 11 months, sampled in 30 minute intervals. I also got the weather-specific data from a meteorological station ...
14
votes
2answers
2k views

Testing significance of peaks in spectral density

We sometimes use spectral density plot to analyze periodicity in time series. Normally we analyze the plot by visual inspection and then try to draw a conclusion about the periodicity. But has the ...
10
votes
4answers
9k views

How many lags to use in the Ljung-Box test of a time series?

After an ARMA model is fit to a time series, it is common to check the residuals via the Ljung-Box portmanteau test (among other tests). The Ljung-Box test returns a p value. It has a parameter, h, ...
7
votes
0answers
233 views

Updating classification probability in logistic regression through time

I am building a predictive model that forecasts a student's probability of success at the end of a term. I’m specifically interested in whether the student succeeds or fails, where success is usually ...
5
votes
1answer
2k views

How to setup xreg argument in auto.arima() in R? [closed]

I am working on a small project with one time series which measures the customer visit data (daily). My covariates are a continuous variable Day to measure how many ...
4
votes
3answers
179 views

When is it appropriate to select models by minimising the AIC?

It is well established, at least among statisticians of some higher calibre, that models with the values of the AIC statistic within a certain threshold of the minimum value should be considered as ...
3
votes
2answers
2k views

Correlating volume timeseries

Consider the following graph: The red line (left axis) describes the trading volume of a certain stock. The blue line (right axis) describes the twitter message volume for that stock. For instance, ...
8
votes
2answers
697 views

Box-Jenkins model selection

The Box-Jenkins model selection procedure in time series analysis begins by looking at the autocorrelation and partial autocorrelation functions of the series. These plots can suggest the appropriate ...
7
votes
3answers
394 views

What is the term for a time series regression having more than one predictor?

It's pretty tough to search the Web for info on something when you don't know what words are commonly used to describe it. In this case, I'm wondering what it's called when you include another ...
4
votes
2answers
1k views

Non-Correlated errors from Generalized Least Square model (GLS)

As a financial institution, we often run into analysis of time series data. A lot of times we end up doing regression using time series variables. As this happens, we often encounter residuals with ...
4
votes
2answers
724 views

Outlier detection for generic time series

In this case, "generic" being the entire gauntlet of macroeconomic time-series that private and government statistical offices put out. Some background - I recently started working at a data provider ...
3
votes
6answers
459 views

How to assess effect of intervention in one state versus another using annual case fatality rate?

I am a beginner in statistics with just basic knowledge. I have these data: cases, deaths and CFR (Case Fatality Rate-deaths per 100 cases) of a disease for 17 years (1994-2010) from 2 neighbouring ...
9
votes
4answers
274 views

Interpolation of influenza data that conserves weekly mean

Edit I have found a paper describing exactly the procedure I need. The only difference is that the paper interpolates monthly mean data to daily, while preserving the monthly means. I have trouble to ...
3
votes
3answers
2k views

How to identify transfer functions in a time series regression forecasting model?

I am trying to build a time series regression forecasting model for an outcome variable, in dollar amount, in terms of other predictors/input variables and autocorrelated errors. This kind of model ...
2
votes
4answers
855 views

Moving-average model error terms

This is a basic question on Box-Jenkins MA models. As I understand it, an MA model is basically a linear regression of time-series values $Y$ against previous error terms $e_t,..., e_{t-n}$. That is, ...
1
vote
2answers
8k views

How do you interpret results from unit root tests?

I have to do some unit root tests for a project, I'm just unsure on how to interpret the data (which is what I have been asked to do). Here is one of my results: ...
8
votes
2answers
302 views

Why are MA(q) time series models called “moving averages”?

When I read "moving average" in relation to a time series, I think something like $\frac{(x_{t-1} + x_{t-2} + x_{t-3})}3$, or perhaps a weighted average like $0.5x_{t-1} + 0.3x_{t-2} + 0.2x_{t-3}$. ...
5
votes
1answer
189 views

Conditional Expectation has the minimum mean prediction error

Consider $\{X_t\}$ as a general time series including random variables $X_t$. Assume that we have observed $X$'s until time t. The goal is to come up with a function of the observed $X$'s to predict a ...
3
votes
2answers
3k views

How to compare two time series?

I have collected temperature readings for 4 locations on a beach in Cornwall UK using data loggers. The loggers recorded temperature every 15 mins accurate to .1 of a degree (Celsius). The loggers ...
16
votes
1answer
7k views

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. ...
8
votes
1answer
1k views

Time series clustering

I have many time series in this format 1 column in which I have date (d/m/yr) format and many columns that represent different time series like here: ...
9
votes
5answers
3k views

How to compare 2 non-stationary time series to determine a correlation?

I have two data series that plot median age at death over time. Both series demonstrate an increased age at death over time, but one much lower than another. I want to determine if the increase in ...
8
votes
1answer
3k views

How to decompose a time series with multiple seasonal components?

I have a time series that contains double seasonal components and I would like to decompose the series into the following time series components (trend, seasonal component 1, seasonal component 2 and ...
8
votes
2answers
2k views

Detect changes in time series

I came across a picture of an application prototype that finds significant changes ("trends" - not spikes/outliers) in traffic data: I want to write a program (Java, optionally R) that is able to ...
6
votes
3answers
1k views

Relationship between two time series: ARIMA

Given the following two time series (x, y; see below), what is the best method to model the relationship between the long-term trends in this data? Both time series have significant Durbin-Watson ...
6
votes
2answers
6k views

Auto.arima with daily data: how to capture seasonality/periodicity?

I am fitting an ARIMA model on a daily time series. Data are collected daily from 02-01-2010 to 30-07-2011 and are about newspaper sales. Since a weekly pattern in sales can be found (the daily ...
3
votes
2answers
3k views

How to correlate two time series, with possible time differences

The question is similar to How to correlate two time series with gaps and different time bases? but with regular sample frequency and identical time base between two time series. Say I have two time ...