- Introduced by
- Emerging from ambulatory assessment and wearable technology research communities
- Year
- 1990s–2000s (accelerated with IoT and wearable devices from ~2010)
- Type
- Longitudinal quantitative/mixed data collection technique
- Family
- Data collection
What does it do?
Longitudinal sensor data collection deploys physical or digital sensors to record phenomena continuously or at regular intervals across an extended study period — days, months, or years.
Unlike one-shot measurement, the repeated temporal structure captures change, trajectory, and variability in outcomes such as physical activity, environmental exposure, sleep, or physiological state. The approach combines the ecological validity of real-world sensing with the analytical power of longitudinal design.
The intuition behind the method
Think of fitting participants with a wrist-worn accelerometer for six months to track physical activity as they go through a cardiac rehabilitation program. The sensor logs every movement around the clock without asking participants to remember or report — it simply records. By examining how activity patterns evolve week by week, researchers can detect who improves, who relapses, and what contextual factors (weather, mood, social events) predict those trajectories. The longitudinal dimension is what transforms a snapshot into a story of change.
History
Ambulatory monitoring of physiology and movement predates digital sensing, and activity-recording devices (actigraphs) have long been used in sleep research. Momentary sampling of self-report in natural settings, with reporting guidelines covering sampling design, compliance, and data management, is described in Stone and Shiffman (2002). Longitudinal designs have increasingly been combined with electronic sensors, and the spread of smartphones and consumer wearables has made longitudinal sensing more accessible and finer-grained.
When to use it
Use longitudinal sensor data collection when the research question concerns change, trajectory, or cumulative exposure over time and when self-report recall would be unreliable or burdensome. It is well-suited to health behaviour research (physical activity, sleep, adherence), environmental science (pollution exposure), affective computing, and rehabilitation or intervention studies. The method is appropriate when participants can wear or interact with devices across the study window, institutional data infrastructure for secure storage exists, and the research budget covers sensor hardware and maintenance. Do not use it when the phenomenon of interest cannot be operationalised as a sensor signal, when participant burden from continuous monitoring is unacceptable, when the study window is very short (a single session), or when cross-sectional data would suffice to answer the question.
Limitations and considerations
- Sensor hardware, cloud infrastructure, and data management add significant cost compared with paper or online surveys.
- Non-wear and device removal create gaps that are often not random: participants who take a device off may differ systematically from those who keep it on, so the missing-data mechanism needs explicit assessment.
- Compliance monitoring and attrition are persistent threats: participants may stop charging or wearing devices or drop out, creating systematic missing data.
- Raw streams require preprocessing expertise; errors in artefact removal or epoch derivation propagate into every downstream model.
- Longitudinal designs raise ethical concerns around continuous surveillance, data security, and the right to withdraw; informed consent processes must address all of these explicitly.
- Sensor validity varies by device quality and population. Before use in research, the accuracy of any device, including consumer-grade wearables, should be checked against a reference standard for the population and outcome of interest.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Passive recording does not depend on participants recalling or reporting their behaviour. Stone and Shiffman (2002) describe recall bias in retrospective self-report, a related but distinct concern that momentary designs aim to reduce.
- Time-stamped epochs allow within-person trajectories and daily rhythms to be estimated for the same individuals across the whole study window, rather than from a small number of survey waves.
- Device metadata logged with each stream (device ID, firmware version, battery state) makes it possible to check which data came from which device and when, supporting audit of the record.
- Measurements are taken in participants' everyday environments, so the recorded activity or exposure reflects ordinary conditions rather than a single laboratory session.
- Once devices are deployed, the marginal per-day effort of extending the observation period can be lower than that of repeated survey contacts, but compliance monitoring, attrition management, and data storage costs still scale with study duration.
Applications
- Tracking daily physical activity and sedentary behaviour trajectories during cardiac rehabilitation programs.
- Monitoring sleep architecture longitudinally in studies of insomnia treatment or shift-work health outcomes.
- Measuring personal air-pollution exposure over months in urban environmental epidemiology cohorts.
- Capturing continuous glucose and heart-rate variability data in diabetes self-management research.
- Logging GPS mobility patterns across months to study social isolation trajectories in older adults.
- Recording physiological stress indicators such as skin conductance across an academic semester in student wellbeing research.
How it works
How it works
The researcher specifies the study duration, sampling resolution (continuous streaming vs. fixed epochs such as every 60 seconds), the sensor type (accelerometer, heart-rate monitor, GPS, environmental sensor, etc.), and the temporal design (panel, cohort, or intensive repeated-measures). Ethical protocols including data minimisation and participant withdrawal procedures are established before deployment.
Sensors are calibrated, initialised, and issued to participants (or installed in environments). Participants receive instructions for wearing or maintaining devices, charging schedules, and procedures for handling malfunctions. Baseline demographic and contextual data are collected at this stage to support later covariable analysis.
Sensors record data autonomously throughout the study window. Depending on connectivity, data may transmit to a central server in near-real-time via Bluetooth or cellular links, or accumulate locally for periodic offloading during check-in visits. Compliance monitoring — checking that devices are worn and functioning — is conducted throughout the field period.
Raw sensor streams are stored in time-stamped databases. Data provenance metadata (device ID, firmware version, battery state, participant ID, epoch) are logged alongside the measurements. Secure, redundant storage with access controls is essential given the personally sensitive nature of physiological and locational data.
Raw sensor output is cleaned: artefacts caused by device removal or malfunction are identified and removed or imputed; signals are calibrated against manufacturer or lab reference values; epoch-level summary metrics (e.g., mean activity counts per hour, step counts per day) are derived. Missing data patterns are documented and handled transparently.
Cleaned longitudinal sensor data are analysed with methods suited to repeated-measures time-structured data — multilevel models, mixed-effects models, latent growth curve models, or time-series approaches. Model choice should follow the research question: multilevel and mixed-effects models suit comparisons of average trajectories across persons, growth curve models describe the shape of individual trajectories, and time-series models address within-person dynamics. Each model rests on assumptions that must be checked: the random-effects structure must be correctly specified; standard estimation assumes that missingness depends only on observed variables, so non-wear gaps that relate to unobserved activity levels require explicit sensitivity analysis; successive epochs are usually autocorrelated, and this residual dependence must be modelled or standard errors will be too small; growth curve models assume a specified functional form for the trajectory (e.g., linear or quadratic) and need enough repeated measurements per person; time-series approaches need sufficiently long series per individual. Trajectories of change are estimated, individual differences in trajectories are modelled, and associations with covariates (age, clinical status, intervention condition) are tested.
Common pitfalls
- Underestimating missing data: non-wear time is frequently conflated with low activity; researchers must implement validated non-wear algorithms and document assumptions transparently.
- Ignoring calibration drift: sensor accuracy may change over a long study period; where calibration stability is uncertain, periodic re-calibration checks should be planned and documented.
- Over-collecting without analysis plan: storing vast sensor streams without a prespecified analysis plan leads to fishing expeditions and inflated false-positive rates; register hypotheses and analytic choices before data collection.
- Treating all participants as equivalent: individual differences in how participants wear devices (placement, tightness, skin type) create systematic measurement heterogeneity that must be modelled or controlled.
- Neglecting participant burden: even passive sensing imposes cognitive and lifestyle burden; excessive compliance requirements reduce retention and introduce attrition bias.
Frequently asked questions
How long does a longitudinal sensor study need to run?
Duration depends entirely on the research question. Studies examining daily or weekly rhythms may need only two to four weeks; those tracking behaviour change through an intervention often run three to six months; cohort studies of chronic-disease trajectories may span years. The key criterion is whether the study window is long enough to observe meaningful variation in the phenomenon of interest.
How do I handle non-wear time in my sensor data?
Non-wear must be distinguished from genuine low-activity periods. Validated non-wear algorithms typically look for extended runs of zero or near-zero sensor output and classify those epochs as non-wear; the exact rule should be taken from the validation study for the device and population used. Flagged epochs are then excluded or handled with principled imputation. The detection method, its parameters, and the minimum valid wear time required per day must be reported in the methods section.
What sample size do I need?
A power calculation for longitudinal sensor studies must account for the expected effect size in the trajectory outcome, the number of repeated observations per participant, the intraclass correlation (clustering of observations within persons), and the anticipated attrition rate. Multilevel power tools or simulation of the planned model are appropriate. Very high temporal resolution per participant can sometimes compensate for a smaller N, but that trade-off should be justified rather than assumed.
Are consumer wearables (Fitbit, Apple Watch) acceptable for research?
Consumer devices offer convenience and participant familiarity but may have lower accuracy than research-grade devices, may use proprietary algorithms that are not fully documented, and may restrict access to raw data. They are appropriate when the research question concerns relative change rather than absolute calibrated values, the device has been validated against a reference standard for the population and outcome of interest, and data export is sufficiently granular for the analysis plan. Report the validation study for the specific device and metric used.
How is this different from ecological momentary assessment (EMA)?
EMA is a self-report method that prompts participants to record their own experiences at random or event-contingent moments in daily life. Longitudinal sensor data collection is largely passive: the device records automatically without requiring active participant input. The two are often combined, with sensor streams providing objective behavioural or physiological context alongside self-reported psychological states from EMA prompts.
Related methods
Sources
Lanza, S. T., Collins, L. M., Lemmon, D. R., & Schafer, J. L. (2005). PROC LCA: A SAS procedure for latent class analysis. Structural Equation Modeling, 14(4), 671–694. [For longitudinal intensive repeated-measures designs context, see also: Shiffman, S., Stone, A. A., & Hufford, M. R. (2008). Ecological momentary assessment. Annual Review of Clinical Psychology, 4, 1–32.]
Open publication referenceStone, A. A., & Shiffman, S. (2002). Capturing momentary, self-report data: A proposal for reporting guidelines. Annals of Behavioral Medicine, 24(3), 236–243.
Open DOI reference