Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

npj Digital Medicine
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. npj digital medicine
  3. articles
  4. article
An interactive tool to personalise 24-hour activity, sitting and sleep prescription for optimal health outcomes
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 17 March 2026

An interactive tool to personalise 24-hour activity, sitting and sleep prescription for optimal health outcomes

  • Maddison L. Mellow1,
  • Tyman E. Stanford1,
  • Timothy Olds1,
  • Aaron Miatke1,
  • Ashleigh E. Smith1 na1 &
  • …
  • Dorothea Dumuid1 na1 

npj Digital Medicine , Article number:  (2026) Cite this article

  • 1635 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Lifestyle modification
  • Preventive medicine
  • Risk factors

Abstract

Personalised interventions which optimise the balance of physical activity (PA), sleep and sedentary behaviour (i.e., time use) in the 24-h day may be more effective than one-size-fits-all approaches. We present an interactive app to personalise 24-h time use based on individuals’ health and sociodemographic characteristics. Analyses used cross-sectional data from 53,057 UK Biobank participants. Average daily time use was measured using 7-day accelerometry data and expressed as a 24-h composition using isometric log-ratio transformation. Five cognitive composites were derived from web-based tests. Regularized linear regression examined the relationship between 24-h time-use composition and cognition, with sociodemographic and health characteristics as additional predictors. Model estimates were used to estimate optimized cognition based on the interaction of 24-h time-use composition and personal characteristics. Our ‘ideal day’ app delivers personalised 24-h time-use recommendations tailored to individual characteristics. We demonstrate that personalisation of time-use interventions can be achieved in real time using open-source software.

Similar content being viewed by others

Associations between daily composition of 24 h physical behavior with affective states and working memory

Article Open access 25 April 2025

Distribution of device-measured 24-h movement behaviors in older adults: cross-sectional findings from the HUNT4 study

Article Open access 15 January 2026

Effects of physical activity intervention on 24-h movement behaviors: a compositional data analysis

Article Open access 24 May 2022

Data availability

The data that support the findings of this study are available from the UK Biobank but restrictions apply to the availability of these data, which were used under licence for the current study, and so are not publicly available.

Code availability

The underlying code for the data preparation, cleaning, analysis and diagnostics for this study is freely accessible on GitHub and can be accessed via this link (https://github.com/tystan/ukbb-cog-lasso) in addition to the ‘ideal day’ interactive personalisation tool hosted at https://arena2024.shinyapps.io/ideal-day/ with the associated underlying code also freely accessed on GitHub too (https://github.com/tystan/ideal-day).

References

  1. Harvey, A. et al. The future of technologies for personalised medicine. N. Biotechnol. 29, 625–633 (2012).

    Google Scholar 

  2. Holtermann, A. et al. 24-Hour physical behavior balance for better health for all: “the sweet-spot hypothesis”. Sports Med. - Open 7, 98 (2021).

    Google Scholar 

  3. Dumuid, D. et al. Goldilocks Days: optimising children’s time use for health and well-being. J. Epidemiol. Community Health 76, 301 (2022).

    Google Scholar 

  4. Dumuid, D. et al. Your best day: An interactive app to translate how time reallocations within a 24-hour day are associated with health measures. PLoS ONE 17, e0272343 (2022).

    Google Scholar 

  5. Sommerlad, A. & Mukadam, N. Evaluating risk of dementia in older people: a pathway to personalized prevention? Eur. Heart J. 41, 4034–4036 (2020).

    Google Scholar 

  6. Livingston, G. et al. Dementia prevention, intervention, and care: 2024 report of the Lancet standing Commission. Lancet 404, 572–628 (2024).

    Google Scholar 

  7. Dumuid, D. et al. The “Goldilocks day” for children’s skeletal health: compositional data analysis of 24-hour activity behaviors. J. Bone Miner. Res. 35, 2393–2403 (2020).

    Google Scholar 

  8. Huque, M. H. et al. A critical review and classification of dementia risk assessment tools to inform dementia risk reduction. J. Prev. Alzheimer’s. Dis. 12, 100333 (2025).

    Google Scholar 

  9. Mellow, M. L. et al. ‘Small Steps’ towards improving 24-hour time-use behaviours to decrease the risk of dementia: protocol for a personalised, web-based randomised controlled trial in community-dwelling older adults. BMJ Open. 15, e105643 (2025).

  10. Sudlow, C. et al. UK Biobank: an open access resource for identifying the causes of a wide range of complex diseases of middle and old age. PLOS Med. 12, e1001779 (2015).

    Google Scholar 

  11. Chang, W. et al. shiny: Web Application Framework for R. R package version 1.13.0.9000, https://shiny.posit.co/.

  12. Blake, H. T. et al. Co-design of a digital 24-hour time-use intervention with older adults and allied health professionals. Front. Digit. Health. https://doi.org/10.3389/fdgth.2025.1544489 (2025).

  13. Zahran, S. et al. Optimal levels of sleep, sedentary behaviour, and physical activity needed to support cognitive function in children of the early years. BMC Pediatr. 24, 735 (2024).

    Google Scholar 

  14. Tolosana-Delgado, R., Arya, E., Khodadadzadeh, M. & Boogaart, K. On Machine Learning Algorithms and Compositional Data (2019).

  15. Collins, A. M. et al. 24-Hour time use and cognitive performance in late adulthood: results from the Investigating Gains in Neurocognition in an Intervention Trial of Exercise (IGNITE) study. Age Ageing 54, afaf072 (2025).

    Google Scholar 

  16. Mellow, M. L. et al. Should we work smarter or harder for our health? A comparison of intensity and domain-based time-use compositions and their associations with cognitive and cardiometabolic health. J. Gerontology: Ser. A 79, glae233 (2024).

    Google Scholar 

  17. Dumuid, D. et al. Does APOE ɛ4 status change how 24-hour time-use composition is associated with cognitive function? An exploratory analysis among middle-to-older adults. J. Alzheimer’s. Dis. 88, 1157–1165 (2022).

    Google Scholar 

  18. Mellow, M. L. et al. Cross-sectional associations between 24-hour time-use composition, grey matter volume and cognitive function in healthy older adults. Int. J. Behav. Nutr. Phys. Act. 21, 11 (2024).

    Google Scholar 

  19. Mellow, M. L. et al. Twenty-four-hour time-use composition and cognitive function in older adults: cross-sectional findings of the ACTIVate study. Front. Hum. Neurosci. https://doi.org/10.3389/fnhum.2022.1051793 (2022).

  20. Wu, Y. et al. Analysis of the 24-h activity cycle: an illustration examining the association with cognitive function in the Adult Changes in Thought study. Front. Psychol. https://doi.org/10.3389/fpsyg.2023.1083344 (2023).

  21. Balbim, G. M. et al. The association of the 24-hour activity cycle profiles with cognition in older adults with mild cognitive impairment: a cross-sectional study. J. Gerontology: Ser. A 79, glae099 (2024).

    Google Scholar 

  22. Mellow, M. L. et al. How are combinations of physical activity, sedentary behaviour and sleep related to cognitive function in older adults? A systematic review. Exp. Gerontol. 159, 111698 (2022).

    Google Scholar 

  23. Erickson, K. I., Donofry, S. D., Sewell, K. R., Brown, B. M. & Stillman, C. M. Cognitive Aging and the Promise of Physical Activity. Annu. Rev. Clin. Psychol. 18, 417–442 (2022).

    Google Scholar 

  24. Singh, B. et al. Effectiveness of exercise for improving cognition, memory and executive function: a systematic umbrella review and meta-meta-analysis. Brit. J. Sports Med 59, 866–876 (2025).

    Google Scholar 

  25. Coelho, L. et al. The association between sedentary behavior and cognitive ability in older adults. Aging Clin. Exp. Res. 32, 2339–2347 (2020).

    Google Scholar 

  26. Maasakkers, C. M. et al. The association of sedentary behaviour and cognitive function in people without dementia: a coordinated analysis across five cohort studies from COSMIC. Sports Med. 50, 403–413 (2020).

    Google Scholar 

  27. Olanrewaju, O., Stockwell, S., Stubbs, B. & Smith, L. Sedentary behaviours, cognitive function, and possible mechanisms in older adults: a systematic review. Aging Clin. Exp. Res. 32, 969–984 (2020).

    Google Scholar 

  28. Lo, J. C., Groeger, J. A., Cheng, G. H., Dijk, D.-J. & Chee, M. W. L. Self-reported sleep duration and cognitive performance in older adults: a systematic review and meta-analysis. Sleep. Med. 17, 87–98 (2016).

    Google Scholar 

  29. Gildner, T. E., Liebert, M. A., Kowal, P., Chatterji, S. & Snodgrass, J. J. Associations between sleep duration, sleep quality, and cognitive test performance among older adults from six middle income countries: results from the Study on Global Ageing and Adult Health (SAGE). J. Clin. sleep. Med. 10, 613–621 (2014).

    Google Scholar 

  30. Devore, E. E., Grodstein, F. & Schernhammer, E. S. Sleep duration in relation to cognitive function among older adults: a systematic review of observational studies. Neuroepidemiology 46, 57–78 (2016).

    Google Scholar 

  31. Ross, R. et al. Canadian 24-hour movement guidelines for adults aged 18–64 years and adults aged 65 years or older: an integration of physical activity, sedentary behaviour, and sleep. Appl. Physiol. Nutr. Metab. 45, S57–S102 (2020).

    Google Scholar 

  32. Miatke, A. et al. The association between reallocations of time and health using compositional data analysis: a systematic scoping review with an interactive data exploration interface. Int. J. Behav. Nutr. Phys. Act. 20, 127 (2023).

    Google Scholar 

  33. Castro, C. B. et al. Multi-domain interventions for dementia prevention—a systematic review. J. Nutr. Health Aging 27, 1271–1280 (2023).

    Google Scholar 

  34. Livingston, G. et al. Dementia prevention, intervention, and care: 2020 report of the Lancet Commission. Lancet 396, 413–446 (2020).

    Google Scholar 

  35. Walmsley, R. et al. Reallocation of time between device-measured movement behaviours and risk of incident cardiovascular disease. Br. J. Sports Med. 56, 1008 (2022).

    Google Scholar 

  36. Dumuid, D. et al. Compositional data analysis for physical activity, sedentary time and sleep research. Stat. Methods Med. Res. 27, 3726–3738 (2017).

    Google Scholar 

  37. Palarea-Albaladejo, J. & Martín-Fernández, J. A. zCompositions — R package for multivariate imputation of left-censored data under a compositional approach. Chemometr. Intell. Lab. Syst. 143, 85–96 (2015).

    Google Scholar 

  38. Martín-Fernández, J. A., Hron, K., Templ, M., Filzmoser, P. & Palarea-Albaladejo, J. Model-based replacement of rounded zeros in compositional data: Classical and robust approaches. Comput. Stat. Data Anal. 56, 2688–2704 (2012).

    Google Scholar 

  39. Park, D. C. & Reuter-Lorenz, P. The adaptive brain: aging and neurocognitive scaffolding. Annu. Rev. Psychol. 60, 173–196 (2009).

    Google Scholar 

  40. Harvey, P. D. Domains of cognition and their assessment. Dialogues Clin. Neurosci. 21, 227–237 (2019).

    Google Scholar 

  41. Campbell, T. & Cullen, B. Estimating the effect of physical activity on cognitive function within the UK Biobank cohort. Int. J. Epidemiol. 52, 1592–1611 (2023).

    Google Scholar 

  42. R: A language and environment for statistical computing (R Foundation for Statistical Computing, 2023).

  43. Friedman, J. H., Hastie, T. & Tibshirani, R. Regularization paths for generalized linear models via coordinate descent. J. Stat. Softw. 33, 1–22 (2010).

    Google Scholar 

  44. Yuan, M. & Lin, Y. Model selection and estimation in regression with grouped variables. J. R. Stat. Soc. Ser. B: Stat. Methodol. 68, 49–67 (2006).

    Google Scholar 

  45. Breheny, P. & Huang, J. Group descent algorithms for nonconvex penalized linear and logistic regression models with grouped predictors. Stat. Comput. 25, 173–187 (2015).

    Google Scholar 

  46. Hastie, T., Tibshirani, R. & Friedman, J. H. The Elements of Statistical Learning: Data Mining, Inference, and Prediction 2nd edn (Springer, 2009).

  47. Martín-Fernández, J.-A., Daunis i Estadella, J. & Mateu-Figueras, G. On the interpretation of differences between groups for compositional data. SORT: Stat. Oper. Res. Trans. 39, 231–252 (2015).

    Google Scholar 

Download references

Acknowledgements

This research has been conducted using the UK Biobank Resource under Application Number 62254. The study was funded by a National Health and Medical Research Council 2022 Medical Research Future Fund Effective Treatments and Therapies grant (application ID: 2022954). A.S. was supported by a Dementia Australia Research Foundation Henry Brodaty Mid-Career Fellowship. D.D. was supported by an Australian Research Council (ARC) Discovery Early Career Award (DECRA; DE230101174). T.S. was supported by a Hospital Research Foundation grant (C-PJ-008-Transl-2020) awarded to A.S. and D.D. The funders played no role in study design, data collection, analysis or interpretation of data, or the writing of this manuscript. We wish to acknowledge the wider Small Steps team for their contribution to the co-design of the digital interface, detailed elsewhere.

Author information

Author notes
  1. These authors contributed equally: Ashleigh E. Smith, Dorothea Dumuid.

Authors and Affiliations

  1. Alliance for Research in Exercise, Nutrition and Activity (ARENA) Research Centre, Allied Health and Human Performance, College of Health, Adelaide University, Adelaide, Australia

    Maddison L. Mellow, Tyman E. Stanford, Timothy Olds, Aaron Miatke, Ashleigh E. Smith & Dorothea Dumuid

Authors
  1. Maddison L. Mellow
    View author publications

    Search author on:PubMed Google Scholar

  2. Tyman E. Stanford
    View author publications

    Search author on:PubMed Google Scholar

  3. Timothy Olds
    View author publications

    Search author on:PubMed Google Scholar

  4. Aaron Miatke
    View author publications

    Search author on:PubMed Google Scholar

  5. Ashleigh E. Smith
    View author publications

    Search author on:PubMed Google Scholar

  6. Dorothea Dumuid
    View author publications

    Search author on:PubMed Google Scholar

Contributions

M.M. conceptualized the study, supported data analysis, and prepared the manuscript. T.S. conceptualized the study, conducted data analysis and contributed to manuscript development. T.O. and A.M. contributed to manuscript development. A.S. led the co-design of the app interface, conceptualized the study, and contributed to manuscript development. D.D. conceptualized the study, supported data analysis, and prepared the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Maddison L. Mellow.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Supplementary information (download PDF )

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mellow, M.L., Stanford, T.E., Olds, T. et al. An interactive tool to personalise 24-hour activity, sitting and sleep prescription for optimal health outcomes. npj Digit. Med. (2026). https://doi.org/10.1038/s41746-026-02542-4

Download citation

  • Received: 15 June 2025

  • Accepted: 03 March 2026

  • Published: 17 March 2026

  • DOI: https://doi.org/10.1038/s41746-026-02542-4

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Advertisement

Explore content

  • Research articles
  • Reviews & Analysis
  • News & Comment
  • Collections
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • Aims and scope
  • Content types
  • Journal Information
  • About the Editors
  • Contact
  • Editorial policies
  • Calls for Papers
  • Journal Metrics
  • About the Partner
  • Open Access
  • Early Career Researcher Editorial Fellowship
  • Editorial Team Vacancies
  • News and Views Student Editor
  • Communication Fellowship

Publish with us

  • For Authors and Referees
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

npj Digital Medicine (npj Digit. Med.)

ISSN 2398-6352 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing