27
$\begingroup$

When talking about longitudinal data, we may refer to data collected over time from the same subject / study unit repeatedly, thus there are correlations for the observations within the same subject, i.e., within-subject similarity.

When talking about time-series data, we also refer to the data collected over a series of time and it seems very similar to the longitudinal setting mentioned above.

I'm wondering if someone can provide a clear clarification between these two terms, what is the relationship and what are the differences?

$\endgroup$
5
  • 4
    $\begingroup$ This may turn into a poll... I have worked on both types of data, and one key difference seems to be that longitudinal data is often used in causal analyses, to understand the impact of interventions or treatments, whereas time series are often used in forecasting. Of course, the difference is not clear-cut (you need to understand the underlying drivers to forecast, and IMO you haven't understood the drivers unless you can forecast well). But people who do signal detection in time series often don't care so much about forecasting, so they would probably reject my distinction. $\endgroup$ Commented Apr 11, 2014 at 15:24
  • $\begingroup$ Thanks for your comments. But I think the term "causal" may not be appropriate here rather the term "association" should be better? In terms of the purpose of the data analysis, I think your comments made some sense to me. But can't we use the longitudinal data to do forecast? Since it's also kind of time series data. $\endgroup$
    – askming
    Commented Apr 11, 2014 at 15:32
  • 1
    $\begingroup$ You do have a point re "causal" vs. "association", and of course longitudinal data can be used to forecast - it's just that I don't often see the two concepts together. Forecasters usually talk about time series. Apart from that, I couldn't put it any better than @gung. $\endgroup$ Commented Apr 11, 2014 at 15:57
  • 3
    $\begingroup$ One of possible typical (not definitional) differences is that in time series you see and model time $t$ response as dependent on $t-1$ state; this is carryover effect. In longitudinal time analysis you usually consider time as permanent, evolutionary background factor. $\endgroup$
    – ttnphns
    Commented Apr 11, 2014 at 16:00
  • 4
    $\begingroup$ See also other threads, e.g. stats.stackexchange.com/questions/7110/… stats.stackexchange.com/questions/11413/… $\endgroup$
    – Nick Cox
    Commented Apr 12, 2014 at 7:44

5 Answers 5

23
$\begingroup$

I doubt there are strict, formal definitions that a wide range of data analysts agree on.

In general however, time series connotes a single study unit observed at regular intervals over a very long period of time. A prototypical example would be the annual GDP growth of a country over decades or even more than a hundred years. For an analyst working for a private company, it might be monthly sales revenues over the life of the company. Because there are so many observations, the data are analyzed in great detail, looking for things like seasonality over different periods (e.g., monthly: more sales at the beginning of a month just after people have been paid; yearly: more sales in November and December, when people are shopping for the Christmas season), and possibly regime shifts. Forecasting is often very important, as @StephanKolassa notes.

Longitudinal typically refers to fewer measurements over a larger number of study units. A prototypical example might be a drug trial, where there are hundreds of patients measured at baseline (before treatment), and monthly for the next 3 months. With just 4 observations of each unit in this example, it is not possible to try to detect the kinds of features time series analysts are interested in. On the other hand, with patients presumably randomized into treatment and control arms, causality can be inferred once the non-independence has been addressed. As that suggests, often the non-independence is considered almost a nuisance, rather than the primary feature of interest.

$\endgroup$
2
  • $\begingroup$ If I understand correctly: time series allow forecasting, but longitudinal data probably not due to collecting fewer historical measurements over a host of subjects. If one wants to forecast over longitudinal data, one needs N forecasting models, one per subject, to attain good predictive power, but we might not have enough data per subject to build performant forecasting models. What do you think? I am not sure if building one forecasting model over longitudinal data for all subjects is performant, not to mention that the IID assumption would be violated. $\endgroup$
    – Rafs
    Commented Jun 27, 2023 at 8:00
  • $\begingroup$ @Rafs, usually the 2 situations are different. A longitudinal study is conducted to test some hypothesis. Forecasting is a different activity. If you wanted to know about forecasting from longitudinal type data, you should ask a new question. $\endgroup$ Commented Jun 27, 2023 at 11:42
17
$\begingroup$

In Econometrics there are three main kinds of datasets:

  • cross section: different subjects at the same time; think of it as one row with many columns corresponding to different subjects;
  • time series: the same subject at different times; think of it as one column with rows corresponding to different time points;
  • panel (longitudinal): many subjects at different times, you have the same subject at different times, and you have many subjects at the same time; think of it as a table where rows are time points, and columns are subjects.

As @whuber there are many different kinds of data and datasets out there beyond these three. For instance, perceptive data such as images and videos, texts and other non-structured data.

$\endgroup$
5
  • 3
    $\begingroup$ Based on your comments, it seems the longitudinal data is a set of multiple time series data collected from different subjects? $\endgroup$
    – askming
    Commented Apr 11, 2014 at 15:29
  • 2
    $\begingroup$ Generally, yes, you could see each subjects data as time series. In practice though, longitudinal data often has very few time points for each subject. They call the time points waves. For instance, it could be medical study where each patient has 4-5 observations at monthly intervals, and hundreds of patients over the course of years. That way panel data sets are often unbalanced (think of a very sparse table), so longitudinal studies have their own favorite methods to deal with this. $\endgroup$
    – Aksakal
    Commented Apr 11, 2014 at 15:32
  • $\begingroup$ This is helpful given the question, but there are many other kinds of datasets that don't fall under any of these headings. However, they don't seem relevant to the question, and trying to classify every possible kind of dataset would be futile here. Examples: any dataset where the basic structure is subject x subject; any dataset that aren't two-dimensional. $\endgroup$
    – Nick Cox
    Commented Apr 12, 2014 at 7:42
  • $\begingroup$ @NickCox, true, but I'm in econometrics, and these three are the ones with developed theories, and mostly used in our field $\endgroup$
    – Aksakal
    Commented Apr 12, 2014 at 13:58
  • 3
    $\begingroup$ No doubt you are, but nothing in the question obliges or even encourages a narrowly econometric viewpoint, nor was your specific perspective made explicit. $\endgroup$
    – Nick Cox
    Commented Apr 12, 2014 at 14:26
6
$\begingroup$

These two terms might not be related in the way the OP assumes--i.e., I don't think they are competing modes of analyses.

Instead time-series analysis describes a set of lower-level techniques which might be useful to analyze data in a longitudinal study.

The object of study in time series analysis is some time-dependent signal.

Most techniques to analyze and model / predict these time-dependent signals are built upon the premise that these signals are decomposable into various components. The two most important are:

  • cyclic components (eg, daily, weekly, monthly, seasonal); and

  • trend

In other words, time series analysis is based on exploiting the cyclic nature of a time-dependent signal to extract an underlying signal.

$\endgroup$
2
$\begingroup$

What Are Longitudinal Data?

Longitudinal data, sometimes referred to as panel data, track the same sample at different points in time. The sample can consist of individuals, households, establishments, and so on. In contrast, repeated cross-sectional data, which also provides long-term data, gives the same survey to different samples over time.

Longitudinal data have a number of advantages over repeated cross-sectional data. Longitudinal data allow for the measurement of within-sample change over time, enable the measurement of the duration of events, and record the timing of various events. For example, suppose the unemployment rate remained high for a long period of time. One can use longitudinal data to see if the same group of individuals stays unemployed over the entire period or if different groups of individuals move in and out of unemployment over the time period.

Source

$\endgroup$
0
$\begingroup$

To make it simple I will assume a study of individuals, but the same applies to any unit of analysis. It isn't complicated, time series is data collected over time, usually implying the same measurement from an equivalent population at separate time intervals - or collected continuously but analyzed at timed intervals.
Longitudinal data much broader in scope. The equivalent population is replaced by the identical population, so individual data can be paired or joined over time. Longitudinal data can be repeated measurements or not depending on the goal of the study. When Longitudinal data looks like a time series is when we measure the same thing over time. The big difference is that in a time series we can measure the overall change in the measurement over time (or by group) while in a longitudinal analysis you actually have the measurement of change at the individual level. So you have much more potential for analysis and the measurement of change is without error if sampling is involved, so a longitudinal study can be more precise and informative.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.