Published on 05.11.18 in Vol 2, No 2 (2018): Jul-Dec
Preprints (earlier versions) of this paper are available at http://preprints.jmir.org/preprint/11062, first published May 16, 2018.
Time Series Visualizations of Mobile Phone-Based Daily Diary Reports of Stress, Physical Activity, and Diet Quality in Mostly Ethnic Minority Mothers: Feasibility Study
Background: Health behavior patterns reported through daily diary data are important to understand and intervene upon at the individual level in N-of-1 trials and related study designs. There is often interest in relationships between multiple outcomes, such as stress and health behavior. However, analyses often utilize regressions that evaluate aggregate effects across individuals, and standard analyses target single outcomes.
Objective: This paper aims to illustrate how individuals’ daily reports of stress and health behavior (time series) can be explored using visualization tools.
Methods: Secondary analysis was conducted on 6 months of daily diary reports of stress and health behavior (physical activity and diet quality) from mostly ethnic minority mothers who pilot-tested a self-monitoring mobile health app. Time series with minimal missing data from 14 of the 44 mothers were analyzed. Correlations between stress and health behavior within each time series were reported as a preliminary step. Stress and health behavior time series patterns were visualized by plotting moving averages and time points where mean shifts in the data occurred (changepoints).
Results: Median correlation was small and negative for associations of stress with physical activity (r=−.14) and diet quality (r=−.08). Moving averages and changepoints for stress and health behavior were aligned for some participants but not for others. A third subset of participants exhibited little variation in stress and health behavior reports.
Conclusions: Median correlations in this study corroborate prior findings. In addition, time series visualizations highlighted variations in stress and health behavior across individuals and time points, which are difficult to capture through correlations and regression-based summary measures.
JMIR Formativ Res 2018;2(2):e11062
Ecological momentary assessment (EMA) [- ], daily diary, and weekly assessment, hereafter referred to as intensive longitudinal assessment (ILA), is a data collection framework that prompts individuals to self-report behaviors and events in situ and often as they occur using paper diaries or electronic data collection devices. ILA offers several benefits over traditional in-person assessment that is often conducted in clinic settings, conducted less frequently, and requires recall over longer periods of time, including reductions in social desirability [ , ] and recall biases [ , , ]. ILA has been used to examine relationships between psychosocial factors, such as stress, cognition, and positive and negative effects, and health behaviors (HBs) over time, such as physical activity (PA) and diet [ - ]. Stress and HB relationships are of special interest as stress increases the susceptibility to cancer, heart disease, stroke, and other diseases [ - ]. HB confers protective effects against these same diseases [ , - ]. An understanding of the interplay between stress and HB informs the design of healthy lifestyle interventions. ILA is favored over traditional assessment methods because changes in stress levels and HB occur over shorter periods of time (often over days or weeks) than time periods that are queried through retrospective recall [ ]. ILA has gained popularity with the proliferation of mobile phones and advances in mobile phone technology as short message service text messaging and mobile survey apps replace paper diaries and other assessment tools of yesteryears, streamlining data collection and reducing participant burden. A proliferation of mobile phone-based studies across disparate fields of research has resulted, including studies on PA and diet [ - ], drug use [ - ], and HIV [ - ].
Amid advances in ILA data collection methods, analytical strategies to evaluate patterns in resulting data streams have yet to catch up. Random effects (RE) regression models (ie, multilevel and mixed-effects models [, ]) are recommended [ ] and commonly used to analyze data from ILA, or intensive longitudinal data (ILD), as in the analysis of EMA data to evaluate stress and PA relationships [ ]. Similar to standard regression models, RE models include fixed effects or covariates. For ILA data, covariates are included for time in order to model outcome-level changes over time in the overall sample. In addition to fixed effects, RE models for ILD include RE for time that varies across individuals, and in doing so, allow for individual-level time trends to be estimated. By capturing variations at the individual level, RE models also adjust SE estimates for proper statistical inference. Walls and Schafer [ ] adapted RE models for ILD analysis. ILD models provide the ability to analyze within-person effects over time with greater granularity than traditional RE models. Yet, the strength of both traditional RE and ILD models lies in their ability to evaluate between- (eg, sociodemographic) and within-person fixed effects (eg, time trends) that are averaged across individuals, while adjusting for between-person variation through RE.
RE model summaries typically present fixed effect estimates for effects that are averaged across individuals or another level of clustering. For example, studies that treat neighborhoods as clusters use RE models to adjust for neighborhood variation but present neighborhood-averaged effects . When there is interest in health outcome patterns over time at the cluster level (ie, individual level), different analytic approaches are needed; this is especially true for individualized treatment plans that are increasingly utilized for chronic illnesses such as diabetes [ ]. N-of-1 trials evaluate individual treatment plans by modifying treatment regimens over the study period based on responses or progress over the same period [ ]. Similarly, microrandomized trials randomize treatments and record outcome responses at the individual level over time such as the evaluation of randomly assigned mobile phone health-promoting short message service text messages on PA [ ]. Regardless of the individual-level study design, evaluation calls for an analysis of an individual’s data stream over time (hereafter referred to as a time series). Moreover, evaluations of both overall and individual-level effects are important for a better understanding of HBs at the population level. For example, PA levels have been shown to be impacted both by Alzheimer’s disease status, as estimated through average effects in older adults [ ], and seasonal variations that influence activity at the individual level [ ], respectively.
This study fills gaps in the literature and illustrates how time series analyses can be applied to ILD or time series data in the health sciences. Time series analyses have largely been lacking in health sciences and have focused on analyses for single measures when they do occur such as PA accelerometer data from mobile devices [, ]. We show how time series analyses can be used as an exploratory tool to visualize patterns in single and multiple time series at the individual level. Analyses are illustrated on daily diary data from a pilot study that collected information on stress, PA, and diet quality in mostly ethnic minority mothers [ , ]. Prior studies have explored mental and physical health relationships by applying regression models to ILD [ - ] and data from cross-sectional and longitudinal study designs that collected data over several time points [ , ]. To the best of our knowledge, stress and HB relationships have not been evaluated through time series analyses. In doing so, we highlight insights that time series analyses can provide as a complementary procedure to regression models.
From January 2012 through September 2012, 44 mothers with at least 1 child under the age of 18 years and living at home were recruited to pilot test a mobile app for self-monitoring stress, PA, and diet quality over a 6-month period in Los Angeles, California. Participants were recruited in public venues, such as grocery stores, and through local Web-based parenting groups in the Los Angeles area. The mobile app was designed to help them record stress, PA, and diet quality levels on a daily basis, and in doing so, to self-monitor stress and health-related behaviors. This study was approved by the Institutional Review Board at the University of California, Los Angeles.
Once enrolled in the study, participants completed a Web-based baseline assessment to collect sociodemographic characteristics, measures on PA, dietary intake, and perceived stress. Anthropometric measures, including body mass index and blood pressure, and biomarker measures, including C-reactive protein levels and Epstein-Barr virus antibody levels, were also collected. Web-based assessments, anthropometric and biomarker data collection, were repeated at 3 and 6 months after the baseline. Further details on study measures may be found in Comulada et al  and Swendeman et al [ ].
Following the baseline assessment, participants were assigned Samsung Vibrant smartphones running on the Android operating system version 2.2 or higher. For 6 months, participants received daily time-based prompts on their mobile phones to complete EMA 3 times daily and an end-of-day assessment (daily diary) through a mobile app. Measures encompassed PA, diet quality, and stress in parallel to domains that were captured through Web-based assessment. Participants were also encouraged to use their mobile phone to take pictures of their meals as photographic food records.
Prior analyses examined correlates of adherence to EMA, daily diary reports, and photographic food records  and the validity and reliability of measures collected through the mobile app, Web-based assessment, anthropometric measurement, and biomarkers [ ]. For this paper, time series analytical methods are illustrated on daily diary measures for stress, PA, and diet quality.
Sociodemographic and Baseline Characteristics
The average age of 44 study participants was 30.8 (SD 6.4; range 18-43) years. Most participants reported being an ethnic minority; 43% (19/44) reported being of Latina ethnicity and 39% (17/44) reported being nonLatina African American. A third of the participants (14/44, 32%) reported having a high school education or less. Nearly half of the participants (21/44, 48%) reported working part-time or less. On average, participants were obese with a body mass index of 32.1 (SD 7.0) kg/m2. Mean systolic (121.6 [SD 14.6] mm Hg) and diastolic (79.3 [SD 9.9] mm Hg) pressures were in normal ranges.
Daily Diary Measures
Participants were asked, “How stressful was your day overall on a scale of 1-5 (with 5 being very stressful)?” Integer responses from 1-5 were permitted. Five was anchored as “very stressful” in the wording of the question, implying lower values for lower stress levels. Response categories were not explicitly labeled.
Participants were asked, “How many minutes of activity did you do today” regarding the following 3 intensities of PA: light PA (eg, stretching), moderate PA (eg, fast walking), and vigorous PA (eg, running). Total minutes of PA were calculated as the sum of light, moderate, and vigorous PA minutes.
Participants were asked, “How healthy would you rate your eating today, in terms of both quality and quantity, on a scale of 1-5 (with 5 being very healthy)?” Integer responses from 1-5 were permitted. Five was anchored as “very healthy” in the wording of the question, implying lower values for less healthy eating. Response categories were not explicitly labeled.
In preparing data for time series analyses, it is important to acknowledge the assumed data structure. Equal spacing is assumed between adjacent observations over time. If an observation is missing for a specific time point, the time point with the missing observation is dropped from the analysis dataset, and observations on either side of the missing observation are treated as adjacent observations. Therefore, missing data disrupt the assumed data structure. Our ad hoc approach to address missing data examines response rates for each participant’s time series and limits analyses to time series with minimal amounts of missing data so that the assumption of equally spaced time points is more tenable.
Time Series Analyses
We present 2 time series analyses that are useful for data visualization and exploration. Both analyses were implemented through R , a free and downloadable statistical software program. The first analytic method plots smoothed data points for the time series over time instead of the raw data to make it easier to visualize temporal patterns in the data. There are numerous smoothing techniques. See Cowpertwait and Metcalfe [ ] for an overview of smoothing techniques implemented in R. We used unweighted and centered moving averages as a widely used general-purpose smoothing technique in the absence of a priori information on temporal patterns in the time series data. As the name implies, an average of n data points centered on time point t are plotted at t instead of the first data point in the subset of n data points. The interval n is chosen to strike a balance between a large n that smooths out too many variations in the data to provide useful visualizations and a small n that retains too much information from the original data so that patterns are difficult to visualize. We chose n=30, or approximately a month. Moving averages were plotted through the tseries package, version 0.10-42 [ ].
Visual inspection of moving average plots provides a subjective guide as to points in time where mean levels, such as stress levels, tend to abruptly increase or decrease, that is, where changepoints occur. The second analytic method provides a formal statistical algorithm, referred to as changepoint analysis, to locate changepoints. Changepoint analysis formulates a maximum likelihood-based test statistic that rejects a null hypothesis that no changepoints are present in the time series data if the statistic is greater than a specified threshold. The maximum likelihood under the alternative hypothesis needs to accommodate the possibility of multiple time points where the changepoint occurs and the possibility of multiple changepoints. Finally, there is no clearly defined manner for choosing a threshold. Different changepoint algorithms have been developed to address these statistical testing complexities. We used the changepoint package, version 2.2.2, which contains 3 mainstream algorithms for detecting changepoints—binary segmentation, segment neighborhood, and Pruned Exact Linear Time (PELT) changepoint algorithms. Details are given in the changepoint documentation . Briefly, binary segmentation is the oldest and, arguably, the most widely used changepoint algorithm of the 3. Binary segmentation works by first searching for a single changepoint. If a changepoint is found, the time series is bifurcated into 2 segments. The algorithm then checks for changepoints within each segment, and so forth, until no more changepoints are detected. In contrast, the segment neighborhood and PELT algorithms are more precise algorithms that do not condition the detection of additional changepoints on prior changepoints. PELT is the newest algorithm and the preferred algorithm that we used to detect changepoints when possible. We defaulted to binary segmentation if segment neighborhood and PELT algorithms were overly sensitive at detecting changepoints and detected too many changepoints to provide useful visualizations. Changepoint analysis results are presented through plots from the changepoint package that superimpose mean levels and changepoints for the time series over the observed values.
shows patterns of compliance to filling out daily diaries for each of the 44 study participants, from the first (01) to the last participant enrolled in the study (44). We retained 32% (14/44) of the time series for analyses from participants who filled out a majority of the possible daily diaries over the follow-up study period based on the visual inspection of . Gray and black dots represent time series that were retained and excluded from analyses, respectively. Exclusions included 3 time series for participants who became pregnant or moved out of state during the study period. Time series that were included and excluded in analyses did not significantly differ in terms of participants’ sociodemographic characteristics, anthropometric, and biomarker baseline measures based on chi-square tests for categorical measures (eg, race or ethnicity) and t tests for continuous measures (eg, age).
As a preliminary analysis, Pearson product-moment correlation coefficients (r) were calculated for pairs of concurrent observations for stress and PA, and between stress and diet quality, for each participant. The median association between stress and PA was negative and small in absolute value (r=−.14, range: −.39 to.15; n=14 time series). A similarly small and negative median relationship was found between stress and diet quality (r=−.08), but exhibited a wider range of correlation coefficient values from −.62 to.65.
Time Series Analyses
- show plots for each of the 14 participants retained for analysis. Three pairs of plots are shown for each participant’s time series of stress, PA, and diet quality measurements. For each pair, the plot on the left-hand side shows mean levels indicated by thick horizontal lines and changepoints indicated by line breaks superimposed over the raw time series data. The plot on the right-hand side shows a smoothed line based on moving averages. Changepoint analyses for stress and diet quality were conducted using the PELT algorithm. The PELT algorithm produced too many PA changepoints to be useful for comparison with stress and diet quality changepoints. We resorted to binary segmentation for PA time series and set the maximum number of allowable changepoints to 2; the maximum number of changepoints that were detected for stress in most instances.
Almost all participants exhibited variation in their responses over time, but did not necessarily exhibit abrupt shifts in mean response levels such as reported diet quality for participant 32 in; this highlights the utility of different time series visualizations. Moving averages provide for visual evaluation of long-term mean shifts versus abrupt mean level shifts that are detected through the changepoint analysis. To highlight the utility of the changepoint analysis, as well as moving averages, we divided participants between and and and such that and represent participants who exhibited changepoints in both stress and HB (PA or diet quality) levels over the study period (n=6 participants). Participants who did not exhibit changepoints for stress and HB are represented in and (n=8 participants). The division of participants between and and and is another reminder of the potential difficulty for evaluating stress and HB relationships in aggregate when there is heterogeneity in stress and HB relationships across the sample. The remaining discussion focuses on and .
and show fairly consistent visual patterns in terms of moving averages for stress and PA levels. Stress and PA levels tend to be inversely related over time. For example, moving average plots for participant 08 show steady declines in stress levels over the study period, matched by a steady increase in PA. Stress and diet quality mean levels are less consistently related, exhibiting inverse relationships, for example, for participant 08, and positive relationships, for example, for participant 16. Changepoint analysis results show that stress and PA changepoints tended to occur at similar points in time; some of the diet quality changepoints did as well. Referring to participant 08 again, we see 3 mean segments for stress, indicating decreasing levels of stress. The first stress changepoint aligns with changepoints for PA and diet quality, indicating increasing levels for both HBs in line with accompanying moving averages. PA also exhibits a third changepoint that indicates a decreasing mean level of PA toward the end of the study.
This paper gave an overview of time series analyses that can be used to better understand individual-level and frequently assessed longitudinal patterns of stress, PA, and diet quality. We highlighted an exploratory approach through visualizations and qualitative descriptions of time series patterns. Analyses began with the calculation of correlation coefficients for each time series as a commonly used statistic to summarize associations. Correlations between stress and PA time series indicated a negative association for 11 of 14 participants in line with negative associations reported in prior studies . Magnitudes of the correlation coefficients were also in line with those reported in prior studies that found negative associations no higher than −.28 to −.42 [ ]. The smallest correlation between stress and PA in our study was –.39. It is harder to compare correlations we found between stress and diet quality to prior studies as dietary intake, and not diet quality, is typically assessed. However, a commonality existed in the wide range of correlation coefficients that were found for individual-level associations between stress and PA (−.39 to.15), and between stress and diet quality (−.62 to.65), which underscore the importance of examining stress and HB relationships at the individual level. Stress and HB relational differences across individuals may mask stress and HB relationships that are estimated as average effects across individuals.
Time series visualizations further emphasized variations in stress and HB relationships over time. On a more macro level, time series data yielded 2 groups of individuals based on abrupt shifts in mean levels of stress and HB or a lack thereof inand , respectively. Even among participants in and who exhibited changepoints for stress and HB, variations occurred in stress and HB relationships. Stress and PA levels tended to be inversely related over time. Stress and diet quality relationships were more varied, as indicated by moving averages for both measures that sometimes tracked together, in opposite directions, or not at all; diet quality time series did not yield any changepoints for some participants.
It is important to emphasize the exploratory nature of the study; study findings on stress and HB relationships are not confirmatory. A major point of the study findings is that variations in stress and HB relationships indicate the importance of understanding relationships at the individual level. It is also interesting to note that changepoint analyses inand consistently produced 2-3 changepoints for both stress and PA time series that occurred at similar time points. Diet quality changepoints also occurred at similar time points for 3 participants. Commonly occurring changepoints for stress, PA, and diet quality suggest the same underlying causes for longer-term shifts in stress, PA, and diet quality levels; this has implications for interventions that target stress and HBs. A mixed-methods approach may help in understanding the underlying causes of stress and HB shifts or a lack thereof. Through qualitative interviews, participants can be shown visualizations and asked to recall events that precipitated changes. Not surprisingly, moving average patterns and locations as to where changepoints occurred differed across individuals. No shared event existed across individuals that would cause changepoints to align; this highlights a difficulty in RE models that estimate average time trends across individuals. For example, an interrupted time series analysis [ ] is an RE modeling equivalent to changepoint analysis but requires an a priori specification of where changepoints occur. An a priori specification makes sense for interventions, public health policy changes, or other events where changepoints naturally line up across individuals.
In light of the advantages that time series analyses have over RE models for examining variation at the individual level, it is important not to discount the role of RE models in understanding HBs. Population-level inferences are still important. Time series visualizations are useful explorations in line with the notion of preliminary hypothesis-generating studies that inform the development of confirmatory studies with hypothesis-driven statistical tests [, ]. For example, this study delineated 2 groups of participants based on the presence of changepoints (and a lack of changepoints) in stress, PA, and diet quality levels over time. Our sample size was small, but in a larger sample, subgroup characteristics that relate to variations in stress and HB may emerge and inform the design of large-scale studies that evaluate subgroup effects on stress and HB relationships at the population level.
The potential benefits of time series analyses are tempered by limitations in the assumed time series data structure and need to be contrasted with RE modeling limitations when designing analysis plans. Numerous data points are needed to visualize and evaluate time series in contrast to traditional longitudinal studies that collect data over several time points. Time series studies require careful consideration of both the number of data points to be collected and the length of time over which data points are collected, such as days versus weeks, depending on the measure of interest. For example, Bergman  concluded that several days suffice to measure habitual sedentary behavior, whereas close to 6 months are needed to measure habitual vigorous PA with a reasonable degree of accuracy. More studies are needed to determine sufficient numbers of data points and time intervals for accurate inference across different health measures.
In contrast to sensor data, where observations are naturally collected over equally spaced intervals, as in the collection of PA accelerometer data [, ], ILA tends to be unequally spaced because of missing data. Time series analyses should be applied to ILA data with caution. Methods to address missing time series data, including imputation and model-based approaches [ - ], are not readily available for standard time series routines in software. For example, the imputeTS package for R [ ] imputes missing observations in time series data but is not integrated with other time series packages in R. Time series analyses should not be automatically ruled out in the presence of missing data, as fruitful inferences can still be made as was the case in this study. Our ad hoc approach for dealing with missing data was to only analyze time series analyses with a small amount of missing data so that missing observations would not impact the estimation of moving averages and changepoints to a large degree. Our ad hoc approach hinged on 2 main assumptions. Missing data in the time series we retained were minimal and spread out throughout the time series so that adjacent observations in the analysis data were all fairly close in proximity to each other, if not adjacent. Of course, missing data may not be evenly spread throughout the time series; nonresponse may increase over time [ , , , ]. Moreover, missing data patterns may differ between time series if participants tend to self-report one HB more than others on a daily basis, for example. This is problematic for commonly used models for multivariate time series (eg, see Tsay [ ]), many of which assume equally spaced observations within and between time series.
As the second assumption for our ad hoc approach, we assumed missing data to be a random subset of observations from the same distribution as the observed data so that moving average estimates and other time series calculations were not biased by the exclusion of missing data. Missing data were assumed to be missing completely at random [, ]; this is a strong assumption and best addressed by minimizing missing data. When considering study designs that incorporate ILA, it is important to consider buy-in in filling out ILA from the target population so that missing data are minimized. For example, higher rates of filling out ILA have been found in patient [ , , ] versus nonpatient populations [ , ]. In addition to study design considerations, further statistical development is needed to address missing data in time series analyses and determine the sensitivity to be missing completely at random and other missing data assumptions.
Notwithstanding the limitations, time series analyses provide a starting point where prior studies have left off. In their review paper, Stults-Kolehmainen and Sinha  noted different findings for stress and PA relationships across studies, including findings of positive and negative associations, and no association. The same paper provided a reasonable rationale for differences with a focus on study design issues, such as differing levels of rigor and sample sizes. Arguably, different study findings are also attributed, in part, to individual-level differences, some of which were accounted for by regression analyses and some which were not. Time series analyses can help fill in gaps in understanding what traditional regression modeling alone cannot do.
This research was supported by the National Institutes of Health (Grant # RC1HL099556, # P30MH58107, and # K01MH089270). The National Institutes of Health had no role in the design, analysis, or writing of this paper.
Conflicts of Interest
- Stone A, Shiffman S. Ecological momentary assessment (EMA) in behavioral medicine. Annals of Behavioral Medicine 1994;16(3):199-202.
- Weed LL. Medical records that guide and teach. N Engl J Med 1968 Mar 21;278(12):652-7 concl. [CrossRef] [Medline]
- Krantz DS, Baum AS. Ecological momentary assessment: A new tool for behavioral medicine research. Persp Beh M 1998;PMID:A.
- Sallis J, Saelens B. Assessment of physical activity by self-report: status, limitations, and future directions. Res Q Exerc Sport 2000 Jun;71 Suppl 2(3):1-14. [CrossRef] [Medline]
- Warnecke RB, Johnson TP, Chávez N, Sudman S, O'Rourke DP, Lacey L, et al. Improving question wording in surveys of culturally diverse populations. Ann Epidemiol 1997 Jul;7(5):334-342. [Medline]
- Bradburn NM, Rips LJ, Shevell SK. Answering autobiographical questions: the impact of memory and inference on surveys. Science 1987 Apr 10;236(4798):157-161. [Medline]
- Piasecki TM, Hufford MR, Solhan M, Trull TJ. Assessing clients in their natural environments with electronic diaries: rationale, benefits, limitations, and barriers. Psychol Assess 2007 Mar;19(1):25-43. [CrossRef] [Medline]
- Conroy DE, Elavsky S, Doerksen SE, Maher JP. A daily process analysis of intentions and physical activity in college students. J Sport Exerc Psychol 2013 Oct;35(5):493-502 [FREE Full text] [Medline]
- Dunton GF, Atienza AA, Castro CM, King AC. Using ecological momentary assessment to examine antecedents and correlates of physical activity bouts in adults age 50+ years: a pilot study. Ann Behav Med 2009 Dec;38(3):249-255. [CrossRef] [Medline]
- Jones F, O'Connor DB, Conner M, McMillan B, Ferguson E. Impact of daily mood, work hours, and iso-strain variables on self-reported health behaviors. J Appl Psychol 2007 Nov;92(6):1731-1740. [CrossRef] [Medline]
- Jones M, Taylor A, Liao Y, Intille SS, Dunton GF. REAL-TIME SUBJECTIVE ASSESSMENT OF PSYCHOLOGICAL STRESS: ASSOCIATIONS WITH OBJECTIVELY-MEASURED PHYSICAL ACTIVITY LEVELS. Psychol Sport Exerc 2017 Jul;31:79-87 [FREE Full text] [CrossRef] [Medline]
- Lutz RS, Stults-Kolehmainen MA, Bartholomew JB. Exercise caution when stressed: Stages of change and the stress–exercise participation relationship. Psychology of Sport and Exercise 2010 Nov;11(6):560-567. [CrossRef]
- O'Connor DB, Conner M, Jones F, McMillan B, Ferguson E. Exploring the benefits of conscientiousness: an investigation of the role of daily stressors and health behaviors. Ann Behav Med 2009 Apr;37(2):184-196. [CrossRef] [Medline]
- Payne N, Jones F, Harris PR. A daily diary investigation of the impact of work stress on exercise intention realisation: can planning overcome the disruptive influence of work? Psychol Health 2010 Jan;25(1):111-129. [CrossRef] [Medline]
- Reichenberger J, Kuppens P, Liedlgruber M, Wilhelm FH, Tiefengrabner M, Ginzinger S, et al. No haste, more taste: An EMA study of the effects of stress, negative and positive emotions on eating behavior. Biol Psychol 2018 Dec;131:54-62. [CrossRef] [Medline]
- Sonnentag S, Jelden S. Job stressors and the pursuit of sport activities: a day-level perspective. J Occup Health Psychol 2009 Apr;14(2):165-181. [CrossRef] [Medline]
- Steptoe A, Lipsey Z, Wardle J. Stress, hassles and variations in alcohol consumption, food choice and physical exercise: A diary study. British Journal of Health Psychology 1998;3(1):51-63. [CrossRef] [Medline]
- Stetson BA, Rahn JM, Dubbert PM, Wilner BI, Mercury MG. Prospective evaluation of the effects of stress on exercise adherence in community-residing women. Health Psychol 1997 Nov;16(6):515-520. [Medline]
- Baum A, Posluszny DM. Health psychology: mapping biobehavioral contributions to health and illness. Annu Rev Psychol 1999;50:137-163. [CrossRef] [Medline]
- Boden-Albala B, Sacco RL. Lifestyle factors and stroke risk: exercise, alcohol, diet, obesity, smoking, drug use, and stress. Curr Atheroscler Rep 2000 Mar;2(2):160-166. [Medline]
- Pandya D. Psychological stress, emotional behavior & coronary heart disease. Compr Ther 1998 May;24(5):265-271. [Medline]
- Stahl SM, Hauger RL. Stress: an overview of the literature with emphasis on job-related strain and intervention. Adv Ther 1994;11(3):110-119. [Medline]
- Tennant C. Work stress and coronary heart disease. J Cardiovasc Risk 2000 Aug;7(4):273-276. [Medline]
- Bauman AE. Updating the evidence that physical activity is good for health: an epidemiological review 2000-2003. J Sci Med Sport 2004 Apr;7(1 Suppl):6-19. [Medline]
- Carlson SA, Fulton JE, Pratt M, Yang Z, Adams EK. Inadequate physical activity and health care expenditures in the United States. Prog Cardiovasc Dis 2015;57(4):315-323 [FREE Full text] [CrossRef] [Medline]
- Diaz KM, Howard VJ, Hutto B, Colabianchi N, Vena JE, Safford MM, et al. Patterns of Sedentary Behavior and Mortality in U.S. Middle-Aged and Older Adults: A National Cohort Study. Ann Intern Med 2017 Oct 03;167(7):465-475 [FREE Full text] [CrossRef] [Medline]
- Kyu HH, Bachman VF, Alexander LT, Mumford JE, Afshin A, Estep K, et al. Physical activity and risk of breast cancer, colon cancer, diabetes, ischemic heart disease, and ischemic stroke events: systematic review and dose-response meta-analysis for the Global Burden of Disease Study 2013. BMJ 2016 Aug 09;354:i3857 [FREE Full text] [Medline]
- Pate RR, Pratt M, Blair SN, Haskell WL, Macera CA, Bouchard C, et al. Physical activity and public health. A recommendation from the Centers for Disease Control and Prevention and the American College of Sports Medicine. JAMA 1995 Feb 01;273(5):402-407. [Medline]
- Stampfer MJ, Hu FB, Manson JE, Rimm EB, Willett WC. Primary prevention of coronary heart disease in women through diet and lifestyle. N Engl J Med 2000 Jul 06;343(1):16-22. [CrossRef] [Medline]
- Warburton DER, Nicol CW, Bredin SSD. Health benefits of physical activity: the evidence. CMAJ 2006 Mar 14;174(6):801-809 [FREE Full text] [CrossRef] [Medline]
- Stults-Kolehmainen MA, Sinha R. The effects of stress on physical activity and exercise. Sports Med 2014 Jan;44(1):81-121 [FREE Full text] [CrossRef] [Medline]
- Comulada WS, Swendeman D, Koussa MK, Mindry D, Medich M, Estrin D, et al. Adherence to self-monitoring healthy lifestyle behaviours through mobile phone-based ecological momentary assessments and photographic food records over 6 months in mostly ethnic minority mothers. Public Health Nutr 2018 Mar;21(4):679-688. [CrossRef] [Medline]
- Dunton GF, Liao Y, Intille SS, Spruijt-Metz D, Pentz M. Investigating children's physical activity and sedentary behavior using ecological momentary assessment with mobile phones. Obesity (Silver Spring) 2011 Jun;19(6):1205-1212 [FREE Full text] [CrossRef] [Medline]
- Spook J, Paulussen T, Kok G, Van EP. Monitoring Dietary Intake and Physical Activity Electronically: Feasibility, Usability, and Ecological Validity of a Mobile-Based Ecological Momentary Assessment Tool. Journal of Medical Internet Research 2013;15(9):278-290.
- Tsai CC, Lee G, Raab F, Norman GJ, Sohn T, Griswold WG, et al. Usability and Feasibility of PmEB: A Mobile Phone Application for Monitoring Real Time Caloric Balance. Mobile Netw Appl 2007 Jul 15;12(2-3):173-184. [CrossRef]
- Comulada WS, Lightfoot M, Swendeman D, Grella C, Wu N. Compliance to Cell Phone-Based EMA Among Latino Youth in Outpatient Treatment. J Ethn Subst Abuse 2015;14(3):232-250 [FREE Full text] [CrossRef] [Medline]
- Comulada WS, Swendeman D, Wu N. Cell phone-based ecological momentary assessment of substance use context for Latino youth in outpatient treatment: Who, what, when and where. Drug Alcohol Depend 2016 Dec 01;167:207-213 [FREE Full text] [CrossRef] [Medline]
- Freedman MJ, Lester KM, McNamara C, Milby JB, Schumacher JE. Cell phones for ecological momentary assessment with cocaine-addicted homeless patients in treatment. J Subst Abuse Treat 2006 Mar;30(2):105-111. [CrossRef] [Medline]
- Farmer S, Mindry D, Comulada WS, Swendeman D. Mobile Phone Ecological Momentary Assessment of Daily Stressors Among People Living With HIV: Elucidating Factors Underlying Health-Related Challenges in Daily Routines. J Assoc Nurses AIDS Care 2017;28(5):737-751 [FREE Full text] [CrossRef] [Medline]
- Swendeman D, Comulada WS, Ramanathan N, Lazar M, Estrin D. Reliability and validity of daily self-monitoring by smartphone application for health-related quality-of-life, antiretroviral adherence, substance use, and sexual behaviors among people living with HIV. AIDS Behav 2015 Feb;19(2):330-340 [FREE Full text] [CrossRef] [Medline]
- Swendeman D, Ramanathan N, Baetscher L, Medich M, Scheffler A, Comulada WS, et al. Smartphone self-monitoring to support self-management among people living with HIV: perceived benefits and theory of change from a mixed-methods randomized pilot study. J Acquir Immune Defic Syndr 2015 May 01;69 Suppl 1:S80-S91 [FREE Full text] [CrossRef] [Medline]
- Fitzmaurice G, Laird N, Ware J. Applied longitudinal analysis. New Jersey: John Wiley & Sons; 2012.
- Weiss R. Modeling longitudinal data. New York: Springer Science & Business Media; 2005.
- Walls TA, Schafer JL. Models for intensive longitudinal data. Oxford ; New York: Oxford University Press; 2006.
- Subramanian SV, Jones K, Duncan C. Multilevel Methods for Public Health Research. New York: Oxford University Press; 2003.
- Hirsch IB, Amiel SA, Blumer IR, Bode BW, Edelman SV, Seley JJ, et al. Using multiple measures of glycemia to support individualized diabetes management: recommendations for clinicians, patients, and payers. Diabetes Technol Ther 2012 Nov;14(11):973-83; quiz 983. [CrossRef] [Medline]
- Kravitz RL, Duan N, Niedzinski EJ, Hay MC, Subramanian SK, Weisner TS. What ever happened to N-of-1 trials? Insiders' perspectives and a look to the future. Milbank Q 2008 Dec;86(4):533-555 [FREE Full text] [CrossRef] [Medline]
- Luers B, Klasnja P, Murphy S. Standardized Effect Sizes for Preventive Mobile Health Interventions in Micro-randomized Trials. Prev Sci 2018 Jan 09. [CrossRef] [Medline]
- Watts A, Walters RW, Hoffman L, Templin J. Intra-Individual Variability of Physical Activity in Older Adults With and Without Mild Alzheimer's Disease. PLoS One 2016;11(4):e0153898 [FREE Full text] [CrossRef] [Medline]
- Shoemaker MJ, Roper SE, Calkins TN. Seasonal variation of daily physical activity in individuals with heart failure. Heart Int 2016;11(1):e25-e31 [FREE Full text] [CrossRef] [Medline]
- Haynes K. The Fitbit generation: From couch potato to marathon runner. Significance 2015;12(6):24-25. [CrossRef]
- Sanchez-Valdes D, Alvarez-Alvarez A, Trivino G. Dynamic linguistic descriptions of time series applied to self-track the physical activity. Fuzzy Sets and Systems 2016;285:162-181. [CrossRef]
- Swendeman D, Comulada WS, Koussa M, Worthman CM, Estrin D, Rotheram-Borus MJ, et al. Longitudinal Validity and Reliability of Brief Smartphone Self-Monitoring of Diet, Stress, and Physical Activity in a Diverse Sample of Mothers. JMIR Mhealth Uhealth 2018 Sep 21;6(9):e176 [FREE Full text] [CrossRef] [Medline]
- O'Neil A, Quirk SE, Housden S, Brennan SL, Williams LJ, Pasco JA, et al. Relationship between diet and mental health in children and adolescents: a systematic review. Am J Public Health 2014 Oct;104(10):e31-e42. [CrossRef] [Medline]
- R: A languale and environment for statistical computing. Vienna, Austria: R Foundation for Statistical Computing; 2017. URL: https://www.r-project.org/, [WebCite Cache]
- Metcalfe A, Cowpertwait P. Introductory time series with R. New York: Springer; 2009.
- Trapletti A, Hornik K, LeBaron B. tseries: Time Series Analysis and Computational Finance. 2007. URL: https://cran.r-project.org/web/packages/tseries/tseries.pdf [accessed 2018-10-24] [WebCite Cache]
- Killick R, Haynes K, Eckley I, Fearnhead P, Lee J. Change-point: Methods for changepoint detection. 2016. URL: https://github.com/rkillick/changepoint/ [accessed 2018-05-15] [WebCite Cache]
- Hartmann DP, Gottman JM, Jones RR, Gardner W, Kazdin AE, Vaught RS. Interrupted time-series analysis and its application to behavioral data. J Appl Behav Anal 1980;13(4):543-559 [FREE Full text] [Medline]
- Gunter B, Tong C. What are the odds!? The “airport fallacy” and statistical inference. Significance 2017 Aug 02;14(4):38-41. [CrossRef]
- Mogil JS, Macleod MR. No publication without confirmation. Nature 2017 Dec 22;542(7642):409-411. [CrossRef] [Medline]
- Bergman P. The number of repeated observations needed to estimate the habitual physical activity of an individual to a given level of precision. PLoS One 2018;13(2):e0192117 [FREE Full text] [CrossRef] [Medline]
- Dunsmuir W, Robinson PM. Estimation of Time Series Models in the Presence of Missing Data. Journal of the American Statistical Association 1981;76(375):560-568. [CrossRef]
- Junger W, de Leon AP. Missing Data Imputation in Time Series of Air Pollution. Epidemiology 2009 Mar 21;20(12):S87-7 concl. [CrossRef] [Medline]
- Velicer WF, Colby SM. A Comparison of Missing-Data Procedures for Arima Time-Series Analysis. Educational and Psychological Measurement 2016 Jul 02;65(4):596-615. [CrossRef]
- Moritz S, Bartz-Beielstein T. imputeTS: Time Series Missing Value Imputation in R. The R Journal 2017 Jun;9(1):207-218.
- Comulada WS, Lightfoot M, Swendeman D, Grella C, Wu N. Compliance to Cell Phone-Based EMA Among Latino Youth in Outpatient Treatment. J Ethn Subst Abuse 2015;14(3):232-250 [FREE Full text] [CrossRef] [Medline]
- Courvoisier DS, Eid M, Lischetzke T. Compliance to a cell phone-based ecological momentary assessment study: the effect of time and personality characteristics. Psychol Assess 2012 Sep;24(3):713-720. [CrossRef] [Medline]
- Tsay R. Multivariate Time Series Analysis With R and Financial Applications. Hoboken, New Jersey: John Wiley & Sons Inc; 2014.
- Toutenburg H. Rubin, D.B.: Multiple imputation for nonresponse in surveys. New York: Wiley; 1987.
- Bhaskaran K, Smeeth L. What is the difference between missing completely at random and missing at random? Int J Epidemiol 2014 Aug;43(4):1336-1339 [FREE Full text] [CrossRef] [Medline]
- Cook PF, McElwain CJ, Bradley-Springer LA. Feasibility of a daily electronic survey to study prevention behavior with HIV-infected individuals. Res Nurs Health 2010 Jun;33(3):221-234. [CrossRef] [Medline]
- Kauer SD, Reid SC, Sanci L, Patton GC. Investigating the utility of mobile phones for collecting data about adolescent alcohol use and related mood, stress and coping behaviours: lessons and recommendations. Drug Alcohol Rev 2009 Jan;28(1):25-30. [CrossRef] [Medline]
|EMA: ecological momentary assessment|
|HB: health behavior|
|ILA: intensive longitudinal assessment|
|ILD: intensive longitudinal data|
|PA: physical activity|
|PELT: Pruned Exact Linear Time|
|RE: random effects|
Edited by G Eysenbach; submitted 16.05.18; peer-reviewed by L Becker, M Ainsworth; comments to author 27.09.18; revised version received 08.10.18; accepted 09.10.18; published 05.11.18
©W Scott Comulada, Dallas Swendeman, Roxana Rezai, Nithya Ramanathan. Originally published in JMIR Formative Research (http://formative.jmir.org), 05.11.2018.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Formative Research, is properly cited. The complete bibliographic information, a link to the original publication on http://formative.jmir.org, as well as this copyright and license information must be included.