Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Your best day: An interactive app to translate how time reallocations within a 24-hour day are associated with health measures

  • Dorothea Dumuid ,

    Roles Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Software, Visualization, Writing – original draft, Writing – review & editing

    dot.dumuid@unisa.edu.au

    Affiliations Alliance for Research in Exercise, Nutrition and Activity, Allied Health & Human Performance, University of South Australia, Adelaide, South Australia, Australia, Murdoch Children’s Research Institute, Parkville, Victoria, Australia

  • Timothy Olds,

    Roles Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Writing – original draft, Writing – review & editing

    Affiliations Alliance for Research in Exercise, Nutrition and Activity, Allied Health & Human Performance, University of South Australia, Adelaide, South Australia, Australia, Murdoch Children’s Research Institute, Parkville, Victoria, Australia

  • Melissa Wake,

    Roles Data curation, Funding acquisition, Investigation, Methodology, Project administration, Resources, Writing – original draft, Writing – review & editing

    Affiliations Murdoch Children’s Research Institute, Parkville, Victoria, Australia, Department of Paediatrics, The University of Melbourne, Parkville, Victoria, Australia, Liggins Institute, The University of Auckland, Grafton, New Zealand

  • Charlotte Lund Rasmussen,

    Roles Investigation, Methodology, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Department of Public Health and Nursing, Norwegian University of Science and Technology, Trondheim, Norway, Faculty of Physical Culture, Palacký University, Olomouc, Czech Republic

  • Željko Pedišić,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Writing – original draft, Writing – review & editing

    Affiliation Institute for Health and Sport, Victoria University, Melbourne, Victoria, Australia

  • Jim H. Hughes,

    Roles Investigation, Methodology, Software, Writing – original draft, Writing – review & editing

    Affiliations School of Pharmacy and Medical Sciences, University of South Australia, Adelaide, South Australia, Australia, Pfizer Inc., Groton, CT, United States of America

  • David JR. Foster,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Writing – original draft, Writing – review & editing

    Affiliation Clinical and Health Sciences, Australian Centre for Precision Health, University of South Australia, Adelaide, South Australia, Australia

  • Rosemary Walmsley,

    Roles Investigation, Methodology, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Big Data Institute, Li Ka Shing Centre for Health Information and Discovery, University of Oxford, Oxford, United Kingdom, Nuffield Department of Population Health, University of Oxford, Oxford, United Kingdom

  • Andrew J. Atkin,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Writing – original draft, Writing – review & editing

    Affiliation School of Health Sciences, University of East Anglia, Norwich, United Kingdom

  • Leon Straker,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Writing – original draft, Writing – review & editing

    Affiliation School of Allied Health, Faculty of Health Science, Curtin University, Perth, Australia

  • Francois Fraysse,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Project administration, Writing – original draft, Writing – review & editing

    Affiliation Alliance for Research in Exercise, Nutrition and Activity, Allied Health & Human Performance, University of South Australia, Adelaide, South Australia, Australia

  • Ross T. Smith,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Project administration, Writing – original draft, Writing – review & editing

    Affiliation Australian Centre for Interactive and Virtual Environments, Wearable Computer Lab, University of South Australia, Adelaide, South Australia, Australia

  • Frank Neumann,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Project administration, Writing – original draft, Writing – review & editing

    Affiliation Optimisation and Logistics, School of Computer Science, The University of Adelaide, Adelaide, South Australia, Australia

  • Ron S. Kenett,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Writing – original draft, Writing – review & editing

    Affiliations The KPA Group, The Samuel Neaman Institute, Technion, Haifa, Israel, University of Turin, Turin, Italy

  • Paul Jarle Mork,

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Writing – original draft, Writing – review & editing

    Affiliation Department of Public Health and Nursing, Norwegian University of Science and Technology, Trondheim, Norway

  • Derrick Bennett,

    Roles Investigation, Methodology, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Nuffield Department of Population Health, University of Oxford, Oxford, United Kingdom, National Institute of Health Research Oxford Biomedical Research Centre, Oxford University Hospitals NHS Foundation Trust, John Radcliffe Hospital, Oxford, United Kingdom, Medical Research Council Population Health Research Unit, University of Oxford, Oxford, United Kingdom

  • Aiden Doherty,

    Roles Investigation, Methodology, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Big Data Institute, Li Ka Shing Centre for Health Information and Discovery, University of Oxford, Oxford, United Kingdom, Nuffield Department of Population Health, University of Oxford, Oxford, United Kingdom, National Institute of Health Research Oxford Biomedical Research Centre, Oxford University Hospitals NHS Foundation Trust, John Radcliffe Hospital, Oxford, United Kingdom

  •  [ ... ],
  • Ty Stanford

    Roles Formal analysis, Investigation, Methodology, Software, Visualization, Writing – original draft, Writing – review & editing

    Affiliation Alliance for Research in Exercise, Nutrition and Activity, Allied Health & Human Performance, University of South Australia, Adelaide, South Australia, Australia

  • [ view all ]
  • [ view less ]

Abstract

Reallocations of time between daily activities such as sleep, sedentary behavior and physical activity are differentially associated with markers of physical, mental and social health. An individual’s most desirable allocation of time may differ depending on which outcomes they value most, with these outcomes potentially competing with each other for reallocations. We aimed to develop an interactive app that translates how self-selected time reallocations are associated with multiple health measures. We used data from the Australian Child Health CheckPoint study (n = 1685, 48% female, 11–12 y), with time spent in daily activities derived from a validated 24-h recall instrument, %body fat from bioelectric impedance, psychosocial health from the Pediatric Quality of Life Inventory and academic performance (writing) from national standardized tests. We created a user-interface to the compositional isotemporal substitution model with interactive sliders that can be manipulated to self-select time reallocations between activities. The time-use composition was significantly associated with body fat percentage (F = 2.66, P < .001), psychosocial health (F = 4.02, P < .001), and academic performance (F = 2.76, P < .001). Dragging the sliders on the app shows how self-selected time reallocations are associated with the health measures. For example, reallocating 60 minutes from screen time to physical activity was associated with -0.8 [95% CI -1.0 to -0.5] %body fat, +1.9 [1.4 to 2.5] psychosocial score and +4.5 [1.8 to 7.2] academic performance. Our app allows the health associations of time reallocations to be compared against each other. Interactive interfaces provide flexibility in selecting which time reallocations to investigate, and may transform how research findings are disseminated.

Introduction

How we use our time may affect our health, wellbeing and productivity [16]. Daily time allocations to sleep, sedentary behavior and physical activity are associated with adiposity, cardiometabolic biomarkers, mental health and cognition/academic performance in adults [13] and children [46]. When we change the time spent in an activity, this must always be accompanied by a net equal and opposite compensatory change across the remaining activities to maintain the daily 24-hour total [7]. The characteristic interdependency between individual time-use components poses both analytical and interpretational challenges (e.g. is a change in outcome driven by more time sleeping or less time studying to compensate for that extra sleep?). Novel application of statistical methods such as compositional data analysis overcome these challenges [8, 9].

Compositional data analysis calculates isometric log-ratio coordinates (S1 File) of time-use data. These log-ratios are then used as independent variables in regression models for health outcomes [10]. This avoids perfect multicollinearity between the parts of a full time-use composition, while also respecting the inherent relative nature of the data [11]. However, the regression coefficients from compositional regression models, representing the associations with log-ratio coordinates, can be difficult to interpret in practical terms. Log-ratio coordinates are not expressed in min/day (or other such time unit); instead their regression coefficients represent the estimated difference in the outcome variable when the log-ratio coordinate increases by one. This means relationships between time use and outcomes can be challenging to interpret for health professionals and the general population. Consequently, people may be precluded from choosing or promoting data-driven choices regarding the use of time. Thus, accessible tools are needed to enable simple interpretations of how time-use reallocations relate to health.

Compositional isotemporal substitution analysis overcomes the interpretability issue and provides practically meaningful and straightforward interpretation of the regression coefficients for log-ratio coordinates, by quantifying the health associations of reallocating absolute durations (e.g. 30 minutes) of time between daily activities [12]. However, there are many different possible reallocations that could be explored and reported (e.g., different durations, between any number of different activities). Two types of reallocation are commonly studied: one-for-one (reallocation of time from one activity to one other activity) and one-for-remaining (reallocation of time from one activity to all the remaining activities pro rata) [11].

However, these types of reallocations may not always be relevant to real life situations. From the limited evidence available, it appears that people do not directly swap one activity for another (one-for-one), nor do they compensate for increasing one activity by changing all remaining activities (one-for-remaining) pro rata [13, 14]. For example, when adults retire, they predominantly distribute the time previously spent at work to sleep, screen time and chores and not to moderate-vigorous physical activity only [15]. For greater relevance to intervention design and real life, more flexibility is required when defining time reallocations for isotemporal substitution models.

Estimates from compositional isotemporal substitution models are calculated with respect to representative “starting” time-use compositions [12]. To date, most studies have used the average composition (i.e., compositional centre, see S1 File) observed in the sample as the starting composition from which time between activities is reallocated [16]. However, we have previously demonstrated the results differ when an alternative starting composition is used [17], and the benefits of reallocation may be greatest for those furthest from the average (e.g. the most sedentary individuals). Allowing time reallocations to be modelled from different starting compositions may extend the usefulness and relevance of the findings to specific population groups or individuals.

Accurate time-use data from very large population-based cohorts and biobanks linked with a vast array of clinical and biological data are becoming increasingly available and allow more precise predictive modelling. Drawing on these data resources and the advanced statistical methods outlined above, user-friendly interactive tools are needed to understand and utilize the richness of the data.

The aim of this study was, therefore, to develop an interactive web application that could be used to communicate the potential impact of user-defined time-use reallocations on a selection of health measures. In this study, three child health measures ─ body fat percentage, psychosocial health, and academic performance ─ were selected, but the methodology presented herein is applicable to other age groups and health measures/outcomes.

Materials and methods

Study design and participants

The data used to underpin the app are from the Child Health CheckPoint [18], a cross-sectional study conducted within the Longitudinal Study of Australian Children (LSAC) [19]. In 2003 LSAC recruited 5107 infants, to create a nationally representative sample from all Australian states and territories, and followed them up in biennial waves. In 2015, between waves 6 and 7, children were invited to participate in an additional biophysical assessment module. Of those children still enrolled in LSAC at wave 6 (n = 3764, 74% retention), 1874 (42%, i.e. 37% of the original LSAC sample) consented to participate in the Child Health CheckPoint study. At age 11–12 years, children attended a single centre-based or home-based assessment. The data collection took place between February 2015 and March 2016, with additional data collected by phone in the following weeks.

The research was carried out according to The Code of Ethics of the World Medical Association (Declaration of Helsinki). The Child Health CheckPoint study was approved by the Royal Children’s Hospital Melbourne Human Research Ethics Committee (ref: 33225D) and the Australian Institute of Family Studies Ethics Committee (ref: 14–26). A parent or guardian provided written informed consent for their child’s participation in the study. Data for this study were drawn from the CheckPoint dataset released to all research end-users via the ADA Dataverse [20].

Measures

Daily activity composition was derived from a computerized 24-h recall called the Multimedia Activity Recall for Children and Adolescents (MARCA) [21]. Children recalled the activities (e.g. sleeping, cycling, watching TV) they did on the previous day at a granularity of 5 minutes. The MARCA instrument maps up to 500 activities into the following superdomains: sleep, screen time, physical activity, quiet time, passive transport, school-related activities, and domestic/self-care activities. Three days, including at least one school and one non-school day, were recalled, the first during a face-to-face interview at the initial assessment visit, and the other two via a telephone interview during the subsequent week. Time use across the three days was weighted for weekdays:weekend days at 5:2.

For the purposes of this paper, the illustrative health measures were body fat percentage, psychosocial health, and academic performance in a writing test. Body fat percentage was estimated using bioelectric impedance, measured in bare feet and light clothing to the nearest 0.1% with a 4-limb InBody230 (Biospace, Seoul, South Korea) at centre visits, or a 2-limb Tanita BC-351 (Kewdale, Australia) at home visits [22]. The Psychosocial Health Summary Score from the 8- to 12-year-old self-report Pediatric Quality of Life Inventory (PedsQL), version 4.0 [23] was calculated from the emotional, social, and school functioning domains. Higher scores indicated better psychosocial health. Academic performance was obtained from standardized Year 7 National Assessment Program for Numeracy and Literacy (NAPLAN) tests [24], carried out when the children were approximately 12–13 years old. We used the writing component scores, trimmed at +/- 4 standard deviations (SD) to remove outliers and normalize the distribution. In the writing tests, students were given a topic and asked to write a response in either narrative writing or persuasive writing. Tests were marked centrally against the Australian Curriculum core capabilities, assessing criteria such as the capacity to engage the audience, formulation of ideas, vocabulary, cohesion, punctuation, spelling and text structure.

Covariates were selected due to their known associations with children’s time-use behaviours and health outcomes. They included child’s sex, age, pubertal status, and family-level socioeconomic position. Sex and age were obtained from parent report. Pubertal status (pre-pubertal, early pubertal, mid-pubertal, late pubertal or post-pubertal) was derived from children’s self-reported pubertal signs, using the Pubertal Development Scale [25] during the CheckPoint study. A composite z-score from LSAC Wave 6 incorporating parent-reported occupation, household income, and highest parental education level was used as a measure of family-level socioeconomic position [26].

Statistical analysis and development of the shiny app

The compositional isotemporal substitution analyses were conducted in R version 4.1.0 [27] using the “compositions” [28] and “zCompositions” [29] packages. Following published procedures, the seven-part 24-hour activity composition (sleep, screen time, physical activity, quiet time, passive transport, school-related activities, and domestic/self-care activities) was expressed as a set of six isometric log ratios, after all zeros in the raw time-use data were replaced by non-zero values using a log-ratio expectation-maximization algorithm [30]. Three multiple linear regression models were fit, one for each of the health measures (i.e. body fat percentage, psychosocial health and academic performance). Participants with missing data were excluded from the analytical samples. The body fat percentage outcome variable was log (ln)-transformed to normalize the right-skewed distribution of residuals. The time-use composition isometric log ratios were used as the predictor variables along with the covariates (sex, age, pubertal status, and family-level socioeconomic position). In an effort to improve the model fits and account for non-linear relationships between time-use components and the outcomes, second-order polynomial (interactions and squared) isometric log-ratio terms were included [31]. The Akaike information criterion (AIC) was reduced for all models when the polynomial predictor variables were included [32].

The regression parameters from the compositional models were extracted to be used in the app. The open-source R statistical software [27] Shiny package [33] enables the programming of an interactive interface that can be freely accessed via a web-link, without the need to install R or any other software. The Shiny app developed in the current study has three components (i.e. R scripts) that communicate with each other: (1) the user interface (ui.R), which defines the app’s appearance and how the user enters information; (2) the server (server.R), which monitors and makes computations on input provided by the user interface to then in turn provide results back to the user interface; and (3) the global script (global.R), which provides global variables and functions accessible for both the user interface and server. A more detailed explanation of these three components, a schematic diagram is provided in S1 Fig, and annotated R scripts used for our Shiny app can be found in S1 Data or downloaded from GitHub [34].

To complete a user-defined compositional isotemporal substitution analysis (i.e., to determine the estimated change in health measures associated with user-defined reallocations of time between activities), user input on the initial time allocations and the desired time reallocations is required. Users can specify any time-use reallocation (up to 60 minutes in the current app, but the app developer can set this to any desired duration) provided they do not reallocate more time than what they have available (based on the initial time allocations they have provided). Error messages prompt the user to change their selection if their reallocations would result in a negative value in any of the time-use components. The Shiny app collects the necessary user input and uses the regression coefficients, standard errors and degrees of freedom from the above models to calculate the results for the user-defined reallocation. No unit-level data from the CheckPoint dataset are stored within the app, only the regression coefficients, their standard errors and associated degrees of freedom are stored.

To derive estimates of change in outcome after a user-defined reallocation of time between activities, the Shiny app calculates isometric log-ratio coordinates for the user-specified initial (current) and new (reallocated) composition, and then these coordinates are used as new data inputs for prediction using the stored regression parameters from the models above. To allow the calculation of isometric log-ratio coordinates for compositions where users have allocated zero time to an activity, zero times are replaced with a small duration (3.25 minutes, which is 65% of the 5-minute sampling frame [35]). An alternative solution would be to not allow the user to input any zero durations.

To compare the estimated untransformed health measures (psychosocial health and academic performance) for two activity compositions, the absolute difference between the two estimates is calculated using the corresponding linear combination of the estimated parameters. The 95% confidence interval (CI) for the difference is calculated [36]. Given that the outcome of body fat percentage was log-transformed, the estimated difference in body fat percentage for two activity compositions is calculated using the difference in the exponentiated estimates on the log-scale. For this outcome variable, the 95% confidence interval (CI) for the difference is calculated using the formula of Zou et al [37] to account for lognormal variable transformation and covariance of the two estimates. For ease of interpretation, all estimated differences are also presented as percentage differences.

Results

The Shiny app web-interface is accessible via a web link [38]. The outputs (estimated differences in health measures for reallocations of time) are based on data from CheckPoint participants with complete health measure and covariate data, and at least one day of time-use recall. Descriptive statistics of the participants can be found in Table 1.

Following adjustment for sex, age, socioeconomic position, and pubertal status the time-use composition was significantly associated with body fat percentage (F27,1637 = 2.66, P < .001), psychosocial health (F27,1644 = 4.02, P < .001), and academic performance (writing) (F27,1259 = 2.76, P < .001). Please refer to S1 Table for the full set of model parameters.

Reallocating 60 minutes from screen time to physical activity was associated with 4.2% lower body fat (-0.8 [95% CI -1.0 to -0.5] percentage units), 2.5% better psychosocial health (+1.9 [1.4 to 2.5] PedsQL psychosocial health score) and 0.9% higher academic performance (+4.5 [1.8 to 7.2] NAPLAN writing score). Figs 1 and 2 shows how to deduce this information from our app. The first tab (Fig 1, Box 1) on the Shiny app interface (Initial time use) allows the user to specify the amount of time they currently spend in each of the seven activities. For the current app, this requires that they vary them from the initial default time-use values which are the sample compositional mean (Fig 1, Box 2). We included an option for the user to provide sex and age (Fig 1, Box 3). Other covariates (e.g., pubertal stage and socioeconomic status z-score) can be included for greater precision when available or if modelling on these parameters is desired. An advanced information tab allows these additional covariates to be provided by the user (Fig 1, Box 4).

thumbnail
Fig 1. Shiny app interface.

The initial time-use tab. To use the app to generate estimates for self-selected time reallocations, the user must first specify demographics and initial time-use variables.

https://doi.org/10.1371/journal.pone.0272343.g001

In the second tab (Fig 2, Box 1) of the Shiny app (Specify reallocations), the user is prompted to define reallocations of their choice. The time-reallocation sliders are shown before any changes have been made (Fig 2, Box 2). The plot on the bottom left (Fig 2, Box 3) shows the starting time-use composition that was specified in the previous tab (Initial time use). On the right (Fig 2, Box 4), the estimated percentage changes in the three health measures are displayed. So far, no time reallocations have been specified; hence the estimated change is zero for all measures.

Once the “Specify reallocations” tab (Fig 3, Box 1) has been selected, the reallocation of 60 minutes from screen time to physical activity is specified using the sliders (Fig 3, Box 2). The plot on the bottom left shows the new distribution of time across the seven activities (Fig 3, Box 3). On the right, the percent change fields have been updated to show how the specified time reallocation is associated with the difference in health measures (Fig 3, Box 4). The fields are all coloured green to indicate the change is in a favourable direction. Selecting the advanced output reveals two additional plots. The upper plot shows the estimates of the outcomes (with 95% CI) in their raw measurement units, estimated for the initial time-use composition on the left, and for the new time-use composition on the right (Fig 3, Box 5). Below this, there is a plot showing the difference (in raw units) between the two estimates (for the initial and new compositions), with 95% CI (Fig 3, Box 6).

thumbnail
Fig 3. Specification of custom simple one-for-one time-use reallocation using the app, and visualization of advanced output.

Initial time-use composition was the compositional mean of the sample: Sleep = 11 h 50 min; Screen time = 2 h 55 min; Physical activity = 1 h 57 min; Quiet time = 1 h 11 min; Passive transport = 35 min; School-related activities = 2 h 09 min; Domestic/self-care activities = 3 h 23 min.

https://doi.org/10.1371/journal.pone.0272343.g003

However, when 60 minutes are reallocated to physical activity, the ripple effects across the other activities may be more complex than a one-for-one swap. With a different time-reallocation profile, the associations with health measures may no longer all be beneficial (see Fig 4 for an example). The associations for the complex time reallocation shown in Fig 4 were beneficial for body fat percentage (-4.8%) and psychosocial health (+2.0%), but detrimental for academic performance (-1.3%).

thumbnail
Fig 4. Specification of complex time-use reallocations using the app, and visualization of advanced output.

Initial time-use composition was the compositional mean of the sample: Sleep = 11 h 50 min; Screen time = 2 h 55 min; Physical activity = 1 h 57 min; Quiet time = 1 h 11 min; Passive transport = 35 min; School-related activities = 2 h 09 min; Domestic/self-care activities = 3 h 23 min.

https://doi.org/10.1371/journal.pone.0272343.g004

Further, we can see how the estimated differences in health measures may differ depending on the initial time-use composition. The same complex reallocations of time specified in Fig 4 (with the compositional mean as the initial time-use composition) were associated with larger differences in body fat (-6.2%) and academic performance (-1.7%) (Fig 5) when a potentially less “healthy” initial composition was specified (1 h less for each of sleep, physical activity and domestic/self-care activities, 1 hour more for each of screen time, quiet time and school related activities).

thumbnail
Fig 5. Specification of the same complex reallocation as in Fig 4, but relative to a different initial composition where Sleep = 10 h 50 min; Screen time = 3 h 55 min; Physical activity = 57 min; Quiet time = 2 h 11 min; Passive transport = 35 min; School-related activities = 3 h 09 min; Domestic/self-care activities = 2 h 23 min.

https://doi.org/10.1371/journal.pone.0272343.g005

Discussion

Principal results

Our interactive Shiny app provides a simple user interface to explore how health measures are associated with any type of time reallocation from any starting time-use composition commensurate with that of today’s 11–12 year olds in population studies. The app enables more accessible and flexible interpretation of the results from compositional regression analyses, which may facilitate translation of research findings to public health promoters, medical practitioners, fitness professionals, policy makers, and the general public. For example, in our illustration of its utility, the app showed that reallocating 60 minutes to physical activity could have diverging associations with health measures depending on which activities the time is drawn from, the initial time-use composition and which health outcome measure is considered.

Comparison with prior work

Until now, studies have considered only two types of theoretical time reallocations: one-for-one and one-for-remaining. These types of reallocations may not be of interest or representative of how people actually reallocate their time, that is, empirical reallocations. To our knowledge, our Shiny app is the first tool to provide the user with the opportunity to explore the health associations of their own or their clients’ selected time reallocations. In our example, manipulation of the sliders confirmed previous research findings of better body composition and psychosocial health being associated with higher reallocations of time to physical activity, particularly by reducing the time spent in sedentary activities (screen time, quiet time) [3941]. Interestingly, reallocations to physical activity did not seem to be as beneficial for academic performance. As found in this study, previous research also suggests that the benefit of reallocations to physical activity differs depending on which activities the time is drawn from, and on the starting durations of the activities [17].

Strengths and limitations

Strengths of this study include a newly developed Shiny app allowing users to interact with the research findings themselves, exploring time-reallocation scenarios that are of interest to them or their clients. The user-friendly interface of the Shiny app enables usage not only by researchers but also by public health promoters, medical practitioners, fitness professionals, policy makers, and members of general public. The simple customization or personalization enabled by our Shiny app may facilitate their engagement with, and understanding of, the research findings. Another strength of our Shiny app is that all underlying computations are derived from summary statistics without requiring the user to have direct access to individual-level data, overcoming data confidentiality issues. Iterative improvements can be made to the app’s interface and underlying modelling/data, by updating the associated open source R scripts.

We used cross-sectional data, meaning that causation cannot be inferred, that is, we cannot be certain that the time-use reallocation is causing the difference in health, and therefore that an individual will experience what is predicted by the app. Future iterations of the app should provide the user with the opportunity to click on links that provide background information regarding the data source (e.g., study design and location, number and demographics of participants) and important considerations for interpreting the results (e.g., that causation cannot be inferred). Our current app includes a brief disclaimer regarding the cross-sectional nature of the data, and that the activity data were derived from self-reports. Although the MARCA instrument has good-to-excellent measurement properties for children of this age [21], there remains the potential of reporter bias or recall error. However, device-based options for large scale time-use measurement (e.g. accelerometry) cannot yet differentiate all categories meaningful to participants within intensity groupings (e.g. different types of sedentary behavior). Without completing the MARCA or similar assessment, the user is unlikely to accurately recall their own time use when completing the “initial time use” information, but this could be improved in future versions of the app by providing the option to complete a time-use recall tool which feeds directly into the “initial time use” tab. Care must be taken when generalising findings. The underlying data are from sample who have a slightly higher socioeconomic advantage and homogeneity on a census-derived composite index at postcode level (SEIFA) [42] (mean 1028, SD 60 compared to national mean 1000, SD 100) as the general Australian population. This Shiny app prototype is restricted to a narrow age band (11–12 years), and it does not separately consider intersex children and children who identify their gender as non-binary. To be able to overcome the latter limitation, the modelling may require a very large underlying sample that collects this potentially sensitive information.

Implications for practice

Our Shiny app interface is the first to allow customized estimation of the impact of time reallocations. Future iterations of the app could provide a way of storing the reallocations a user has tried, and returning a printable report at the end of the session. The app may empower individuals and their supporting professionals/policy makers to make informed lifestyle choices according to what they value. It is designed to promote flexibility, autonomy and self-determination, which behaviour-change theory and empirical research show to be crucial to sustained lifestyle improvement [43, 44]. By guiding the user to plan and be deliberate about their behaviour-change goals, the app may foster a sense of commitment and engagement. Working with relevant end users through feasibility studies exploring the utility and accessibility of the app, future iterations can be tailored to better suit a variety of clinical and population users. We have illustrated the utility of the app using cross-sectional data; however, the same type of interface could be used for longitudinal or intervention data, and for a wider range of health and wellbeing measures such as cardiovascular and metabolic outcomes or depressive symptoms. Future longitudinal studies may explore how people actually reallocate time when their everyday activity balance is disrupted–empirical reallocations—and the socio-demographic factors and starting activity compositions associated with different reallocation “choices”. The app could be used to generate research hypotheses about the effect of time reallocations which can be tested in randomised controlled trials. Large trials of digitally enabled cohorts (such as the GenV initiative now recruiting in Victoria, Australia [45]) could provide opportunities for randomised trials to test efficacy of a further-refined app in achieving behaviour change and health gains. Interactive interfaces for models based on big data may allow personalized precision-type estimation, providing choice and ownership to an individual seeking to set lifestyle goals to improve their health. Apps based on such data will enable customization of future interventions, and contribute to health-economic modelling of these interventions.

Conclusions

The Shiny app developed in this study allows the health associations of various time reallocations to be easily explored and compared against each other. This provides future users with autonomy in investigating lifestyle changes of their interest, which are relevant and meaningful to them or their clients. As a translation tool, the interactive interface showcased in this study has the potential to transform the way research findings are disseminated to public health promoters, medical practitioners, fitness professionals, policy makers, and the general public. Ultimately, making research findings accessible will enable people to make choices about their own lives, and enable professionals to make evidence-based recommendations for others’ time use.

Acknowledgments

This paper uses unit record data from Growing Up in Australia, the Longitudinal Study of Australian Children. The study is conducted in partnership between DSS, the Australian Institute of Family Studies (AIFS) and the Australian Bureau of Statistics (ABS). We thank the LSAC and CheckPoint study participants, staff and students for their contributions. The findings and views reported in this paper are solely those of the authors and should not be attributed to DSS, AIFS or the ABS. Dorothea Dumuid and Ty Stanford (University of South Australia) had full access to all the data in the study and take responsibility for the integrity of the data and the accuracy of the data analysis. REDCap (Research Electronic Data Capture) electronic data capture tools were used in this study. More information about this software can be found at: www.project-redcap.org.

References

  1. 1. Janssen I, Clarke A E., Carson V, Chaput JP, Giangregorio LM, Kho M.E, et al. A systematic review of compositional data analysis studies examining associations between sleep, sedentary behaviour, and physical activity with health outcomes in adults. Appl Physiol Nutr Metab. 2020;45(10 (Suppl. 2)):S248–s257.
  2. 2. Cuartis RG, Dumuid D, Olds T, Plotnikoff R, Vandelanotte C, Ryan J, et al. The association between time-use behaviors and physical and mental well-being in adults: a compositional isotemporal substitution analysis. J Phys Act Health. 2020;17(2);197–203. pmid:31918406
  3. 3. Smith AE, Dumuid D, Goldsworthy MR, Graetz L, Hodyl, N, Thronton, NL, et al. Daily activities are associated with non-invasive measures of neuroplasticity in older adults. Clinical Neurophysiology. 2020;132(4):984–992.
  4. 4. Carson V, Tremblay MS, & Chastin SF. Cross-sectional associations between sleep duration, sedentary time, physical activity, and adiposity indicators among Canadian preschool-aged children using compositional analyses. BMC Public Health. 2017;17(5):848. pmid:29219077
  5. 5. Watson A, Dumuid D, & Olds T. Associations Between 24-Hour Time Use and Academic Achievement in Australian Primary School–Aged Children. Health Ed Behav. 2020;47(6):905–913. pmid:32844698
  6. 6. Chong KH, Parrish AM, Cliff DP, Dumuid D, & Okely AD. Cross-Sectional and Longitudinal Associations between 24-Hour Movement Behaviours, Recreational Screen Use and Psychosocial Health Outcomes in Children: A Compositional Data Analysis Approach. Int J Envir Res Pub Health. 2021;18(11):5995. pmid:34204928
  7. 7. Pedišić Ž. Measurement issues and poor adjustments for physical activity and sleep undermine sedentary behaviour research—the focus should shift to the balance between sleep, sedentary behaviour, standing and activity. Kinesiology. 2014;46(1);135–146.
  8. 8. Dumuid D, Stanford TE, Martin-Fernández J-A, Pedišić Ž, Maher CA, Lewis LK, et al. Compositional data analysis for physical activity, sedentary time and sleep research. Stat Methods Med Res. 2018;27(12):3726–3738. pmid:28555522
  9. 9. Chastin SF, Palarea-Albaladejo J, Dontje ML, & Skelton DA. Combined effects of time spent in physical activity, sedentary behaviors and sleep on obesity and cardio-metabolic health markers: a novel compositional data analysis approach. PLoS One. 2015;10(10):e0139984. pmid:26461112
  10. 10. Aitchison J. The statistical analysis of compositional data. J R Stat Soc Series B Stat Methodol. 1982;44(2):139–177.
  11. 11. Dumuid D, Pedišić Ž, Palarea-Albaladejo J, Martín-Fernández JA, Hron K, & Olds T. Compositional data analysis in time-use epidemiology: what, why, how. Int J Envir Res Pub Health. 2020;17(7):2220.
  12. 12. Dumuid D, Pedišić Ž, Stanford TE, Martín-Fernández JA, Hron K, Maher CA, et al. The compositional isotemporal substitution model: a method for estimating changes in a health outcome for reallocation of time between sleep, physical activity and sedentary behaviour. Stat Meth Med Res. 2019;28(3):846–857.
  13. 13. Gomersall S, Maher C, English C, Rowlands A, Dollman J, Norton K, et al. Testing the activitystat hypothesis: a randomised controlled trial. BMC Public Health. 2016;16(1):1–14. pmid:27576515
  14. 14. Olds T, Burton NW, Sprod J, Maher CA, Ferrar K, Brown WJ, et al. One day you’ll wake up and won’t have to go to work: The impact of changes in time use on mental health following retirement. PLoS One. 2018;13(6):e0199605. pmid:29953472
  15. 15. Sprod J, Olds T, Brown W, Burton N, van Uffelen J, Ferrar K, et al. Changes in use of time across retirement: A longitudinal study. Maturitas. 2017;100:70–76. pmid:28539179
  16. 16. Grgic J, Dumuid D, Bengoechea EG, Shrestha N, Bauman A, Olds T, et al. Health outcomes associated with reallocations of time between sleep, sedentary behaviour, and physical activity: a systematic scoping review of isotemporal substitution studies. Int J Behav Nutr Phys Act. 2018;15(1):1–68.
  17. 17. Dumuid D, Stanford TE, Pedišić Ž, Maher CA, Lewis LK, Martín-Fernández J.A, et al. Adiposity and the isotemporal substitution of physical activity, sedentary time and sleep among school-aged children: a compositional data analysis approach. BMC Public Health. 2018;18(311):1–10. pmid:29499689
  18. 18. Clifford SA, Davies S, & Wake M. Child Health CheckPoint: Cohort summary and methodology of a physical health and biospecimen module for the Longitudinal Study of Australian Children. BMJ Open. 2019;9(Suppl 3):3–22. pmid:31273012
  19. 19. Gray M, & Sanson A. Growing Up in Australia: The Longitudinal Study of Australian Children [online]. Family Matters. 2005;72:4–9.
  20. 20. ADA Dataverse Accessing LSAC data [cited August 23, 2021]. Available from: https://growingupinaustralia.gov.au/data-and-documentation/accessing-lsac-data
  21. 21. Ridley K, Olds TS, & Hill A. The multimedia activity recall for children and adolescents (MARCA): development and evaluation. Int J Behav Nutr Phys Act. 2006;3(1):1–11. pmid:16725055
  22. 22. Clifford SA, Gillespie AN, Olds T, Grobler AC, & Wake M. Body composition: population epidemiology and concordance in Australian children aged 11–12 years and their parents. BMJ Open. 2019;9(Suppl 3):95–105. pmid:31273020
  23. 23. Varni JW, Burwinkle TM, Seid M, & Skarr D. The PedsQL™* 4.0 as a pediatric population health measure: feasibility, reliability, and validity. Ambul Pediatr. 2003;3(6):329–341. pmid:14616041
  24. 24. National Assessment Program NAPLAN [cited December 15, 2020]. Available from: https://nap.edu.au/naplan
  25. 25. Bond L, Clements J, Bertalli N, Evans-Whipp T, McMorris BJ, Patton GC, et al. A comparison of self-reported puberty using the Pubertal Development Scale and the Sexual Maturation Scale in a school-based epidemiologic survey. J Adolesc. 2006;29(5):709–720. pmid:16324738
  26. 26. Blakemore T, Strazdins L, & Gibbings J. Measuring family socioeconomic position. Aust Soc Pol. 2009;8:121–168.
  27. 27. R Core Team R version 4.1.0: A Language and Environment for Statistical Computing [cited June 18, 2021]. Available from: https://www.R-project.org/
  28. 28. Van den Boogaart KG, & Tolosana-Delgado R. “compositions”: A unified R package to analyze compositional data. Comput Geosci. 2008;34(4):320–338.
  29. 29. Palarea-Albaladejo J, & Martín-Fernández JA. zCompositions—R package for multivariate imputation of left-censored data under a compositional approach. Chemometr Intell Lab Syst. 2015;143:85–96.
  30. 30. Palarea-Albaladejo J, Martín-Fernández JA, & Gómez-García J. A parametric approach for dealing with compositional rounded zeros. Mathematical Geology. 2007;39(7):625–645.
  31. 31. Van den Boogaart KG, & Tolosana-Delgado R. Analyzing compositional data with R, vol. 122: Springer, 2013
  32. 32. Boisbunon A, Canu S, Fourdrinier D, Strawderman W, & Wells MT. Akaike’s information criterion, Cp and estimators of loss for elliptically symmetric distributions. International Statistical Review. 2014;82(3):422–439.
  33. 33. Chang W, Cheng J, Allaire J. et al. shiny: Web Application Framework for R. R package version 1.6.0 [cited February 22, 2021]. Available from: https://CRAN.R-project.org/package=shiny
  34. 34. Dumuid D, & Stanford T. GitHub: Reallocation Adventure [cited August 28, 2021]. Available from: https://github.com/dotdum/realloc_adventure
  35. 35. Martín-Fernández J.A, Barceló-Vidal C, & Pawlowsky-Glahn V Dealing with zeros and missing values in compositional data sets using nonparametric imputation. Mathematical Geology. 2003;35:253–278.
  36. 36. Rencher AC. & Schaalje GB Multiple Regression: Tests of Hypotheses and Confidence Intervals. In: Linear models in statistics. edn. Hoboken, New Jersey: John Wiley & Sons, pp. 185–225, 2008.
  37. 37. Zou GY, Taleban J, & Huo CY. Confidence interval estimation for lognormal data with application to health economics. Computational Statistics & Data Analysis. 2009;53(11):3755–3764.
  38. 38. Dumuid D, Olds T, Wake M, Lund Rasmussen C, Pedišić Ž, Hughes J, et al Design Your Best Day [cited August 28, 2021]. Available from: https://dorotheadumuid.shinyapps.io/Design_Your_Best_Day/
  39. 39. Poitras VJ, Gray CE, Borghese MM. et al. Systematic review of the relationships between objectively measured physical activity and health indicators in school-aged children and youth. Appl Physiol Nutr Metab. 2016;41(6):S197–S239. pmid:27306431
  40. 40. Saunders TJ, Gray CE, Poitras VJ, Carson V, Chaput J-P, Janssen I, et al. Combinations of physical activity, sedentary behaviour and sleep: relationships with health indicators in school-aged children and youth. Appl Physiol Nutr Metab. 2016;41(6):S283–S293. pmid:27306434
  41. 41. Carson V, Hunter S, Kuzik N, Gray CE, Poitras VJ, Chaput JP, et al. Systematic review of sedentary behaviour and health indicators in school-aged children and youth: an update. Appl Physiol Nutr Metab. 2016;41(6):S240–S265. pmid:27306432
  42. 42. Australian Bureau of Statistics Census of Population and Housing: Socio-Economic Indexes for Areas (SEIFA), Australia, 2016 [cited December 20, 2020]. Available from: https://www.abs.gov.au/ausstats/abs@.nsf/mf/2033.0.55.001
  43. 43. Yeager DS, Dahl RE and Dweck CS. Why interventions to influence adolescent behavior often fail but could succeed. Perspect Pych 2018;13:101–122. pmid:29232535
  44. 44. Gillison FB, Rouse P, Standage M, Sebire SJ, Ryan RM. A meta-analysis of techniques to promote motivation for health behaviour change from a self-determination theory perspective. Health Psych Rev. 2019;13(1):110–30. pmid:30295176
  45. 45. Wake M, Hu YJ, Warren H, Danchin M, Fahey M, Orsini F, et al. Integrating trials into a whole-population cohort of children and parents: statement of intent (trials) for the Generation Victoria (GenV) cohort. BMC Med Res Methodol. 2020;20(1):238. pmid:32972373