Introduction to longitudinal data: structure and visualisation

21 Nov 2023

An overview of the tools and strategies available to manage and visualise longitudinal cohort studies.

Webinar recording and slides

This event took place on Tuesday 21 November 2023.

You can download a PDF of Introduction to longitudinal data structure and visualisation webinar slides here.


About the session

This webinar is aimed at undergraduate and postgraduate students, early career researchers and governmental analysts interested in conducting research using longitudinal cohort data.

CLS experts discuss what longitudinal data are, their differences compared to other data structures, their advantages and limitations, and the implications for data management and visualisation.

They demonstrate tools to effectively manage and visualise longitudinal data using Stata and data from the UK Millennium Cohort Study (MCS). The examples shown here apply when using any of the CLS cohorts. The CLS cohorts include:


Session details

Date & time: This webinar took place on Tuesday 21 November 2023
Format: MS Teams
Programme outline

Part 1: Long and wide data structures

Introduce the main longitudinal data structures (long and wide), the key differences between them, and how to move from one to the other.

Part 2: The implications of data structures for management and visualisation

Review the implications of long vs wide data structures for data management and visualisation, including implications for recoding variables, generating new variables, and visualising change over time.

Part 3: Examples (and tools) using the Millennium Cohort Study

Illustrate tools to manage and visualise longitudinal data using Stata and data from the UK Millennium Cohort Study, including transition matrices, histograms, box and violin plots, spaghetti plots, and lasagne plots.

CLS presenters

Darío Moreno Agostino, Senior Research Fellow

Darío is a Senior Research Fellow in Population Mental Health. His research interests include the study of social and generational inequalities in mental health and healthy ageing outcomes.

Nicolás Libuy, Senior Research Fellow

Nicolás is a Senior Research Fellow working on a broad range of topics focusing on public health, education, labour and socio-economic conditions. His research uses administrative data linked with longitudinal studies to explore causal associations over the life course.

You might also like...


Getting started: An introduction to four British cohort studies

15 November 2023

This 90-minute session gives first-time users an overview of the 1958, 1970, Next Steps and millennium cohort studies – unique data resources available for researchers across the biomedical and social sciences.

Contact our Communications Team

Event enquiries

Richard Steele
Events and Marketing Officer

Phone: 020 7911 5320

Contact us

Centre for Longitudinal Studies
UCL Social Research Institute

20 Bedford Way
London WC1H 0AL


Follow us