Skip to main content
PLOS One logoLink to PLOS One
. 2021 May 14;16(5):e0251659. doi: 10.1371/journal.pone.0251659

Characterizing and predicting person-specific, day-to-day, fluctuations in walking behavior

Guillaume Chevance 1,2,3,*, Dario Baretta 4, Matti Heino 5, Olga Perski 6, Merlijn Olthof 7, Predrag Klasnja 8, Eric Hekler 2,3, Job Godino 2,3
Editor: Yih-Kuen Jan9
PMCID: PMC8121346  PMID: 33989338

Abstract

Despite the positive health effect of physical activity, one third of the world’s population is estimated to be insufficiently active. Prior research has mainly investigated physical activity on an aggregate level over short periods of time, e.g., during 3 to 7 days at baseline and a few months later, post-intervention. To develop effective interventions, we need a better understanding of the temporal dynamics of physical activity. We proposed here an approach to studying walking behavior at “high-resolution” and by capturing the idiographic and day-to-day changes in walking behavior. We analyzed daily step count among 151 young adults with overweight or obesity who had worn an accelerometer for an average of 226 days (~25,000 observations). We then used a recursive partitioning algorithm to characterize patterns of change, here sudden behavioral gains and losses, over the course of the study. These behavioral gains or losses were defined as a 30% increase or reduction in steps relative to each participants’ median level of steps lasting at least 7 days. After the identification of gains and losses, fluctuation intensity in steps from each participant’s individual time series was computed with a dynamic complexity algorithm to identify potential early warning signals of sudden gains or losses. Results revealed that walking behavior change exhibits discontinuous changes that can be described as sudden gains and losses. On average, participants experienced six sudden gains or losses over the study. We also observed a significant and positive association between critical fluctuations in walking behavior, a form of early warning signals, and the subsequent occurrence of sudden behavioral losses in the next days. Altogether, this study suggests that walking behavior could be well understood under a dynamic paradigm. Results also provide support for the development of “just-in-time adaptive” behavioral interventions based on the detection of early warning signals for sudden behavioral losses.

Introduction

It is widely recognized that physical activity directly protects against the development and exacerbation of non-communicable diseases and mental health issues, and improves quality of life [1]. Physical activity is also, in some forms such as active transportation, a key contributor to climate change mitigation and air pollution reduction, which indirectly protect population health [2]. Despite these positive effects, one third of the world’s population is estimated to be insufficiently active and, so far, the promotion of physical activity globally has been described as “largely unsuccessful” [3]. Although several explanations for this relative failure have been proposed (see for example [4, 5]), little prior research has been conducted to understand the day-to-day, “high-resolution”, and long-term changes in physical activity behavior, despite clear theoretical and practical benefits to do so. Indeed, gaining a better understanding of the resolution of change could provide important information to refine current physical activity guidelines and theories to reflect a more dynamic perspective and, ultimately, inform new forms of quasi-real time physical activity interventions [69]. The present study aimed to improve our understanding of day-to-day changes in physical activity within individuals over several months. Notably, this study focuses on walking behavior, a central component of physical activity and an accessible, inexpensive and low-impact means for individuals to meet national and international physical activity guidelines [10, 11].

Physical activity behavior changes

Evaluation of physical activity interventions typically incorporate measurement bursts, i.e., regular measurement of physical activity for 3 to 7 days, that are dispersed across time, such as immediately before taking part in an intervention, immediately after an “intervention phase”, and, occasionally, a few weeks or months after the intervention is completed (e.g., [12]). Using this measurement approach, physical activity levels within each measurement burst are often aggregated at the weekly level (e.g., minutes/week of moderate-to-vigorous intensity physical activity), and insight into the high-resolution day-to-day variations in physical activity removed through aggregation [9]. As both a cause and consequence to this methodological paradigm, physical activity changes have been mostly conceptualized as a relatively linear and deterministic process (e.g., “the adoption and maintenance paradigm”; [1316]). Nonetheless, recent studies adopting continuous measures of physical activity via accelerometry and investigating the within-person variability in that behavior have shown that physical activity levels can vary extensively within individuals over time and across different contexts [1720]. To date, no studies have characterized the within-person patterns of change in physical activity over several months; however, recent findings speak to the possibility that physical activity fluctuates in a potentially strong irregular fashion at the individual level [1720].

In this regard, complex systems theory offers a unique framework to characterize and understand dynamics and discontinuous/irregular patterns of change in human behavior [8, 16, 21, 22]. According to this theoretical framework, complex systems can experience abrupt and discontinuous changes from one stable state to another over time (e.g., [23]). These changes are sometimes referred to as abrupt shifts, order transitions or sudden gains and losses ([24]; we will henceforth refer to them using this last term). Numerous examples of sudden gains and losses in complex systems exist in the literature, from asthma attacks [25], shifts in motivational flow [26], improvements or aggravations of symptoms in individuals with depression, mood and/or anxiety disorders [27], and, at a broader level, forms of societal collapse [28] or climatic change [29]. In the health behavioral science literature, recent studies found that sleep stage transitions [30], as well as sedentary behaviors (i.e., time spent sitting) [31], were characterized by such irregular patterns of change. More volitional behaviors, such as daily changes in alcohol consumption, have also been successfully modelled with methods allowing the consideration of non-linearity and non-stationarity [32]. Although there have been prior and recent calls to study the dynamics of physical activity behavior changes through the lens of complex systems theory [8, 16], empirical investigations are lacking for this behavior.

Early warning signals for sudden behavioral changes

Beyond characterizing the dynamic nature of behavior change processes, early findings suggest that sudden gains and losses in complex systems can sometimes be predicted via early warning signals [24, 33]. One kind of signal corresponds to the presence of critical fluctuations in the behavior, as observed within time series data from a given system (e.g., an individual), which can be interpreted as an indicator of an imminent sudden gain or loss [34]. For example, research conducted within the psychotherapy setting showed that sudden gains and losses in symptom severity in individuals diagnosed with a mood disorder could be predicted by critical fluctuations in measures of the therapeutic process a few days before each transition [35]. This study used scores of dynamic complexity to quantify the amount of fluctuation [34]. The authors reported a positive and significant association between different dynamic complexity indicators and subsequent occurrence of sudden gains and losses [35]. Notably, this study found that greater fluctuations in measures of the therapeutic process were prospectively associated with the occurrence of sudden gains and losses in the next few days (see Fig 1 for a conceptual illustration of this process). The detection of behavioral fluctuations, quantified by indicators of dynamic complexity, thus represents a potentially useful way for clinicians and intervention designers to anticipate sudden behavioral gains and losses before they occur [24]. Applied to physical activity, the early prediction of imminent behavioral transitions represents a potentially valuable signal for delivering interventions “just-in-time” [36].

Fig 1.

Fig 1

Conceptual illustration of critical fluctuations in a given behavior followed by a sudden gain (upper panel), expressed as the level of dynamic complexity (lower panel). The transition from a stable state (starting at day 1 and ending around day 10) to a second stable state (starting around day 17) is characterized by a period of instability in which the behavior of the system displays critical fluctuations (upper panel). The greater the fluctuations in the behavior, the higher the dynamic complexity score (lower panel). Work in critical transitions across various systems indicate that instability can be observed shortly before a phase transition; increases in dynamic complexity can thus be seen as a form of early warning signal for either sudden gains and/or losses in a given system [35, 37]. Note that the Figure’s x axis represents continuous time but does not refer to a specific time unit, as this approach can be used to describe both rapid- and slow-evolving processes. The time unit here can thus conceptually vary from seconds to years.

It is theoretically plausible that physical activity behavior is usefully described from a complex systems perspective; however, there is a paucity of empirical work to test this assumption. If empirical work suggests that there are inherent sudden gains and losses, and potential complexity, in physical activity changes within individuals over time, then that would have important implications for physical activity research methods, theories, and interventions. If strong discontinuous patterns of change are observed, then the current measurement approach, which largely relies on snapshots of behavior across time, would be demonstrably insufficient to understand behavioral dynamics. Consequently, there would be a need to move from low- to high-resolution physical activity assessments [9]. If results illustrate discontinuous patterns of change, this would also establish the need for behavioral theories of physical activity that better account for the dynamic, discontinuous and potentially complex nature of physical activity [6, 7]. Finally, in regard to interventions, if the sudden gains and losses exist, the capacity to identify early warning signals for these state shifts in physical activity would be highly valuable for realizing and optimizing just-in-time adaptive interventions [36]. In particular, critical fluctuations, characterized by an increase in dynamic complexity, could be used to identify states of vulnerability, opportunity, or “teachable moments” for individuals (i.e., periods in which individuals would benefit from support if they are receptive to it [38, 39]).

The present study

This study aimed to (i) characterize within-person, day-to-day patterns of change in physical activity (i.e., daily step count); and (ii) examine whether critical fluctuations in walking behavior, expressed as a dynamic complexity score, were associated with the subsequent occurrence of a sudden gain or loss in the following days. Based on previous literature in psychology and behavioral sciences, we expected to observe discontinuous patterns of change in walking behavior within individuals, including sudden gains and losses preceded and followed by relatively stable behavioral states (see Fig 1, upper panel). We also expected heterogeneity in state transitions between participants, with participants experiencing either few or many sudden gains and losses. Second, we expected a significant and positive association between dynamic complexity (derived from the observation of fluctuations in walking behavior) and the subsequent occurrence of a sudden gain or loss in the following days (Fig 1, lower panel).

Materials and methods

To test these hypotheses, we used data from an ongoing two-year, three-arm, parallel-group randomized controlled trial (RCT) targeting weight loss among young adults with overweight or obesity (ClinicalTrials.gov Identifier: NCT03907462). Only the participants recruited for this RCT from April 16th 2019 (i.e., the beginning of the trial) to March 1st 2020 (i.e., before Covid-19 lockdown measures expected to influence physical activity were introduced in San Diego, California) were included in the present study. All relevant ethical regulations have been followed and the ethical committee of the University of California San Diego approved the study protocol. Participants have completed informed consent.

Participants and procedure

The analytic sample comprises only the participants from the RCT who had worn an activity monitor for at least 90 days (i.e., 3 months) with less than 20% of missing daily observations (i.e., inclusion criteria for the present study). Complete observations were defined as at least 600 minutes of valid minute heart rate signal per day (i.e., wear time indicator). Inclusion criteria for the RCT included being aged between 18 and 35 years, being affiliated with one of 3 major universities in San Diego (CA) as a student, faculty, staff member, or alumni and being overweight or obese (25 > = BMI < 40 kg/m2). Participants with comorbidities such as psychiatric and/or medical conditions were not eligible for the RCT.

The RCT is a 24-month study including (i) a group with activity monitors and connected digital scales, text messaging and lifestyle interventions based on social media, targeting weight loss through behavioral changes, (ii) a group with the abovementioned intervention package and additional phone-based health coaching sessions and (iii) a control group with activity monitors and digital scales alone. As the trial is still ongoing, group assignment remained unknown for the present study, and was not modelled in our analyses.

Measures

Data on walking behavior (i.e., daily step count) were collected with a Fitbit Charge 3 (Fitbit Inc, San Francisco, CA, USA). Participants were asked to wear the wrist-worn device continuously during the trial according to manufacturer recommendations (i.e., to wear the device on one’s non-dominant arm and up to three finger widths above the wrist bone).

Steps are estimated from the Fitbit via triaxial accelerometry measuring gravitational acceleration in the anterior-posterior [x], cranial-caudal [y], and medial-lateral [z] planes. It should be noted that this indicator of physical activity (i.e., step count) was chosen over other metrics offered by the device (e.g., physical activity intensity) because the estimation of steps from Fitbit sensors range from good to excellent in comparison with direct observation [40], while the validity of other metrics remains questionable [41]. With regards of descriptive statistics, weight and height were measured objectively in the lab and used to compute participant’s BMI in kg/m2. Age and gender were self-reported.

Data analysis

Time series characteristics

The mean length of the time series across participants was 226 days and the mean number of missing days per participant was 20 days (range = 0–61 days). Missing days were imputed using the Kalman Filter method (i.e., a procedure to compute the likelihood of a time series which is the outcome of a stationary autoregressive moving average process or non-stationary autoregressive integrated moving average process; see for further details [42]). This method, recommended for univariate time series imputation [43], was preferred over other techniques (e.g., ‘last observation carried forward’) based on visual inspections of the time series.

Characterization of gains and losses

Following the approach applied by Olthof et al. (2020), we used a recursive partitioning algorithm to characterize within-person behavioral changes over the course of the study using regression trees from the package rpart [44] for the R software environment [45]. Regression trees enable to identify nodes and partition a continuous variable y in recursive splits based on different predictors. In the present study, we partitioned the variable steps based on the progressive day of the intervention as predictor. Once we identified the splits for the variable steps for each participant separately, we classified them as gain or losses if they met additional criteria defined on the basis of previous research. Specifically, sudden gains and losses were defined as a shift toward a lower (loss) or higher (gain) number of steps over time, provided that two conditions (i.e., criteria) were simultaneously met:

  1. Based on past research from our group [4648], gains or losses for each participant were defined as a 30% increase or reduction in steps relative to the median number of steps, as assessed over the study period. For example, for a participant with a median of 7000 steps/day, a sudden gain was defined as an increase greater than 2100 steps per day (+30%) compared with the median, while a sudden loss was defined as a drop greater than 2100 steps per day (-30%) compared with the median. We used the median number of steps instead of the mean to manage potential skewed step count distributions at the individual level.

  2. In addition to these +/- 30% criteria, and to control for known differences in walking behavior between weekends and weekdays [49], sudden gains and losses had to be observed for stable periods of at least 7 days during which no further shifts in step count occurred. In other words, these changes of +/- 30% had to last at least 7 days, otherwise they were not classified as sudden gains or losses. Consequently, periods of high variability in steps without a stable period of at least 7 days (i.e., changes greater than +/- 30% from one day to another) were not classified as sudden gains or losses with our algorithm.

Local dynamic complexity calculation

After the identification of gains and losses, dynamic complexity was estimated from the fluctuations in the steps times series. We used for this purpose an algorithm designed specifically to identify critical fluctuations in time series and implemented with the R package casnet [50].

The dynamic complexity score is the product of a fluctuation measure, F, and a distribution parameter, D, for each unit of the time series (here, each day). The fluctuation measure, F, is sensitive to the amplitude and frequency of change in the time series, with F being at its maximum when the dynamics of the data vary from one observation to another with large (e.g., between the minimum and maximum values of the outcome) and regular frequency. The distribution parameter, D, measures the deviance of the data points from the range of possible values within the time series. This parameter increases when irregular changes from one observation to another occur (see [34]).

The two measures, F and D, were computed from moving time windows over the course of the time series. Based on previous literature [34, 35], we used a backward 7-day overlapping window, which means that F and D for a particular day n was computed on the basis of fluctuations in walking behavior in the past 7 days. In other words, the scores for day n was computed based on the aggregation fluctuation intensity in the past 7 days, between day n-7 and day n.

The dynamic complexity score (F x D) was then used to derive a continuous predictor of sudden gains and losses called local dynamic complexity. This score reflects the highest complexity score (F x D) in the 3 days preceding a possible gain or loss (as conceptually illustrated in Fig 1, lower panel, day #14). This 3-day time window was chosen based on previous literature [35] and because, theoretically, critical fluctuations are likely to appear a few days before a sudden gain or loss (although please see the sensitivity analyses in the Results section with varying time windows).

For mathematical details, see the document entitled “Dynamic Complexity” in the supplemental material available at https://osf.io/64cmv/).

Associations between local dynamic complexity and sudden gains and losses

The association between local dynamic complexity (i.e., the independent variable) and the occurrence of sudden gains and losses (i.e., the dependent variable) was tested with discrete-time multilevel event-history analysis through a generalized linear mixed-effects model. Individual differences in the number of gains and losses were controlled by including a random intercept. Adopting a “maximal approach” [51], random slopes were also included for the two continuous independent variables, time and local dynamic complexity. The equation, in the language of the package lme4 [52], is provided in the equation below:

SuddengainsorlossesTime+Duration+LocalDynamicComplexity+(1+Time+Duration+LocalDynamicComplexity||ParticipantID)

As recommended for this type of analysis [53], the progressive number of days from the beginning of the trial was included as a control variable (e.g., the likelihood of sudden gains and losses may be higher at the beginning of the study compared with the end). Further, the effect of time between events (e.g. sudden gains, losses and the start of data collection) was modeled by including a “duration indicator”, i.e. the number of days passed between events. The inclusion of this duration indicator is essential in event-history analyses to (i) control for censored cases (i.e., participants who did not experience a sudden gain or loss within the observation period) and (ii) reliably estimate cases with multiple sudden gains or losses [53]. Similar models were then conducted separately for the occurrence of gains (1 = occurrence of a sudden gain; 0 = no sudden gain) and losses (1 = occurrence of a sudden loss; 0 = no sudden loss). Odds ratios of the fixed effects coefficients were estimated with 95% likelihood profile confidence intervals.

Code and data availability

Statistical analyses were performed in R version 4.0.2. The data and code for the statistical analyses used in the present study are available on Open Science Framework, https://osf.io/64cmv/.

Results

Participant and time series characteristics

The final sample includes 151 young adults with overweight or obesity [57% Female; Mean age = 23 years (range = 18–38 years), mean BMI at baseline = 30 kg/m2 (range = 25–44 kg/m2)], who had worn an activity monitor measuring their daily step count for an average of 226 days (range = 107–320 days). The mean number of steps/days during the study across participants was 9687 steps/day (range = 508–53131 steps/day, median = 9110).

Objective 1: Characterization of sudden gains and losses

Participants experienced an average of 6 gains or losses during the study (range = 0–14), with an average of 3 gains (i.e., +30% compared with median steps for a period of at least 7 days) and 3 losses (i.e., -30% compared with median steps for a period of at least 7 days) per participant. Ten participants only experienced gains, six participants only experienced losses and one participant did not experience any gains or losses according to our criteria. The average period of time between two gains or losses was 31 days (range = 9–110 days). The average change in steps observed when a gain or loss occurred was 4900 steps (5022 steps for gains and 4784 steps for losses).

To illustrate this, Fig 2 presents the time series for six participants. The figure includes: the participant experiencing the highest number of gains and losses (participant #4); the participant experiencing no significant gains or losses (participant #100); one participant presenting only one loss (participant #121) and one participant presenting only one gain (participant #60); and finally, two participants that are representative of the total sample, experiencing a relatively equal number of gains and losses (participants #48 and #79). Similar visualizations for the 151 participants’ time series are available in the S1 Fig.

Fig 2. Time series for six participants with heterogeneous patterns of change in walking behavior.

Fig 2

Some apparent gains and losses were not classified as “significant” (as indicated by the blue and orange triangles) because they were either smaller than 30% of the median or not preceded and followed by a stable 7-day period.

Objective 2: Associations between local dynamic complexity scores and sudden gains and losses

The association between local dynamic complexity scores and the occurrence of sudden gains and losses was then tested with generalized linear mixed-effects models. The first model included the occurrence of a sudden gain or loss as a binary outcome (1 = occurrence of a gain or loss; 0 = no gain or loss) and the local dynamic complexity score as the predictor of interest. The same model was then used to test the associations between local dynamic complexity and gains and losses separately in order to examine potential differences when the outcome was framed as a gain rather than a loss, and vice versa.

Results are presented in Table 1. Local dynamic complexity positively predicted subsequent behavioral shifts with an odds ratio (OR) of 1.14, 95%CI [1.05, 1.24], indicating that an increase in local dynamic complexity of 1 SD relates to 14% increased odds of either a gain or a loss in the next 3 days. This result was driven by a positive association between local dynamic complexity score and sudden losses, OR = 1.44, 95%CI [1.28, 1.58]. Indeed, an increase in local dynamic complexity of 1 SD relates to 44% increased odds of experiencing a transition to lower physical activity levels. In contrast, local dynamic complexity tended to be negatively related (although not statistically significant) with behavioral gains, OR = 0.88, 95%CI [0.76, 1.00]. Time (i.e., the progressive number of days from the start of data collection) was negatively associated with the occurrence of both types of behavioral shifts, indicating that sudden gains and losses were less likely to occur at the end of the data collection period compared with the beginning. In contrast, duration (i.e., the number of days between events) was positively associated with the occurrence of both types of behavioral shifts, indicating that the longer the time since the beginning of the study or a prior gain or loss, the more likely it is that a participant will experience a sudden gain or loss.

Table 1. Associations between local dynamic complexity scores and sudden gains and losses in walking behavior.

Gains and losses (N = 151; k = 26882) Gains only (N = 144; k = 25924) Losses only (N = 140; k = 25031)
Predictors OR 95% CI OR 95% CI OR 95% CI
Time 0.85 [0.77, 0.93]* 0.70 [0.61, 0.79]* 0.60 [0.51, 0.71]*
Duration 1.21 [1.12, 1.32]* 2.06 [1.84, 2.30]* 2.11 [1.86, 2.40]*
LDC 1.14 [1.05, 1.24]* 0.89 [0.77, 1.01] 1.43 [1.28, 1.58]*

OR = odds ratio; CI = confidence intervals; LDC = local dynamic complexity.

* = statistical significance based on confidence intervals.

To summarize, results show that higher local dynamic complexity (or higher fluctuations in one’s daily step count) are positively associated with the odds of observing a sudden loss of at least 30% (compared with one’s median step count) in the next three days, lasting for a period of at least a week. However, fluctuations in one’s daily step count is not significantly associated with the odds of observing a sudden gain of at least 30% compared with one’s usual step count in the next three days, lasting for at least a week (see Table 1).

Sensitivity analyses

Sensitivity analyses were conducted to test the robustness of the results for varying levels of gains and losses (i.e., +/-20% and +/-40% of the median number of steps, instead of +/-30%, as specified in the main analyses), and different time-lags for the local dynamic complexity score (i.e., higher scores in the past two and four days, instead of the past three days, as specified in the main analyses). Results of the sensitivity analyses were compared with regards to their effects on the identification of gains and losses (objective 1) and the association between local dynamic complexity and the occurrence of sudden gains and losses (objective 2).

As shown in Table 2, lower (+/-20%) and higher (+/-40%) thresholds lead respectively to the identification of more (N = 1180) and less (N = 595) sudden gains and losses in comparison with the main analyses (+/-30%; N = 862). Using a more conservative threshold (+/-40% of the median number of steps) resulted in the detection of a lower number of sudden gains and losses, while using a less conservative threshold (+/-20% of the median number of steps) resulted in the detection of a higher number of events.

Table 2. Effect of different thresholds on the identification of behavioral gains and losses.

Thresholds Gains and losses Gains only Losses only
20% N = 1180 N = 563 N = 617
30% N = 862 N = 422 N = 440
40% N = 595 N = 295 N = 300

Note. Thresholds are estimated based on the median number of steps during the study period for each participant.

The associations between local dynamic complexity and the occurrence of sudden gains and losses were substantially unchanged (notably the prediction of sudden losses) in the sensitivity analyses with different time windows chosen for the computation of the local dynamic complexity score. Results from these 3 (thresholds for the identification of gains and losses) x 3 (time-lapses for the computation of local dynamic complexity) x 3 (gains and losses separately and together) sensitivity analyses are presented in the S1 Table.

Discussion

Findings from this study provide new empirical insights into the idiographic, day-to-day, changes in walking behavior over time in participants of a weight loss program. Regarding our first objective, the results revealed that, when analyzed at the daily-level, walking behavior exhibits discontinuous changes that can be described as sudden gains and losses, as conceptualized in complexity theory. Indeed, on average participants to this study experienced six sudden gains and losses of at least +/-30% of their individual steps level over a mean period of 226 days. Results also show heterogeneity in the patterns of change in walking behavior, with participants experiencing between 0 and up to 14 behavioral gains or losses during the study period. Regarding our second objective, significant associations between critical fluctuations in walking behavior, characterized here as increases in local dynamic complexity, and the subsequent occurrence of sudden gains and losses in the next three days were observed. Notably, increased local dynamic complexity was predictive of increased odds of sudden losses. The odds of having a sudden loss was 43% higher after an increase in local dynamic complexity. Overall, these findings provide early empirical support of our hypotheses that walking behavior is subject to irregular, day-to-day changes and that sudden losses can be anticipated with some accuracy from the analyses of critical fluctuations computed from physical activity behavior two to four days previous.

The first set of results (i.e., the identification of sudden gains and losses), is in accordance with both (i) previous empirical results, showing that psychological, physiological, social and behavioral systems, when observed at a high-resolution, might changes in a discontinuous fashion (e.g., [26, 32]), and (ii) complex systems theory assumptions, which postulate that any natural system is “bubbling” with change and tends to evolve in a non-stable manner [54]. Our observations thus provide support for several recent position papers arguing that changes in health behaviors can be fruitfully studied with research designs, methods, and statistics that reflect these behavioral dynamics [8, 9, 55]. Further, at the theoretical level, results from this study support the adoption of complex systems theory to better understand the dynamics of health behaviors over time and across contexts [6, 16]. With regards to walking behavior specifically, visual inspection of the time-series (see S1 Fig) also provides support to previous research (conducted at the group level and over short and aggregated periods of time) showing that significant variance in physical activity data could be observed at the intra-individual level, thus varying extensively not only between individuals but also within individuals [20].

The second set of results (i.e., associations between local dynamic complexity and sudden behavioral shifts), are partially aligned with previous literature. We observed a significant and positive association between our marker of critical fluctuations (i.e., local dynamic complexity) and the occurrence of sudden behavioral shifts in the following days. This confirmed assumptions from complex systems theory that changes within a system tends to be characterized by increased variability in system behavior before reorganization [34] (see Fig 1 for an illustration). However, this result was driven by a relatively strong positive association between critical fluctuations and the occurrence of a sudden behavioral loss. In contrast, although not significant, greater fluctuations were related to reduced odds of behavioral gains. Previous empirical work, conducted by Olthof et al. (2019), also found differences in the prediction of improvement (sudden losses) and deterioration (sudden gains) in psychological symptoms: (i) a positive and significant association between higher fluctuations and the occurrence of sudden symptoms improvements in psychotherapy and (ii) a positive but not-significant association between higher fluctuations and the occurrence of sudden symptoms deteriorations [35]. However, these analyses were explorative and possibly under-powered [35]. It is possible that different indicators of critical fluctuations have different predictive values for gains and losses depending on contextual parameters (i.e., weight loss program versus psychotherapy) or according to the outcome specificity (i.e., walking behavior versus depressive symptoms). Whether different kinds of gains or losses can be predicted from different critical fluctuations indicators remains an open question for future research inside and outside the field of physical activity. In any case, the fact that different associations are observed in the literature between indicators of dynamic complexity and sudden gains and losses invite to analyze these two kinds of behavioral shifts distinctively instead of pulled together.

Finally, an interpretation of the results can also be offered in terms of dynamic attractor landscapes depicted in Fig 3. Consider a landscape with two attractors, (i) a behavioral state of “low physical activity level’ (on the left) and (ii) a behavioral state of “high physical activity level” (on the right). In panel A of Fig 3, the system is in a stable state, either in the low-activity attractor or the high-activity one (upper panel of Fig 1). In panel B, as the landscape evolves to a state where the system is more unstable (due to the intervention, for example), random perturbations from daily events could move it to back and forth either direction, resulting in the instability indicated by increased dynamic complexity. Whether one starts out from low, medium or high activity, if the high-activity attractor remains shallower than the low-activity attractor, instability (which, again, shows up as dynamic complexity) will increase odds of ending up in the low-activity attractor after destabilizations. If the landscape subsequently evolves back to the one depicted in panel A, it has likely become trapped in the low-activity attractor–that is, having experienced what we define as a sudden loss. In other words, we make here the hypothesis that the low activity state would, in general, be more stable than the high activity one in the studied population and that destabilizations therefore are more likely to lead to low activity state (i.e., a sudden loss).

Fig 3. Attractor landscapes.

Fig 3

Study strengths, limitations and perspectives

A key strength of this study lies in its design and modelling approach, which highlighted original and unique information on the within-person, day-to-day changes in walking behavior over several months; which, taking together, lend empirical support toward the adoption of a more dynamic and complex systems-oriented research paradigm in this field of research. This study also provides a first proof of concept regarding the analysis of critical fluctuations in walking behavior as a form of early warning signal for sudden behavioral losses for walking behavior, thus providing potentially fruitful interventional perspectives for the development of just-in-time adaptive interventions.

This study has also several limitations. Based on literature in psychotherapy (e.g., [35]) and the availability of appropriate statistical methods, we decided to classify behavioral changes as sudden gains and losses, however, other characterizations of behavioral states could have been deployed. For example, analyses of decreasing or increasing slopes could be conducted with structural break detection methods [56]. Further, and although our recursive algorithm partially considers within-person variability in daily step count, other statistical methods might be more appropriate in the detection of “stable” versus “unstable” behavioral states, such as the analyses of signal variability [57]. Such complementary analyses (e.g., slope or signal variability analyses) could give a different insight on physical activity changes and might actually provide better statistical fits in some contexts or for some participants. Further, and using these or different techniques, it would also be important to explore whether different trajectories or patterns of change are associated with treatment responses and relevant outcomes (e.g., weight loss, improvements in cardiorespiratory fitness or mental health). In the same vein, we decided in the present study to focus on day-to-day changes in physical activity; however, micro-temporal changes occurring within days (see [58]) or macro-temporal variations across months or years could also be studied with similar methods, with important implications for physical activity theories and interventions from a multi-time scale perspective [59]. Future studies are thus needed to explore different characterizations of discontinuous and idiographic behavior changes over multiple time-scales to complement the results from this early work.

Second, this study used a specific score of local dynamic complexity to characterize critical fluctuations in daily steps based on previous successful applications of this indicator in the prediction of sudden mental health improvements or deteriorations in psychotherapy [35]. Also, and like for the detection of sudden behavioral shifts, other forms of fluctuation indicators could be tested for their predictive power in future research. A previous study for example has computed the local dynamic complexity score from several self-reported items compiled together instead of computing the dynamic complexity score from the main variable of interest [35], like we did in the present study (i.e., steps). Hence, future studies might wish to test whether critical fluctuations in several indicators, compiled together, such as walking behavior but also some of its determinants (e.g., motivational factors, stress, weather), have greater predictive power in the detection of subsequent behavior changes than the analyses of critical fluctuations in the main variable of interest solely. Testing whether determinants of walking behavior (e.g., fluctuations in behavioral intentions or action control) are associated with the critical fluctuations in the behavior would also provide important information about why increases in dynamic complexity are observed and what they represent. Adopting an idiographic approach, we could also make the assumptions that the predictive power of critical fluctuations for behavior changes differ from one person to another [60, 61]. It is possible that different fluctuation indicators (e.g., derived from walking behavior only versus from compiled variables) or time-lapses (e.g., 3-day versus 7-day windows to compute local dynamic complexity) are more or less predictive depending on participant idiosyncrasies.

Third, our results provide support for the hypothesis that behavioral change may occur through critical transitions that are preceded by increased levels of dynamic complexity. However, we do not know the causal drivers of the increased dynamic complexity and the transitions. it is important for future studies to explore (i) whether possible causal influences on physical activity behavior (i.e., weather variations; changes in motivation) are related to changes in local dynamic complexity and sudden gains or losses. Furthermore, future research should test whether local dynamic complexity can be manipulated during an intervention to prevent sudden losses in walking behavior.

Finally, this study was conducted among young, fairly active, adults with overweight and obesity participating in a weight loss program where different health-related behaviors are manipulated as part of the intervention. Although, this population is of prior interest for physical activity promotion, other pattern of results might be observed in other contexts and populations. Further, as the trial is still ongoing, group assignment remained unknown for the present study, and was not modelled in our analyses, which constitutes a limit given that results might differ by groups. For all these different reasons, results from the present study should be replicated in other contexts.

Theoretical, methodological and interventional implications

Although results from this study should be replicated in different contexts, they provide empirical evidence that high-resolution changes in walking behavior might be better studied and understood if elements of complexity theory and methods are accounted for [8]. In other words, a dynamic and complex systems-oriented paradigm should be adopted to better understand and describe physical activity behavior change, notably if those changes are studied at high-resolution, such as a daily level. Theories and models could progressively be refined to include more precise assumptions about time and behavior dynamics as argued in recent position papers [6, 7]. Previous assumptions about gradual behavior change following adoption and maintenance phases should also be refined, or at least completed, to better account for rapidly changing critical transitions. At the methodological level, results from this study suggest that future studies interested in the dynamics of behavior changes should transition from (i) low- to high-resolution behavioral assessments to better capture potential discontinuous changes in those processes; (ii) group-only to group- and individual-level statistical inference to accurately modelled individual variability; and (iii) static to adaptive and continuous tuning interventional designs to better account for rapidly changing behavioral states and contexts (see [9] for further justifications). If successfully applied, that type of adaptive interventions would also argue against the utilization of traditional randomized control trials to test interventions in the physical activity context, at least as they are often implemented, i.e., with low-resolution behavioral measures, exclusively using a nomothetic approach and fixed intervention components.

Conclusion

This study highlights discontinuous -sudden gains and losses- and heterogeneous patterns of day-to-day changes in walking behavior over months among a large sample of young adults with obesity participating to a weight loss program. This study also provides first evidence that critical fluctuations in behavior time-series can be associated with the subsequent occurrence of behavioral losses in the next days, thus providing a form of early warning signals for physical activity behavior changes. Taken together, this study suggests that walking behavior changes could be well understood under dynamic and complex-system paradigms.

Supporting information

S1 Fig. Idiographic visualizations for the 151 participants’ time series.

(PDF)

S1 Table

Sensitivity analyses for varying a) thresholds for the identification of gains and losses, b) time-lapses for the computation of local dynamic complexity and c) gains and losses separately and together.

(DOCX)

Acknowledgments

We would like to thanks the Dr. Damian G Kelty-Stephen for his insights on this project. We would also like to thank all of the staff and participants who are making trial NCT03907462 possible.

Data Availability

The data and code for the statistical analyses used in the present study are available on Open Science Framework, https://osf.io/64cmv/.

Funding Statement

The present research was funded by a grant from the National Heart, Lung, and Blood Institute (NHLBI); R01HL136769 awarded to the last author (JG). The first author (GC) acknowledges support from the Spanish Ministry of Science and Innovation and State Research Agency through the “Centro de Excelencia Severo Ochoa 2019-2023” Program (CEX2018-000806-S), and support from the Generalitat de Catalunya through the CERCA Program.

References

  • 1.Lee I-M, Shiroma EJ, Lobelo F, Puska P, Blair SN, Katzmarzyk PT. Effect of physical inactivity on major non-communicable diseases worldwide: an analysis of burden of disease and life expectancy. The Lancet. 2012. July 21;380(9838):219–29. 10.1016/S0140-6736(12)61031-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Bernard P., Chevance G., Kingsbury C. et al. Climate Change, Physical Activity and Sport: A Systematic Review. Sports Medicine. 2021; 51:1041–1059. 10.1007/s40279-021-01439-4 [DOI] [PubMed] [Google Scholar]
  • 3.Guthold R, Stevens GA, Riley LM, Bull FC. Worldwide trends in insufficient physical activity from 2001 to 2016: a pooled analysis of 358 population-based surveys with 1·9 million participants. Lancet Glob Health. 2018. October 1;6(10):e1077–86. 10.1016/S2214-109X(18)30357-7 [DOI] [PubMed] [Google Scholar]
  • 4.Ekkekakis P, Zenko Z. Chapter 18—Escape From Cognitivism: Exercise as Hedonic Experience. In: Raab M, Wylleman P, Seiler R, Elbe A-M, Hatzigeorgiadis A, editors. Sport and Exercise Psychology Research [Internet]. San Diego: Academic Press; 2016. [cited 2019 Nov 14]. p. 389–414. Available from: http://www.sciencedirect.com/science/article/pii/B9780128036341000182 [Google Scholar]
  • 5.Kelly MP, Barker M. Why is changing health-related behaviour so difficult? Public Health. 2016. July;136:109–16. 10.1016/j.puhe.2016.03.030 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Scholz U. It’s Time to Think about Time in Health Psychology. Appl Psychol Health Well-Being. 2019;11(2):173–86. 10.1111/aphw.12156 [DOI] [PubMed] [Google Scholar]
  • 7.Hekler EB, Michie S, Pavel M, Rivera DE, Collins LM, Jimison HB, et al. Advancing Models and Theories for Digital Behavior Change Interventions. Am J Prev Med. 2016. November 1;51(5):825–32. 10.1016/j.amepre.2016.06.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Heino, M. T. J. Studying behaviour change mechanisms under complexity. Available from: https://psyarxiv.com/fxgw4/ [DOI] [PMC free article] [PubMed]
  • 9.Chevance G, Perski O, Hekler EB. Innovative methods for observing and changing complex health behaviors: four propositions. Transl Behav Med [Internet]. [cited 2020 Oct 8]; Available from: https://academic.oup.com/tbm/advance-article/doi/10.1093/tbm/ibaa026/5838784 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Morabia A, Costanza MC. It takes a train to knock down global warming and obesity. Prev Med. 2010. December 1;51(6):449–50. 10.1016/j.ypmed.2010.11.004 [DOI] [PubMed] [Google Scholar]
  • 11.Cavill N, Richardson D, Faghy M, Bussell C, Rutter H. Using system mapping to help plan and implement city-wide action to promote physical activity. J Public Health Res [Internet]. 2020. August 26 [cited 2020 Oct 8];9(3). Available from: https://www.jphres.org/index.php/jphres/article/view/1759 10.4081/jphr.2020.1759 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Gal R, May AM, van Overmeeren EJ, Simons M, Monninkhof EM. The Effect of Physical Activity Interventions Comprising Wearables and Smartphone Applications on Physical Activity: a Systematic Review and Meta-analysis. Sports Med—Open [Internet]. 2018. September 3 [cited 2020 Oct 8];4. Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6120856/ 10.1186/s40798-018-0157-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Kwasnicka D, Dombrowski SU, White M, Sniehotta F. Theoretical explanations for maintenance of behaviour change: a systematic review of behaviour theories. Health Psychol Rev. 2016. July 2;10(3):277–96. 10.1080/17437199.2016.1151372 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Murray JM, Brennan SF, French DP, Patterson CC, Kee F, Hunter RF. Effectiveness of physical activity interventions in achieving behaviour change maintenance in young and middle aged adults: A systematic review and meta-analysis. Soc Sci Med. 2017. November 1;192:125–33. 10.1016/j.socscimed.2017.09.021 [DOI] [PubMed] [Google Scholar]
  • 15.Dunton GF. Sustaining Health-Protective Behaviors Such as Physical Activity and Healthy Eating. JAMA. 2018. August 21;320(7):639–40. 10.1001/jama.2018.6621 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Resnicow K, Vaughan R. A chaotic view of behavior change: a quantum leap for health promotion. Int J Behav Nutr Phys Act. 2006. September 12;3(1):25. 10.1186/1479-5868-3-25 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Hooker SA, Oswald LB, Reid KJ, Baron KG. Do Physical Activity, Caloric Intake, and Sleep Vary Together Day to Day? Exploration of Intraindividual Variability in 3 Key Health Behaviors. J Phys Act Health. 2020. January 1;17(1):45–51. 10.1123/jpah.2019-0207 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Maher JP, Dzubur E, Huh J, Intille S, Dunton GF. Within-Day Time-Varying Associations Between Behavioral Cognitions and Physical Activity in Adults. J Sport Exerc Psychol. 2016. August;38(4):423–34. 10.1123/jsep.2016-0058 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Conroy DE, Ram N, Pincus AL, Coffman DL, Lorek AE, Rebar AL, et al. Daily Physical Activity and Alcohol Use Across the Adult Lifespan. Health Psychol Off J Div Health Psychol Am Psychol Assoc. 2015. June;34(6):653–60. 10.1037/hea0000157 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Pedersen ESL, Danquah IH, Petersen CB, Tolstrup JS. Intra-individual variability in day-to-day and month-to-month measurements of physical activity and sedentary behaviour at work and in leisure-time among Danish adults. BMC Public Health. 2016. December 3;16(1):1222. 10.1186/s12889-016-3890-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Resnicow K, Page SE. Embracing Chaos and Complexity: A Quantum Change for Public Health. Am J Public Health. 2008. August;98(8):1382–9. 10.2105/AJPH.2007.129460 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Vallacher R, Read SJ, Nowak A. The Dynamical Perspective in Personality and Social Psychology. Personality and Social Psychology Review. 2002. November 6;4:264–273 [Google Scholar]
  • 23.Ashwin P, Wieczorek S, Vitolo R, Cox P. Tipping points in open systems: bifurcation, noise-induced and rate-dependent examples in the climate system. Philos Trans R Soc Math Phys Eng Sci. 2012. March 13;370(1962):1166–84. 10.1098/rsta.2011.0306 [DOI] [PubMed] [Google Scholar]
  • 24.Scheffer M, Bascompte J, Brock WA, Brovkin V, Carpenter SR, Dakos V, et al. Early-warning signals for critical transitions. Nature. 2009. September;461(7260):53–9. 10.1038/nature08227 [DOI] [PubMed] [Google Scholar]
  • 25.Venegas JG, Winkler T, Musch G, Vidal Melo MF, Layfield D, Tgavalekos N, et al. Self-organized patchiness in asthma as a prelude to catastrophic shifts. Nature. 2005. April;434(7034):777–82. 10.1038/nature03490 [DOI] [PubMed] [Google Scholar]
  • 26.Guastello SJ, Johnson EA, Rieke ML. Nonlinear Dynamics of Motivational Flow. Nonlinear Dyn Psychol Life Sci. 1999. July 1;3(3):259–73. [Google Scholar]
  • 27.Helmich MA, Wichers M, Olthof M, Strunk G, Aas B, Aichhorn W, et al. Sudden Gains in Day-to-Day Change: Revealing Nonlinear Patterns of Individual Improvement in Depression. J Consult Clin Psychol. 2020. February;88(2):119–27. 10.1037/ccp0000469 [DOI] [PubMed] [Google Scholar]
  • 28.Bardi U. Before the Collapse: A Guide to the Other Side of Growth [Internet]. Springer International Publishing; 2020. [cited 2020 Oct 8]. Available from: https://www.springer.com/gp/book/9783030290375 [Google Scholar]
  • 29.Steffen W, Rockström J, Richardson K, Lenton TM, Folke C, Liverman D, et al. Trajectories of the Earth System in the Anthropocene. Proc Natl Acad Sci. 2018. August 14;115(33):8252–9. 10.1073/pnas.1810141115 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.de Mooij SMM, Blanken TF, Grasman RPPP, Ramautar JR, Van Someren EJW, van der Maas HLJ. Dynamics of sleep: Exploring critical transitions and early warning signals. Comput Methods Programs Biomed. 2020. September 1;193:105448. 10.1016/j.cmpb.2020.105448 [DOI] [PubMed] [Google Scholar]
  • 31.Broeke P ten, Olthof M, Beckers DGJ, Hopkins ND, Graves LEF, Carter SE, et al. Temporal dynamics of sitting behavior at work. Proc Natl Acad Sci. 2020. June 30;117(26):14883–9. 10.1073/pnas.2001284117 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Warren K, Hawkins RC, Sprott JC. Substance abuse as a dynamical disease: Evidence and clinical implications of nonlinearity in a time series of daily alcohol consumption. Addict Behav. 2003. March 1;28(2):369–74. 10.1016/s0306-4603(01)00234-9 [DOI] [PubMed] [Google Scholar]
  • 33.Haken H. Synergetics: An Introduction Nonequilibrium Phase Transitions and Self-Organization in Physics, Chemistry and Biology [Internet]. 2nd ed. Berlin Heidelberg: Springer-Verlag; 1978. [cited 2020 Oct 8]. (Springer Series in Synergetics). Available from: https://www.springer.com/gp/book/9783642964695 [Google Scholar]
  • 34.Schiepek G, Strunk G. The identification of critical fluctuations and phase transitions in short term and coarse-grained time series—a method for the real-time monitoring of human change processes. Biol Cybern. 2010. March 1;102(3):197–207. 10.1007/s00422-009-0362-1 [DOI] [PubMed] [Google Scholar]
  • 35.Olthof Merlijn, et al. Critical Fluctuations as an Early-Warning Signal for Sudden Gains and Losses in Patients Receiving Psychotherapy for Mood Disorders [Internet]. [cited 2020 Oct 8]. Available from: https://journals.sagepub.com/doi/full/10.1177/2167702619865969 [Google Scholar]
  • 36.Hardeman W, Houghton J, Lane K, Jones A, Naughton F. A systematic review of just-in-time adaptive interventions (JITAIs) to promote physical activity. Int J Behav Nutr Phys Act. 2019. April 3;16(1):31. 10.1186/s12966-019-0792-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Scheffer M, Carpenter SR, Lenton TM, Bascompte J, Brock W, Dakos V, et al. Anticipating Critical Transitions. Science. 2012. October 19;338(6105):344–8. 10.1126/science.1225244 [DOI] [PubMed] [Google Scholar]
  • 38.Nahum-Shani I, Hekler EB, Spruijt-Metz D. Building health behavior models to guide the development of just-in-time adaptive interventions: A pragmatic framework. Health Psychol Off J Div Health Psychol Am Psychol Assoc. 2015. December;34S:1209–19. 10.1037/hea0000306 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Nahum-Shani I, Smith SN, Spring BJ, Collins LM, Witkiewitz K, Tewari A, et al. Just-in-Time Adaptive Interventions (JITAIs) in Mobile Health: Key Components and Design Principles for Ongoing Health Behavior Support. Ann Behav Med. 2018. May 18;52(6):446–62. 10.1007/s12160-016-9830-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Feehan LM, Geldman J, Sayre EC, Park C, Ezzat AM, Yoo JY, et al. Accuracy of Fitbit Devices: Systematic Review and Narrative Syntheses of Quantitative Data. JMIR MHealth UHealth. 2018;6(8):e10527. 10.2196/10527 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.O’Driscoll R, Turicchi J, Beaulieu K, Scott S, Matu J, Deighton K, et al. How well do activity monitors estimate energy expenditure? A systematic review and meta-analysis of the validity of current technologies. Br J Sports Med. 2018. September 7; 10.1136/bjsports-2018-099643 [DOI] [PubMed] [Google Scholar]
  • 42.Gómez V, Maravall A. Estimation, Prediction, and Interpolation for Nonstationary Series with the Kalman Filter. J Am Stat Assoc. 1994. June 1;89(426):611–24. [Google Scholar]
  • 43.Moritz S, Sardá A, Bartz-Beielstein T, Zaefferer M, Stork J. Comparison of different Methods for Univariate Time Series Imputation in R. ArXiv151003924 Cs Stat [Internet]. 2015 Oct 13 [cited 2020 Oct 8]; Available from: http://arxiv.org/abs/1510.03924
  • 44.Therneau T, Atkinson B, port BR (producer of the initial R, maintainer 1999–2017). rpart: Recursive Partitioning and Regression Trees [Internet]. 2019 [cited 2020 Oct 8]. Available from: https://CRAN.R-project.org/package = rpart
  • 45.R Core Team. R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/. 2019; [Google Scholar]
  • 46.Korinek E.V., Phatak S.S., Martin C.A., Freigoun M.T., Rivera D.E., Adams M.A., et al. Adaptive step goals and rewards: a longitudinal growth model of daily steps for a smartphone-based walking intervention. J Behav Med. 2018;41(1):74–86. 10.1007/s10865-017-9878-3 [DOI] [PubMed] [Google Scholar]
  • 47.Klasnja P, Smith S, Seewald NJ, Lee A, Hall K, Luers B, et al. Efficacy of Contextually Tailored Suggestions for Physical Activity: A Micro-randomized Optimization Trial of HeartSteps. Ann Behav Med. 2019. May 3;53(6):573–82. 10.1093/abm/kay067 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Chevance G, Baretta D, Golaszewski N, Takemoto M, Shrestha S, Jain S, Rivera DE, Klasnja P, Hekler E. Goal setting and achievement for walking: A series of N-of-1 digital interventions. Health Psychol. 2021 Jan;40(1):30–39. 10.1037/hea0001044 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Matthews CE, Ainsworth BE, Thompson RW, Bassett DR. Sources of variance in daily physical activity levels as measured by an accelerometer. Med Sci Sports Exerc. 2002. August;34(8):1376–81. 10.1097/00005768-200208000-00021 [DOI] [PubMed] [Google Scholar]
  • 50.A Toolbox for Studying Complex Adaptive Systems and NETworks [Internet]. [cited 2020 Oct 8]. Available from: https://fredhasselman.com/casnet/
  • 51.Barr DJ, Levy R, Scheepers C, Tily HJ. Random effects structure for confirmatory hypothesis testing: Keep it maximal. J Mem Lang. 2013. April 1;68(3):255–78. 10.1016/j.jml.2012.11.001 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Bates D, Mächler M, Bolker B, Walker S. Fitting Linear Mixed-Effects Models Using lme4. J Stat Softw. 2015. October 7;67(1):1–48. [Google Scholar]
  • 53.Haas E, Hill RD, Lambert MJ, Morrell B. Do early responders to psychotherapy maintain treatment gains? J Clin Psychol. 2002;58(9):1157–72. 10.1002/jclp.10044 [DOI] [PubMed] [Google Scholar]
  • 54.Hayes AM, Laurenceau J-P, Feldman G, Strauss JL, Cardaciotto L. Change is not always linear: The study of nonlinear and discontinuous patterns of change in psychotherapy. Clin Psychol Rev. 2007. July 1;27(6):715–23. 10.1016/j.cpr.2007.01.008 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Hekler EB, Rivera DE, Martin CA, Phatak SS, Freigoun MT, Korinek E, et al. Tutorial for Using Control Systems Engineering to Optimize Adaptive Mobile Health Interventions. J Med Internet Res [Internet]. 2018. June 28 [cited 2018 Nov 28];20(6). Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6043734/ 10.2196/jmir.8622 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Bai J, Perron P. Computation and analysis of multiple structural change models. J Appl Econom. 2003;18(1):1–22. [Google Scholar]
  • 57.Post P, Kärner O. Time Series Analysis: A New Methodology for Comparing the Temporal Variability of Air Temperature [Internet]. Vol. 2013, Journal of Climatology. Hindawi; 2013. [cited 2020 Oct 8]. p. e313917. Available from: https://www.hindawi.com/journals/jcli/2013/313917/ [Google Scholar]
  • 58.Temporal dynamics of sitting behavior at work | PNAS [Internet]. [cited 2020 Oct 8]. Available from: https://www.pnas.org/content/117/26/14883.short [DOI] [PMC free article] [PubMed]
  • 59.Ram N, Gatzke-Kopp L, Gerstorf D, Coccia M, Morack J, Molenaar PCM. Intraindividual Variability Across the Life Span [Internet]. Routledge Handbooks Online; 2014. [cited 2019 Nov 19]. Available from: https://www.routledgehandbooks.com/doi/10.4324/9780203113066.ch2#sec2_18 [Google Scholar]
  • 60.Molenaar PCM. A Manifesto on Psychology as Idiographic Science: Bringing the Person Back Into Scientific Psychology, This Time Forever. Meas Interdiscip Res Perspect. 2004. October 1;2(4):201–18. [Google Scholar]
  • 61.Molenaar PCM, Campbell CG. The New Person-Specific Paradigm in Psychology. Curr Dir Psychol Sci. 2009. April 1;18(2):112–7. [Google Scholar]

Decision Letter 0

Yih-Kuen Jan

18 Jan 2021

PONE-D-20-36553

Characterizing and predicting person-specific, day-to-day, fluctuationsin walking behavior

PLOS ONE

Dear Dr. Chevance,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Mar 04 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

We look forward to receiving your revised manuscript.

Kind regards,

Yih-Kuen Jan, PhD, University of Illinois at Urbana-Champaign

Academic Editor, PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Thank you for stating the following in the Competing Interests section:

"The authors have declared that no competing interests exist."

We note that one or more of the authors are employed by a commercial company: Accenture.

2.1. Please provide an amended Funding Statement declaring this commercial affiliation, as well as a statement regarding the Role of Funders in your study. If the funding organization did not play a role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript and only provided financial support in the form of authors' salaries and/or research materials, please review your statements relating to the author contributions, and ensure you have specifically and accurately indicated the role(s) that these authors had in your study. You can update author roles in the Author Contributions section of the online submission form.

Please also include the following statement within your amended Funding Statement.

“The funder provided support in the form of salaries for authors [insert relevant initials], but did not have any additional role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript. The specific roles of these authors are articulated in the ‘author contributions’ section.”

If your commercial affiliation did play a role in your study, please state and explain this role within your updated Funding Statement.

2.2. Please also provide an updated Competing Interests Statement declaring this commercial affiliation along with any other relevant declarations relating to employment, consultancy, patents, products in development, or marketed products, etc.  

Within your Competing Interests Statement, please confirm that this commercial affiliation does not alter your adherence to all PLOS ONE policies on sharing data and materials by including the following statement: "This does not alter our adherence to  PLOS ONE policies on sharing data and materials.” (as detailed online in our guide for authors http://journals.plos.org/plosone/s/competing-interests) . If this adherence statement is not accurate and  there are restrictions on sharing of data and/or materials, please state these. Please note that we cannot proceed with consideration of your article until this information has been declared.

Please include both an updated Funding Statement and Competing Interests Statement in your cover letter. We will change the online submission form on your behalf.

Please know it is PLOS ONE policy for corresponding authors to declare, on behalf of all authors, all potential competing interests for the purposes of transparency. PLOS defines a competing interest as anything that interferes with, or could reasonably be perceived as interfering with, the full and objective presentation, peer review, editorial decision-making, or publication of research or non-research articles submitted to one of the journals. Competing interests can be financial or non-financial, professional, or personal. Competing interests can arise in relationship to an organization or another person. Please follow this link to our website for more details on competing interests: http://journals.plos.org/plosone/s/competing-interests

3. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager. Please see the following video for instructions on linking an ORCID iD to your Editorial Manager account: https://www.youtube.com/watch?v=_xcclfuvtxQ

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Partly

Reviewer #3: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: I Don't Know

Reviewer #3: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: The authors intended to assess walking behavior under a dynamic paradigm. They analyzed data based on 151 overweight or obesity young adults. They conduct the analysis using recursive partitioning algorithm to identify the patterns of behavioral change and computed individual’s fluctuation intensity with a dynamic complexity algorithm. The results showed the positive association between critical fluctuations in walking behavior, a form of early warning signals, and the subsequent occurrence.

1. Line 230. The regression tree was conducted based on several binary criteria. What are these binary criteria? How about other continuous sample characters, such as age and so on? Also, the outcome is binary, classification tree is more appropriate name for the analysis.

2. Classification/regression tree tends to be overfitting in general. Please comment on addressing this for the current analysis.

3. Classification/regression tree is pretty data-driven approach. How stable of the results would be for current analysis? or any strategies were implemented to avoid this?

Reviewer #2: In the “Data analysis” section, please adress the following concerns.

(1) What does the sentence “Missing days were imputed using the Kalman Filter method” (lines 219-220) mean? Please describe the approach briefly.

(2) The approach to identify sudden gains and losses for depressive symptoms (lines 225-230) was unclear.

(3) In the subsection “Local dynamic complexity calculation”, it would be better to give the mathematical expressions of the metrics such as “dynamic complexity score”, “fluctuation measure”, and “distribution parameter” and then explain the rationales for the use of these metrics.

(4) In the subsection “Associations between …”, it is difficult to understand the method to test the association between local dynamic complexity and the occurrence of sudden gains and losses (lines 278-283) and the equation (lines 286-287). It would be better to present them in a mathematical manner.

Reviewer #3: In this submission, the authors are able to show a correlation between fluctuations in walking behavior and subsequent behavioral losses within the following days. The primary methodology is based on a reasonable sample size based on a recent parallel-group randomized controlled trial related to weight loss among young adults. A significant limitation of the study is that the trial is ongoing, in addition to changes due to to the onset of Covid-19 disturbance (which the authors account for), and as such information was not available on group assignment. Due to the nature of the aforementioned RCT study, there could be different interventions on subgroups of the study population which could affect the data. This would have been interesting to analyze or detect subgroups of varying complexity within the analyzed population, even though it is understandable there would be no confirmation available due to the RCT design parameters. Another limitation is the age range of the study population. Overall, the authors address the above points and do a good job in describing the limitations of their study.

Regarding methodology, the authors performed Kalman filtering over missing days, and specified a mean number of days missing and range. To detect gains and losses, a recursive partitioning algorithm available in an R package was used. Changes of 30% increase or reduction of steps were assessed. A sensitivity analysis was performed looking at the effect of changing this threshold. A different R package was used to calculate dynamic complexity. A link was provided for data and code. Looking at associations between gains/losses and local dynamic complexity showed relations as characterized in Table 1, with appropriate statistics. Overall, the approach is sound and the results are interesting. It would be good to know the proportion of stable 7 day periods vs periods of high variability to better characterize the amount of days/time during which no sudden gains/losses could be computed. Figure 1 could also use expansion, to better illustrate use of the algorithm and graphically display examples of some of the situations encountered (gain vs loss, threshold bars, etc). Also recommend the time axis be labeled with units.

The author's discussion was sound and noted results that somewhat but not entirely corresponded with literature. Results are interpreted, and limitations of the study were described in a reasonable amount of detail. Fig.3 might have benefitted from more labeling or description in the figure caption (which was embedded in the text instead). As the authors mention in their study strengths and limitations section, it would be interesting to cross compare with different scores of local dynamic complexity, particularly in reference to variables outside the main variables of interest, and taking into account timing of events such as interventions among different subgroups in the RCT. This would be an interesting topic of follow-up work. Overall, the manuscript is well written, the methodology described and thought processes used in the study are thoroughly described, and the results are interesting, though require further study in the future. I thus recommend this manuscript for publication.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Reviewer #3: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2021 May 14;16(5):e0251659. doi: 10.1371/journal.pone.0251659.r002

Author response to Decision Letter 0


1 Apr 2021

PONE-D-20-36553

Characterizing and predicting person-specific, day-to-day, fluctuations in walking behavior

PLOS ONE

Yih-Kuen Jan, PhD, University of Illinois at Urbana-Champaign

Academic Editor, PLOS ONE

Dear Editor,

Thank you for the opportunity to submit a revised version of our manuscript. I would like to draw your attention to the fact that, during the revision process, we benefited from feedback from Merlijn Olthof (PhD candidate from Radboud University and topic specialist) on our study’s preprint. Given the quality of his feedback, we offered Dr. Olthof to be part of the authorship for this paper. One of the main remarks made by Dr. Olthof was to include a “duration” indicator in our statistical model accounting for the time (i.e., number of days) between each event (i.e., gains and losses), as usually recommended for this type of analysis. This addition substantially improved our models’ fit indices and slightly changed the results.

All the modifications made in regards of Dr. Olthof’s comments and the ones of the three reviewers solicited by PLOS ONE can be tracked in the manuscript. Answers to the 3 reviewers’ remarks and your specific editorial interrogations can be found below.

Best regards.

On behalf of the authors,

Guillaume Chevance

Editor’s comments:

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming.

Authors’ answer: Modifications have now been made to fit with PLOS ONE’s style requirements.

2. Thank you for stating the following in the Competing Interests section: "The authors have declared that no competing interests exist."

We note that one or more of the authors are employed by a commercial company: Accenture.

Authors’ answer: A competing interests statement has been added on page 29. None of the authors have any competing interests to declare. The activity of Dr. Baretta as part of Accenture isn’t related to the present manuscript. Dr. Baretta was affiliated with the University of California at San Diego (as a post-doctoral scholar) at the beginning of this project and has worked on the present article in his free time. There are no links, or any competing interests, between his affiliation/work with Accenture and the present study.

2.1. Please provide an amended Funding Statement declaring this commercial affiliation, as well as a statement regarding the Role of Funders in your study. If the funding organization did not play a role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript and only provided financial support in the form of authors' salaries and/or research materials, please review your statements relating to the author contributions, and ensure you have specifically and accurately indicated the role(s) that these authors had in your study. You can update author roles in the Author Contributions section of the online submission form.

Please also include the following statement within your amended Funding Statement.

“The funder provided support in the form of salaries for authors [insert relevant initials], but did not have any additional role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript. The specific roles of these authors are articulated in the ‘author contributions’ section.”

If your commercial affiliation did play a role in your study, please state and explain this role within your updated Funding Statement.

Authors’ answer: The Funding Statement has now been updated.

2.2. Please also provide an updated Competing Interests Statement declaring this commercial affiliation along with any other relevant declarations relating to employment, consultancy, patents, products in development, or marketed products, etc.

Within your Competing Interests Statement, please confirm that this commercial affiliation does not alter your adherence to all PLOS ONE policies on sharing data and materials by including the following statement: "This does not alter our adherence to PLOS ONE policies on sharing data and materials.” (as detailed online in our guide for authors http://journals.plos.org/plosone/s/competing-interests). If this adherence statement is not accurate and there are restrictions on sharing of data and/or materials, please state these. Please note that we cannot proceed with consideration of your article until this information has been declared.

Please include both an updated Funding Statement and Competing Interests Statement in your cover letter. We will change the online submission form on your behalf.

Please know it is PLOS ONE policy for corresponding authors to declare, on behalf of all authors, all potential competing interests for the purposes of transparency. PLOS defines a competing interest as anything that interferes with, or could reasonably be perceived as interfering with, the full and objective presentation, peer review, editorial decision-making, or publication of research or non-research articles submitted to one of the journals. Competing interests can be financial or non-financial, professional, or personal. Competing interests can arise in relationship to an organization or another person. Please follow this link to our website for more details on competing interests: http://journals.plos.org/plosone/s/competing-interests

Authors’ answer: This was updated.

3. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager. Please see the following video for instructions on linking an ORCID iD to your Editorial Manager account: https://www.youtube.com/watch?v=_xcclfuvtxQ

Authors’ answer: This was updated.

Reviewers' comments:

Reviewer #1:

1. Line 230. The regression tree was conducted based on several binary criteria. What are these binary criteria? How about other continuous sample characters, such as age and so on? Also, the outcome is binary, classification tree is more appropriate name for the analysis.

Authors’ answer: We thank the reviewer for this comment because it gave us the opportunity to expand more on this important aspect of our analysis. We confirm that we adopted regression trees (the dependent variable of the partitioning algorithm is continuous) instead of classification tree and have amended this section accordingly, which now reads (page 12 in “characterization of gains and losses”): “Following the approach applied by Olthof et al. (2020), we used a recursive partitioning algorithm to characterize within-person behavioral changes over the course of the study using regression trees from the package rpart[44] for the R software environment[45]. Regression trees enable to identify nodes and partition a continuous variable y in recursive splits based on different predictors. In the present study, we partitioned the variable steps based on the progressive day of the intervention as predictor. Once we identified the splits for the variable steps for each participant separately, we classified them as gain or losses if they met additional criteria defined on the basis of previous research […].”

Please note that this characterization is done at the individual level (i.e., for each participant separately) and focuses on the behavior (i.e., as a way to describe the behavioral change). Inter-individual-differences, such as age, are thus not relevant for this person-specific approach given that participants are not pooled together for these specific analyses.

2. Classification/regression tree tends to be overfitting in general. Please comment on addressing this for the current analysis.

Authors’ answer: We agree that regression trees tend to be overfitting. However, in the current study, the regression tree analysis was performed to identify splits in the time series. Such splits were successively coded as gains or losses if and only if they met more restrictive criteria driven by previous research. The criteria are explicitly mentioned on pages 12 and 13. The first is the 30% increase or reduction in steps relative to the median number of steps for each participant (point 1, please see line 254). The second is related to the period of 7 days during which a “stable change” can be characterized (point 2, please see line 264). Therefore, the number of shifts identified for each participant are a subset of the splits/nodes resulting from the regression tree. In this way we managed to counteract the potential overfitting of the regression tree models (with the application of complementary criteria).

3. Classification/regression tree is pretty data-driven approach. How stable of the results would be for current analysis? or any strategies were implemented to avoid this?

Authors’ answer: We agree that regression trees are a data driven approach, however, as highlighted in our response to the previous point, we counterbalanced this with specific top-down or theory-driven criteria based on our past research and the literature. Moreover, in order to avoid the opposite error and being too theory-driven, we performed multiple sensitivity analyses in order to test the robustness of the results under different assumptions and to adequately balance data and theory driven approaches. Specifically, sensitivity analyses were conducted for varying cut-offs (e.g., sudden gains or losses of 20% and 40%). This is explained in the “sensitivity analyses” section (in the results):

“Sensitivity analyses were conducted to test the robustness of the results for varying levels of gains and losses (i.e., +/-20% and +/-40% of the median number of steps, instead of +/-30%, as specified in the main analyses), and different time-lags for the local dynamic complexity score (i.e., higher scores in the past two and four days, instead of the past three days, as specified in the main analyses). Results of the sensitivity analyses were compared with regards to their effects on the identification of gains and losses (objective 1) and the association between local dynamic complexity and the occurrence of sudden gains and losses (objective 2).

As shown in Table 2, lower (+/-20%) and higher (+/-40%) thresholds lead respectively to the identification of more (N = 1180) and less (N = 595) sudden gains and losses in comparison with the main analyses (+/-30%; N = 862). Using a more conservative threshold (+/-40% of the median number of steps) resulted in the detection of a lower number of sudden gains and losses, while using a less conservative threshold (+/-20% of the median number of steps) resulted in the detection of a higher number of events.”

Please see also the s1 table in supplemental material. The associations between local dynamic complexity and the occurrence of sudden gains and losses were substantially unchanged (notably the prediction of sudden losses) in the sensitivity analyses

Reviewer #2: In the “Data analysis” section, please address the following concerns.

(1) What does the sentence “Missing days were imputed using the Kalman Filter method” (lines 219-220) mean? Please describe the approach briefly.

Authors’ answer: Thank you for your feedback. We have now provided more detail on this method on pages 11/12 and provided an additional reference for interested readers: “Missing days were imputed using the Kalman Filter method (i.e., a procedure to compute the likelihood of a time series which is the outcome of a stationary autoregressive moving average process or non-stationary autoregressive integrated moving average process; see for further details [42]).”

We added this reference:

[42] Gómez V, Maravall A. Estimation, Prediction, and Interpolation for Nonstationary Series with the Kalman Filter. J Am Stat Assoc. 1994 Jun 1;89(426):611–24.

(2) The approach to identify sudden gains and losses for depressive symptoms (lines 225-230) was unclear.

Authors’ answer: We agree that the reference to the previous study about depressive symptoms was unclear and have now modified these two paragraphs to make the points more explicit (and answer other comments from the reviewer 1 as well). Please, see our modifications on pages 12-13 in the “characterization of gains and losses” section starting line 248.

(3) In the subsection “Local dynamic complexity calculation”, it would be better to give the mathematical expressions of the metrics such as “dynamic complexity score”, “fluctuation measure”, and “distribution parameter” and then explain the rationales for the use of these metrics.

Authors’ answer: We now provide a technical document with all the mathematical details related to this score (please, see the document entitled “Dynamic Complexity” in supplemental material available at https://osf.io/64cmv/ and page 14). We contend that presenting these indicators in non-mathematical terms within the main manuscript is a better strategy to keep the manuscript intelligible for most readers, notably our targeted audience (interventionists in behavioral medicine). Readers interested, and able, to deeply understand the maths behind this algorithm can now consult our appendix in addition to the reference indicated in the manuscript (references #34 and #50 in the list). Additionally, for interested readers, the R code contain the operationalization of the formula to compute dynamic complexity. We explicitly mention this addition line 314-315: “For mathematical details, see the document entitled “Dynamic Complexity” in the supplemental material available at https://osf.io/64cmv/).”

(4) In the subsection “Associations between …”, it is difficult to understand the method to test the association between local dynamic complexity and the occurrence of sudden gains and losses (lines 278-283) and the equation (lines 286-287). It would be better to present them in a mathematical manner.

Authors’ answer: Although we understand your comment and truly respect your position, we believe that for most applied researchers (like us) it’s more common and easy to represent, read and understand a statistical model in the way it is implemented in traditional statistical software. Even if the use of these models (here generalized linear mixed-effects model) is extremely common in both social (e.g., psychology) or biological sciences (e.g., epidemiology), most of us aren’t mastering the mathematical equations underlying such type of models. Readers interested in these details can consult the references we provided for the theory behind the models (reference #51) and its implementation in R (reference #52).

Reviewer #3: In this submission, the authors are able to show a correlation between fluctuations in walking behavior and subsequent behavioral losses within the following days. The primary methodology is based on a reasonable sample size based on a recent parallel-group randomized controlled trial related to weight loss among young adults. A significant limitation of the study is that the trial is ongoing, in addition to changes due to the onset of Covid-19 disturbance (which the authors account for), and as such information was not available on group assignment. Due to the nature of the aforementioned RCT study, there could be different interventions on subgroups of the study population which could affect the data. This would have been interesting to analyze or detect subgroups of varying complexity within the analyzed population, even though it is understandable there would be no confirmation available due to the RCT design parameters. Another limitation is the age range of the study population. Overall, the authors address the above points and do a good job in describing the limitations of their study. Regarding methodology, the authors performed Kalman filtering over missing days, and specified a mean number of days missing and range. To detect gains and losses, a recursive partitioning algorithm available in an R package was used. Changes of 30% increase or reduction of steps were assessed. A sensitivity analysis was performed looking at the effect of changing this threshold. A different R package was used to calculate dynamic complexity. A link was provided for data and code. Looking at associations between gains/losses and local dynamic complexity showed relations as characterized in Table 1, with appropriate statistics. Overall, the approach is sound and the results are interesting.

Authors’ answer: Thank you for your positive feedbacks.

R3. It would be good to know the proportion of stable 7-day periods vs periods of high variability to better characterize the amount of days/time during which no sudden gains/losses could be computed.

Authors’ answer: As per our algorithm, any shift can't be preceded or followed by any other shift during the 7- days window which precedes and follows each shift. Overall, for each participant, the number of stable periods (i.e., period between two shifts) is equal to number of shifts + 1.

R3. Figure 1 could also use expansion, to better illustrate use of the algorithm and graphically display examples of some of the situations encountered (gain vs loss, threshold bars, etc). Also recommend the time axis be labeled with units.

Authors’ answer: It’s interesting to discuss the unit of x axis (time). Also, because this approach can be used for rapid- or slow-evolving processes, we decided to not modify the x axis of the figure. However, this point is now justified in the Figure legend: “Note that the Figure’s x axis (time) is not expressed here with a specific unit; this approach, however, can be used to describe both rapid- and slow-evolving processes. The time unit here can thus conceptually vary from seconds to days, months or years”.

It’s difficult to provide indications related to the algorithm on this figure, because this last appears early in the manuscript as a conceptual, rather than technical, description of the approach (that is then develop in the method). However, we now provide a new supplemental file describing the approach in more technical terms (in the method section). Please, see page 14 and the supplemental material entitled “Dynamic Complexity” (available at https://osf.io/64cmv/).

R3. The author's discussion was sound and noted results that somewhat but not entirely corresponded with literature. Results are interpreted, and limitations of the study were described in a reasonable amount of detail. Fig.3 might have benefitted from more labeling or description in the figure caption (which was embedded in the text instead).

Authors’ answer: Thanks for your comment. We modified and added information in the Figure 3 to make it more intelligible (please see the figure as displayed by PLOS ONE).

R3. As the authors mention in their study strengths and limitations section, it would be interesting to cross compare with different scores of local dynamic complexity, particularly in reference to variables outside the main variables of interest, and taking into account timing of events such as interventions among different subgroups in the RCT. This would be an interesting topic of follow-up work. Overall, the manuscript is well written, the methodology described and thought processes used in the study are thoroughly described, and the results are interesting, though require further study in the future. I thus recommend this manuscript for publication.

Authors’ answer: Thank you again for the positive feedbacks. We agree with the seminal aspect of our work, as well as the limitation related to the unknown group assignment. We added two sentences (pages 27-28 at the end of the discussion section before the “implications section”) explicitly mentioning the needs for replications of the present results: “Further, as the trial is still ongoing, group assignment remained unknown for the present study, and was not modelled in our analyses, which constitutes a limit given that results might differ by groups. For all these different reasons, results from the present study should be replicated in other contexts.”

Attachment

Submitted filename: response to reviewers.docx

Decision Letter 1

Yih-Kuen Jan

30 Apr 2021

Characterizing and predicting person-specific, day-to-day, fluctuations in walking behavior

PONE-D-20-36553R1

Dear Dr. Chevance,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Yih-Kuen Jan, PhD, University of Illinois at Urbana-Champaign

Academic Editor, PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: (No Response)

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: (No Response)

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: (No Response)

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: (No Response)

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: (No Response)

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Acceptance letter

Yih-Kuen Jan

4 May 2021

PONE-D-20-36553R1

Characterizing and predicting person-specific, day-to-day, fluctuations in walking behavior

Dear Dr. Chevance:

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

If we can help with anything else, please email us at plosone@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Yih-Kuen Jan

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Idiographic visualizations for the 151 participants’ time series.

    (PDF)

    S1 Table

    Sensitivity analyses for varying a) thresholds for the identification of gains and losses, b) time-lapses for the computation of local dynamic complexity and c) gains and losses separately and together.

    (DOCX)

    Attachment

    Submitted filename: response to reviewers.docx

    Data Availability Statement

    The data and code for the statistical analyses used in the present study are available on Open Science Framework, https://osf.io/64cmv/.

    Statistical analyses were performed in R version 4.0.2. The data and code for the statistical analyses used in the present study are available on Open Science Framework, https://osf.io/64cmv/.


    Articles from PLoS ONE are provided here courtesy of PLOS

    RESOURCES