Abstract
Self-reports indicate that stress increases the risk for smoking; however, intensive data from sensors can provide a more nuanced understanding of stress in the moments leading up to and following smoking events. Identifying personalized dynamical models of stress-smoking responses can improve characterizations of smoking responses following stress, but techniques used to identify these models require intensive longitudinal data. This study leveraged advances in wearable sensing technology and digital markers of stress and smoking to identify person-specific models of stress and smoking system dynamics by considering stress immediately before, during, and after smoking events. Adult smokers (n = 45) wore the AutoSense chestband (respiration-inductive plethysmograph, electrocardiogram, accelerometer) with MotionSense (accelerometers, gyroscopes) on each wrist for three days prior to a quit attempt. The odds of minute-level smoking events were regressed on minute-level stress probabilities to identify person-specific dynamic models of smoking responses to stress. Simulated pulse responses to a continuous stress episode revealed a consistent pattern of increased odds of smoking either shortly after the beginning of the simulated stress episode or with a delay, for all participants. This pattern is followed by a dramatic reduction in the probability of smoking thereafter, for about half of the participants (49%). Sensor-detected stress probabilities indicate a vulnerability for smoking that may be used as a tailoring variable for just-in-time interventions to support quit attempts.
Subject terms: Predictive markers, Lifestyle modification, Risk factors
Cigarette smoking is the leading preventable cause of death in the United States, responsible for about one in five deaths annually1. The costs of direct medical care for adult smokers, lost economic productivity caused by smoking-related disability and premature mortality, and secondhand smoking exposure exceed $300 billion per year in the United States2,3. Comprehensive smoking control programs require a clear understanding of the dynamics of smoking triggers and behaviors; however, few studies have attempted to describe those systems. This study used high-frequency sensors and novel markers of both stress and smoking to describe system dynamics and then simulate how stress influences subsequent risk for smoking.
Stress and negative emotions have long been thought to be motives for smoking4–7. Stress represents the nonspecific response of the body to a demand8. It manifests as distress and negative affect when the perceived demand exceeds the individual’s coping potential9. Smokers identify stress as a reason for smoking4–6. One reason may be that they learn that nicotine self-administration can dispel negative affective states that are caused by withdrawal and produce acute psychological benefits such as improved mood and concentration10–12.
Evidence based on a variety of methods supports the concept that stress-induced negative affect is positively associated with smoking13–18. For example, the acute stress of a terrorist attack in New York City increased smoking rates among residents19. On a faster time scale, Shiffman and colleagues found a positive association between repeated assessments of daily stress and smoking14. Affect dysregulation, particularly negative mood variation, has also emerged as a risk factor for future smoking escalation15. These findings point to stress responses as a target for behavioral interventions to reduce smoking and as a potential tailoring variable for interventions to reduce stress-related smoking.
The stress and smoking literature have three gaps that need to be addressed to inform intervention development efforts. First, most of the literature assessing links between stress or negative affect, on the one hand, and smoking, on the other hand, involves data collected during a quit attempt20–24. Assessments of stress taken after quitting smoking reflect both physiological arousal due to daily life experiences and distress due to nicotine withdrawal. Stress-smoking dynamics may be able to be characterized more consistently prior to a quit attempt before prolonged nicotine withdrawal disrupts baseline stress-smoking dynamics. These dynamics can expose the duration of vulnerability between the onset of a stress response and smoking behavior. That information can be used to tailor decision rules (i.e., general or person-specific algorithms) for just-in-time-adaptive smoking cessation interventions in the future.
Second, available analyses have relied on periodic measurement of stress and smoking based on self-reports. However, these self-report assessments are made too infrequently to capture sufficient granularity in continuous stress dynamics leading to and following smoking events. In addition, self-reports are vulnerable to bias from memory errors, psychological interference, and self-presentational concerns13,25. The present study uses sensor-based markers of both stress and smoking to obtain more intensive data that can reveal the dynamics of stress and smoking.
Third, no attempts have been made to study the dynamics of stress in the moments immediately prior to and following smoking events. To date, stress has not been measured continuously and data have typically been limited to a single data point about stress prior to a smoking event. The availability of sensors and digital markers of stress creates new possibilities for monitoring stress continuously so that a time series of stress measurements can be used to predict smoking events and to characterize changes in stress after smoking. In this study, intensive longitudinal digital assessments afforded sufficiently continuous, granular portrayal of stress dynamics to develop a model informed by stress immediately before, during, and after smoking events. This approach can provide the foundation for predicting the temporal response of individuals to stress as a basis for developing evidence-based, just-in-time smoking cessation interventions.
Recent advances in wearable sensors and mHealth markers enable continuous monitoring and detection of stress states and smoking behavior. Useful measurements may include electrical activity of the heart, breathing dynamics, hand movements, and physical activity. Continuously-measured stress states (i.e., inferred from physiological arousal in the absence of physical activity) and smoking behavior sampled at high frequencies (e.g., minute-level) via wearable devices require different tools for their analysis than more sparsely distributed periodic data from ecological momentary assessments to characterize system dynamics. Understanding these dynamics will provide a foundation for adaptive treatments on the individual level so that interventions can be delivered at the moments of greatest need. High-frequency data indicators of an outcome (e.g., minute-level smoking behavior) are not only dependent on the present moment of the candidate predictor (e.g., stress) but are also correlated with past values of that predictor. In other words, a stress episode can affect both the probability of smoking immediately and increase the smoking likelihood in the minutes following the stress episode. Therefore, data signifying present moments of smoking need to be connected to data from immediately prior values of stress to model the stress-smoking responses. Dynamical systems provide the necessary tools to model this so-called “memory effect”, that is, the effect of past and present values of the predictor on the future outcome. In this context, the system is a process that connects past and present values of a predictor (stress) to an outcome (smoking).
Smoking is a complex, dynamic behavior. It can be influenced by a variety of factors over time and is not necessarily the instantaneous result of stress (or other causes). Given the potential for a delay (a time shift or lag) of unknown duration between stress and smoking, existing analytic tools for behavioral studies mentioned above are not well suited to using all of the information in high-frequency intensive longitudinal data and providing a comprehensive description of the relation between system variables26,27. This problem is acute when the length of the delay is unknown and may vary for different systems or people.
Control systems engineering tools have been applied to regulate complex, dynamic systems (e.g., air conditioning in homes, cruise control in cars, flight in aircraft). In general, a system is a process that produces repeated outcomes in response to repeated predictors. Identifying a model of the relations between variables (i.e., predictors and outcomes) that unfold over time (hereafter, a system) is the starting point for developing algorithms to make informed decisions for controlling the system. System identification techniques are a set of tools that can be used to characterize the relationship between predictors and outcomes over time. Often the identified models need to be tuned for the specific system (e.g., for a specific home, vehicle or aircraft) and this tuning is particularly important for systems describing human behavior, which have a high level of uncertainty due to multiple causes. We propose to leverage individual intensive longitudinal data to identify person-specific models that describe dynamic relations between stress and smoking for each individual. Models obtained by these techniques provide the parameters needed to potentially develop person-specific algorithms (i.e., decision rules) for adapting the delivery of a just-in-time intervention based on person-specific vulnerabilities. Such models could realize the potential for personalized behavior medicine to provide people with the right treatment only at the moment when they need it, based on the person-specific dynamics. This approach allows for greater flexibility in designing just-in-time interventions because it can provide evidence-based, tailored—even person-specific—decision rules when stress-smoking systems differ between people (e.g., due to varying model complexity or input salience). In this paper, we focus on stress as a potential tailoring variable for just-in-time interventions to prevent smoking behavior and model stress-smoking systems. Previously, control systems engineering tools were used to model and design interventions for gestational weight gain and physical activity28–32, but we apply them here to characterize the dynamics of the stress-smoking responses.
System identification methods—techniques to fit a dynamic model from longitudinal measurements of a predictor to an outcome—have been used to evaluate smoking cessation treatments33. These methods have been combined with model predictive controllers—controllers (decision rules) that rely on dynamic models of a process obtained by system identification to determine the “right” inputs to the process—to provide a foundation for designing adaptive intensive smoking interventions34,35. Simulations by Lagoa et al. revealed that treatment outcomes could be improved by delivering real-time interventions when and where needed35. Bekiroglu et al. also represented the relations between tobacco withdrawal-related processes over time using dynamical models36. These works demonstrated the feasibility of applying system identification tools to model problems involving smoking. Moreover, they provided preliminary results on how the identified models can be used to develop just-in-time interventions. This study will provide the first application of system identification tools to model person-specific stress-smoking systems and will provide the basis for applying model predictive control tools to design an adaptive intensive, smoking intervention tailored on stress.
The prior smoking-related applications involved continuous outcome measures, leading to relatively straightforward modeling procedures. However, in our system, the predictor (stress) is represented by a continuous score and the outcome (smoking event) is represented by a binary value. Therefore, another contribution of this work is the development of a modeling technique to describe relations between our continuous predictor and a binary outcome in an efficient way. Model identification of a connection of a linear system with a hard nonlinearity is known to be a complex problem because the resulting optimization problem is nonconvex and, hence, hard to solve numerically. In this paper, we provide computationally efficient convex relaxations aimed at obtaining the lowest complexity model compatible with the data available. Furthermore, to the best of our knowledge, system identification methods have never been applied to describe the person-specific dynamics of stress-smoking responses with a binary outcome.
Data for the current research were drawn from the parent Sense2Stop clinical trial, a micro-randomized trial of 75 smokers that used wearable sensors to optimize a just-in-time-adaptive stress-management intervention for smoking relapse prevention37. The Sense2Stop study, described elsewhere37, used wearable devices to collect intensive longitudinal data and applied algorithms to estimate the probability of stress (cStress) at every minute and detect smoking events (puffMarker)38,39. These two algorithms have been used to evaluate stress and smoking lapses in another study using independent data conducted by some of the current paper’s authors40. We applied system identification techniques from control systems engineering to model person-specific dynamic relations between stress and smoking. In other words, we modeled individual behavior using only data recorded from that person, and, therefore, determined a different system/model for each participant. Analyzing stress-smoking relations, especially at the moments preceding and following a smoking event and generating person-specific model parameters in the present study, provides a future basis for designing person-specific, tailored smoking cessation treatments from the parameters linking vulnerable moments (when stress is likely to lead to smoking) to intervention decisions.
Results
Sample characteristics
Characteristics of 45 participants with sufficient data to model person-specific dynamic relations between stress and smoking in the present study are summarized in Table 1 (data processing steps that led to the final analytic sample are described in the “Methods” section). A summary of their preprocessed and analyzed data can be found in Supplementary Tables 1 and 2. These quantities include the numbers of samples in the original dataset, samples after interpolation (with missing samples ≤2), chunks (continuous series of samples) based on the interpolated dataset, chunks after removing the small chunks (size <5 samples), and samples after excluding the small chunks. Prior to interpolation, the average total duration of data from each participant sampled in the dataset was 723.1 min (SD = 323.6; range = 79–1452) over 3 days; after interpolation, the average total duration of data from each participant increased to 887.9 min (SD = 385.5; range = 90–1776) over 3 days (wear time for many participants was <11.2 h/day). The interpolated samples were divided into chunks with a mean number of 76.2 chunks/participant (SD = 33.1; range = 3–150). After removing data chunks <5 min long, the mean number of data chunks/participants used for modeling was 40.5 (SD = 16.45; range = 3–80). The mean total duration of samples used for system identification was 819.9 min (SD = 375.8; range = 90–1716).
Table 1.
Demographic characteristic | n (%) | M (SD) | Observed range |
---|---|---|---|
Age | 42.6 (14) | 20–64 | |
Sex | |||
Male | 23 (51%) | ||
Female | 22 (49%) | ||
Race | |||
American Indian/Alaska Native | 0 (0%) | ||
Asian | 1 (2%) | ||
Native Hawaiian/Other Pacific Islander | 0 (0%) | ||
Black/African American | 23 (51%) | ||
White | 14 (31%) | ||
Two or more races | 5 (11%) | ||
Other | 2 (4%) | ||
Ethnicity | |||
Not Hispanic/Latino | 40 (89%) | ||
Hispanic/Latino | 5 (11%) | ||
Number of cigarettes per day | |||
10 or less | 28 (62%) | ||
11–20 | 12 (27%) | ||
21–30 | 3 (7%) | ||
31 or more | 2 (4%) | ||
Age of starting to smoke? | 18.3 (6.5) | 7–45 |
Person-specific dynamical modeling
The modeling strategy used in this paper was person-specific dynamical system modeling. We use the term “system” to represent a longitudinal process that produces repeated outcomes in response to repeated predictors. Stress probability was considered as the predictor and smoking as the outcome. Figure 1 shows hypothetical changes in the candidate predictor (stress probability) and outcome (smoking events) for one data chunk consisting of 15 samples recorded on a minute scale. Stress probabilities ranged from 0 to 1; smoking values of 0 and 1 indicate non-smoking and smoking events at that minute. The modeling objective is to identify a system that represents the relation between these two longitudinal signals. As shown in the system in Fig. 2, the first part of the model is a linear system with stress probability as the predictor and “response of the system,” denoted by , as the linear system response41. The linear system response, , is the summation of the behavior of the system which is directly connected to stress, , and the intrinsic behavior of the system, . In the context of dynamical model of the stress-smoking responses, intrinsic response, , can be thought of as the estimate of smoking odds when the participant is not experiencing stress. Figure 3 represents the predictor response, intrinsic response, and the overall response of the system for the data chunk in Fig. 1. Predictor response is a behavior of the system which is directly connected to stress (), intrinsic response represents the odds of smoking when stress is zero (), and the system response plot represents the summation of the response of the system to stress and intrinsic response (). Whenever the value of equals or exceeds the threshold of 1, there is likely to be a smoking minute in the outcome, and if , there is no smoking occurrence. Note that, in the proposed approach, we aimed at modeling individual behavior and, therefore, a different system or model is identified for each participant. The right-hand side block in the system configuration depicted in Fig. 2, which is called “sign nonlinearity,” provides the binary outcome indicating whether, at a specific time, the participant is smoking or not. The response of the identified system at a specific time t, , has a nonlinear relation with smoking which is described as
1 |
In Eq. (1), the use of a threshold equal to 1 is arbitrary. Scaling the threshold will lead to an inverse scaling of the output of the linear system; therefore, since we are dealing with linear systems, it does not change the identification problem or overall results. The same modeling strategy was then deployed on usable data from each participant separately. Next, we simulated how each participant would respond to a specific continuous stress episode lasting 10 min (an arbitrary value to standardize the comparison among participants), to illustrate how these response patterns vary across participants.
According to their respective simulated pulse responses (responses to 10 min of continuous stress), results from the modeling of smoking behavior due to stress for all participants can be divided into five clusters. Due to the limited sample size of this study, visual clustering (i.e., qualitative grouping by the investigators based on the shape, peak delay, and decay to zero for each curve) was applied based on the shape of observed participants responses. Figure 4 presents the simulated responses of a representative participant from each cluster to a 10-min stress episode and Figs. 5–9 represent the pulse responses of individual participants in each cluster to the stress episode, respectively. Cluster 1 was characterized by instantaneous or relatively rapid responses to stress as indicated by an immediate increase in the odds of smoking followed by a sharp decrease in odds of smoking. Cluster 2 was characterized by a delayed response to stress, approximately 7–12 min after the start of the stress episode. Participants in this cluster had an increase and subsequently a decrease in their odds of smoking. Cluster 3 was characterized by an instant increase followed by a second, delayed increase in the odds of smoking due to stress. Cluster 4 was characterized by a single delayed increase in response to stress without a subsequent sharp decrease in the odds of smoking. Finally, cluster 5 was characterized by an instant decrease in the odds of smoking followed by a sharp delayed increase in its odds. It should be noted that the term “delay” implies the time shift in responding. Table 2 summarizes the number of participants belonging to each cluster. It should be noted that the higher magnitudes of the pulse response do not necessarily imply a higher likelihood of smoking. In fact, the magnitude of the pulse response represents the estimated changes of the propensity for smoking when stress happens, as a function of time. If the magnitude is positive, it represents an increase in the likelihood of smoking and if it is negative, it shows a decrease in the likelihood of smoking.
Table 2.
Cluster | Number of Participants | Percentage |
---|---|---|
Cluster 1: immediate increase followed by a decrease in odds of smoking | 12 | 26.7% |
Cluster 2: a delayed response to stress, an increase followed by a decrease in odds of smoking | 10 | 22.2% |
Cluster 3: two rounds of increase; an instant increase followed by a delayed increase in odds of smoking | 5 | 11.1% |
Cluster 4: just a delayed increase in odds of smoking | 13 | 28.9% |
Cluster 5: an instant decrease followed by a sharp delayed increase in odds of smoking | 5 | 11.1% |
As shown by the results, all pulse responses to a continuous stress episode demonstrated an increase in the odds of smoking either immediately or with some delay. For the majority of participants (n = 25), the increase was followed by a sharp decrease in the tendency to smoke, down to negative probability. This can be interpreted as smoking due to stress leading to reducing the probability of further smoking in the near future for these participants. However, some participants (n = 12) did not follow the same trend, i.e., the increase in the odds of smoking did not proceed with a decrease in the smoking likelihood in the near future. For a few individuals (n = 3), the early increase in the odds of smoking was followed by a second increase in its odds, which showed that smoking in response to stress elevated the odds for further smoking for some people. For some participants (n = 5), the behavior was quite different. They represented a negative response to stress at the beginning which can be interpreted as a decrease in the chance of smoking at the first moments of being under stress. The trend is followed by a sharp delayed increase in the odds of smoking. This may indicate the participants’ effort to prevent smoking at first, but eventually stress causes smoking to happen.
Discussion
This work makes two key contributions toward understanding the relationship between stress and smoking. First, it provides proof of concept for using system identification tools from control systems engineering to identify person-specific dynamic models of stress-smoking responses for participants. In doing so, it introduced a method for combining a linear system with a sign nonlinearity to enable modeling of a continuous predictor (stress) and a binary outcome (smoking). Second, the results of simulations based on person-specific models demonstrated heterogeneity in smoking responses to stress. For about half of the participants (49%), following an initial stress-induced increase in the likelihood of smoking, we expect to see an eventual reduction in the odds of smoking.
This paper demonstrated how dynamical systems modeling techniques can be applied to characterize the dynamics of stress and smoking. This modeling approach accounted for the influence of both recent stress and smoking to predict the odds of smoking in response to future stress. Prior efforts to link stress and smoking have been based on infrequent stress and smoking assessments for each smoking assessment10,16,42,43. As sensing technology and digital markers improve, intensive longitudinal data will become more readily available to and important for researchers. Dynamical systems models can incorporate that information to predict the dynamics of smoking systems as a function of stress and other predictor variables.
Another tool for modeling longitudinal data is the time-varying effect model (TVEM)44–50. This model has two noteworthy limitations. First, the TVEM cannot determine complex underlying within-time associations of variables51, so it is not useful for investigating the long-term effect of predictors on an outcome. TVEM is limited to contemporaneous relations in a single model without considering the effect of delay in that association. That is, TVEM is not capable of exploring the memory effect of stress on smoking. Tools such as dynamical system modeling techniques from control systems engineering can fill this gap when investigators seek to understand the delayed effect of stress on smoking. Second, the TVEM represents bivariate associations as a function of time, but requires an assumption that those time-varying associations are equivalent across people. The dynamical modeling technique applied in this paper was used to generate person-specific models, and the results obtained would not support assumptions of equivalence across participants.
It is worth noting that the dynamical modeling approach applied here was a powerful technique considering the relatively limited amount of time-series data, 3 days in this dataset. Artificial intelligence techniques, including machine learning52,53 and deep learning methods54, or statistical techniques such as Bayesian approaches and stochastic approximation expectation-maximization algorithms55,56 require a large volume of data. In addition, the majority of these methods only provide the ultimate result not the dynamics of the system, that is, predicting whether the participant smokes or not by the end of the stress episode. With the 3 days of data available in this study, these alternative methods were not possible. Thus, control systems engineering tools strike a balance between capitalizing on intensive longitudinal data to reveal dynamics and being efficient in the volume of data required.
The person-specific models describing stress-smoking systems were used to simulate smoking dynamics following a 10-min stress response. In those simulations, stress consistently increased the subsequent likelihood of smoking, but there was considerable variation in how long it took for the likelihood of smoking to increase. In other words, although some participants did not show an immediate increase in smoking likelihood in response to stress, all participants were observed to increase smoking within some minutes of the stress episode. These findings are consistent with the hypothesis that stress is a key risk factor for smoking and some people use smoking to regulate stress6,10,16,42,43. Although stress consistently increased the likelihood of smoking, participants varied in the delay between the onset of stress and observed smoking behavior. The latency of stress effects on smoking is an important contribution about which theories have been silent. For some individuals, stress responses have a relatively rapid effect on smoking behavior that may preclude a just-in-time intervention triggered by stress detection; for others, stress responses have a more delayed effect that represents a period of vulnerability when an intervention might be beneficial. Data from this study do not indicate that participants learned to self-administer nicotine to regulate stress responses. Nevertheless, the approach demonstrated here can be extended to multiple time scales to test self-medication hypotheses. Models on faster time scales can characterize stress effects on smoking, and models on slower time scales can characterize how stress responses to smoking affect future stress-smoking dynamics (i.e., learning to self-administer nicotine to regulate stress)57,58. Future research could also use n-of-1 or single-case research designs to compare system dynamics (e.g., latency of smoking following a stressor) following the introduction and removal of stress-management interventions59,60. These approaches would capitalize on the idiographic nature of the systems but allow quasi-experimental comparisons of clinically meaningful outcomes before and after the introduction of an intervention. For example, n-of-1 trials could be applied to determine system properties that are amenable or hostile to just-in-time stress-management prompts (e.g., how long of a delay between stress and smoking is required to intervene?).
The results also can be used to inform the selection and timing of just-in-time intervention approaches. Participants in clusters 1 and 2 responded to stress so quickly that they may not have sufficient time to implement a stress-management intervention and regulate themselves before a smoking response is initiated. For them, it may be more effective to implement an intervention aimed at developing stress-management skills that could be employed without a prompt or to tailor just-in-time interventions on other advanced triggers for smoking, such as location or social context. In contrast, participants in clusters 4 and 5 exhibited somewhat slower responses to stress that peaked toward the end rather than the beginning of the stress episode. That delay may provide enough time to detect stress, deliver a prompt to engage in a stress-management exercise (perhaps mediated by an app on the user’s device), improve their regulation, and reduce smoking risk. Participants in cluster 3 had a more complex response. Their risk of smoking increased quickly after the beginning of a stress episode, but it then subsided before increasing again long after the stress episode ended. They may require a more complex intervention with multiple tailoring variables. For example, one tailoring variable could be used to identify moments of anticipated vulnerability and trigger intervention options that reduce the risk of smoking expected shortly after the onset of (anticipated) stressful experiences (e.g., upon arriving at work, sending the user a reminder to seek out supportive coworkers). A second tailoring variable could be used to trigger an intervention option that reduces the risk of smoking after a detected stressful experience has ended (e.g., after detecting a stress response from an upsetting interaction with coworkers, prompting the user to engage in mindfulness practice). This approach of system identification provides a complement to micro-randomized trials for determining the optimal level of individual tailoring variables for triggering different intervention options61. These results also suggest that just-in-time stress-management interventions for smoking cessation may have considerable heterogeneity of treatment effects if response systems are not identified to determine the appropriate tailoring variables for a particular participant.
Participants in this study were smokers from a large metropolitan area in a Western country. The stress-smoking systems identified here may not generalize to other contexts or populations. In addition, the smokers in this study were preparing for a quit attempt. Stress-smoking system dynamics may differ for smokers who are not intending to quit or during a quit attempt when withdrawal symptoms present an additional demand. The small sample size was suitable for establishing proof of concept for modeling person-specific changes in smoking responses to stress that can be used to develop person-specific decision rules for just-in-time stress-management interventions; however, the sample size was insufficient to permit empirical clustering of participants based on their responses to stress. Future studies with larger samples can apply clustering algorithms and machine learning techniques like Shapelets to establish a robust typology of stress-smoking systems62,63. The model tested was an open loop in nature, meaning it focused on how stress influenced subsequent smoking odds, but did not include feedback from smoking to subsequent stress. A unified closed-loop model was not estimated because we had limited information about other causal influences on stress, but could be a focus for future work with other datasets. In addition, the size of the available dataset limited our ability to apply the validation technique here; however, the validation process is explained in the “Methods” section for use with larger datasets in future studies.
The volume of missing data in the datasets was another limitation of this study. Some missing data were anticipated because the cStress marker cannot be estimated when the participant was physically active. Other missing data was caused by human factors or device issues, such as device non-wear or poor attachment of sensors to the skin. One consequence of the missing data was that each participant’s data were a collection of shorter chunks of data instead of a single long time series. This problem was partially mitigated in the modeling by considering different intrinsic responses for each chunk according to its own past; however, conclusions cannot be drawn about system dynamics between the available chunks, where data were not available. Related to this limitation, the cStress and puffMarker were both informed by a shared sensor (i.e., respiration-inductive plethysmograph) and some shared features of data from that sensor (e.g., inhalation duration). The dynamic nature of the models limited collinearity between the predictor and outcome. Adding additional sensors to provide wholly independent data streams would add a burden for participants, but is worth exploring in future research. Neither marker in this study was perfectly accurate in prior work so caution is warranted when interpreting the results.
A final modeling-related limitation was that we assumed the system is stationary. The dataset did not include information on situational factors that might alter dynamics (e.g., home versus work, weekday versus weekend). Given the relatively short period of 3 days of pre-quit data, we believe it was reasonable to assume that participant behavior would not change dramatically during this period. Accessing and analyzing more data including situational and contextual factors and exploring how they impact smoking should be a priority for future studies.
This study provided proof of concept for using system identification tools from control systems engineering to identify relations between stress and smoking for regular smokers over time. The study made both substantive and methodological contributions to the addiction literature. From a substantive perspective, the identified person-specific dynamical models revealed a direct correlation between stress and subsequent increases in smoking risk. This general pattern was uniform, but the latency between stress and smoking events varied from instantaneous to delayed. In addition, for about half of the participants, smoking in response to stress was followed by a marked reduction in the odds of smoking in the near future. From a methodological perspective, the system identification method yielded person-specific dynamical models that might have a relatively consistent pattern for a given individual, but different patterns for different people. This method provides a new approach for both (a) characterizing the dynamics of smoking risk at different stages (e.g., prior to a quit attempt) and (b) developing person-specific decision rules for just-in-time interventions that support smoking cessation.
Methods
Overview of design
This study is a secondary analysis of a subset of data from 45 participants with sufficient sensor data from the Sense2Stop trial conducted through the MD2K Center of Excellence64. The Sense2Stop trial involved 15 days of data collection: 3 days prior to a quit attempt, a quit day, and 11 post-quit days. This study used data from the three pre-quit days to develop dynamic models of stress and smoking. All procedures were approved by the IRB at Northwestern University (#STU00201566).
Participants
Fliers posted in the community were used to recruit adult smokers interested in quitting smoking for the Sense2Stop trial. Prospective participants (N = 371) were screened for eligibility and 75 eligible participants enrolled. Participants were between 18 and 65 years, lived in the Chicago area, smoked more than one cigarette per day on average in the past year, were willing to abstain from non-cigarette tobacco products for the course of the study, willing to try to quit smoking for at least 48 h (the parent trial focused on smoking cessation, but the present study was limited to data from the pre-quit period), not taking any medications for smoking cessation currently or planned in the next 30 days, not pregnant or trying to get pregnant, and willing to provide an emergency contact, social security number, and address for study payment. Of the 75 total participants, data preprocessing revealed that 45 participants had sufficient data to estimate person-specific dynamical models of stress-smoking systems (details below).
Measures
Stress was operationalized as the minute-level probability of stress determined using the cStress algorithm38. The cStress marker uses data from a 2-lead electrocardiograph and a respiration-inductive plethysmograph collected by chest-worn AutoSense sensors to estimate the probability of stress at each minute. Specific features used to construct minute-level stress probabilities from those sensors included the 80th percentile and mean of the interbeat interval, and mean and median of the ratio between inspiration and expiration duration. Stress probabilities were calculated every minute, except when accelerometers in the chestband recorded physical activity (due to confounding factors from the physiological responses to activity) or when data were unavailable due to poor sensor attachments or other noise. This cStress model previously demonstrated a true-positive rate of 88.6% and false-positive rate of 4.65% on a test dataset from the lab. The cStress model achieved a median accuracy of 90% and 72% with self-reports from the lab and the field, respectively38.
Smoking behavior was operationalized every minute as a binary score from the puffMarker algorithm39. This algorithm uses two sources of data: breathing dynamics collected from the respiration-inductive plethysmograph via the AutoSense chestband, and arm movements gathered from inertial sensors (MotionSense) worn on each wrist. Puffs were identified from patterns of hand-to-mouth gestures and respiration cycles. Features extracted consisted of inhalation and exhalation duration, respiration duration, minimum and maximum of the rate of change signal (first derivation of the respiration signal), and mean, median, standard deviation, and quartile deviation of magnitude of gyroscope, pitch, and roll. Excluding isolated puffs, smoking events were marked if a minimum of four smoking puffs was detected. The puffMarker algorithm achieved a true-positive rate of 96.9% and a false-positive rate of 1.1% on the training dataset39.
Procedures
Participants provided written informed consent and were provided with four devices. They were asked to wear two MotionSense wristbands and one AutoSense chestband for up to 16 h/day, and to carry an Android smartphone65,66 for the same period. The Autosense chestband supports a wireless sensor suite that records continuous physiological measurements consisting of an electrocardiogram (64 Hz), respiratory inductive plethysmograph (21.3 Hz), and 3-axis accelerometer (10.7 Hz)65. Each MotionSense wristband contained a 3-axis accelerometer (16 Hz) and a 3-axis gyroscope (32 Hz) to record arm motion39,66. The open-source mCerebrum software has been used to support continuous sensor data transfer from the chestband and wristbands to the smartphone67. Participants were compensated if they completed lab visits, responded to mCerebrum-triggered ecological momentary assessments (with bonus for wearing the sensors), and received an overall bonus incentive for wearing the devices more than 70% of the requested wear time during the study period (i.e., 11.2 h/day); however, due to either battery issues or incorrect device wear, the overall wear time was less than that for many participants. Full procedures for the Sense2Stop trial are available from Battalio et al.37.
Analyses
Data quality screening
Data were recorded from 75 participants, but participants were excluded if they were part of the pilot test (n = 5) or had excessive missing sensor data due to physical activity, improper attachment, non-wear, sensor failures, or insufficient data (i.e., <5 min of continuous data). After accounting for these problems (n = 25), the analytic dataset comprised 45 participants (60%).
Data processing
Data preprocessing consisted of five general stages: correcting sample times, handling small intervals of missing data via linear interpolation, determining ending time of smoking events, dividing data into continuous pieces called data chunks, and excluding data chunks with less information is done.
First, the timing for each stress probability and the smoking event was provided in timestamp (Unix) format. Therefore, the primary step in processing the data was to convert timestamps to datetime. Datetime represents the time and date information of the events more intuitively, making the results and their display more easily interpretable. The sampling rate in this study was approximately 1 min; however, the timing of some samples violated this criterion, such as when two probabilities were provided for a minute (e.g., with a time difference of 59 s). To address this matter, the approach taken is to round time to the nearest minute. Therefore, in this context, a sample means 1 min of information, and a chunk is a continuous series of samples.
Second, different durations of missing data occurred in the stress probability measure, ranging from 1 to about 120 min. If intervals of missing data were brief (≤2 min), a linear interpolation technique was used. The reason for this choice is that, given our dataset, two interpolated samples can still provide good consistency as well as maintaining the accuracy of the provided data. Also, these short intervals of missing data would mostly occur as the result of mis-attached sensors on the body rather than any kind of confounding activities that can interfere with stress probability estimation. If intervals were large (>2 min), there was not enough information to make any prediction/estimation of missing stress probabilities at those time intervals.
Third, the puffMarker algorithm identified the start timing of each identified smoking event and the timing of all detected smoking puffs, but did not identify when smoking events ended. A minimum of four puffs in a 5-min time interval was required to qualify as a smoking event. To determine the duration of the smoking events, a sliding 5-min window was used beginning at the start of the episode. As long as the criterion of four puffs inside the considered window was met, the smoking event was extended. Smoking event durations for participants ranged from 2 to 10 min.
Finally, given the fragmented nature of the stress probability dataset and the fact that no information was available to understand relations between stress and smoking during time gaps, we considered each continuous interval of data samples as one “chunk” of data. Some data chunks in our dataset consisted of a very small number of samples, as low as just one sample, which makes it hard for the system to understand the behavior and identify the meaningful relation between stress and smoking. To extract relevant information, chunks with less than five minutes of information were excluded. Removing these small data chunks from the analytic dataset had minimal impact on the number of minutes that could be modeled (on average, 68 min/participant).
System identification methods
Solving the problem of identifying parsimonious models (i.e., here estimating the model coefficients describing the dynamics of stress and smoking) from experimental data has led to much recent work. The nonconvex nature of this problem has directed the proceeding approaches68,69 to consider relaxations such as Group Lasso or nuclear norm minimization. Although these approaches perform well, they might not be computationally efficient. This difficulty has led to a new approach called atomic norm minimization70. This technique represents the response of a linear time-invariant system as a linear combination of suitably chosen objects or atoms71–73. Atomic norm minimization results in the efficient identification of sparse models from experimental data. In this paper, we developed the identification algorithm using the atomic norm method. To identify the system (again, to estimate the model coefficients describing the dynamics of stress and smoking), we rely on the idea that the response of a linear time-invariant system can be represented as a linear combination of atoms.
Discrete-time linear system modeling. Note that since we are applying the tools from control systems engineering, in the following, we will use the common terms using in this field. Therefore, from now on “input” refers to the predictor, “output” refers to the outcome, and “yNatural” represents the intrinsic response.
The response of the linear system, , is the sum of the response of the system to the input (i.e., stress probability) and the natural response. It can be represented as follows:
2 |
where is the time instant, and are the input and impulse response of the system, respectively. is the response of the system to the input when the system is starting at rest and is the response of the system while input is considered to be zero. The operator “∗” denotes convolution and can be expanded as below
3 |
Any impulse response of a linear time-invariant system can be represented as
4 |
where ’s are the unknown coefficient of system related to input response, ’s are “poles” of the system inside the unit circle, is the number of poles, and is a scaling factor. The scaling term can be represented as
5 |
where is the length of the measurements vector and returns the absolute value. The size of vector is the same as vector , consisting of poles of the system. Details of this choice of scaling factor is provided in ref. 72.
Remark The number of poles used here is equal to the order of the system or the complexity of the system.
The response of the system in Eq. (2) can be rewritten as
6 |
where are the atoms and and are the unknown coefficients of system related to input response and natural response, respectively. A precise description of linear systems concepts is represented in Lathi and Green41.
Data chunks
Considering the dataset as data chunks results in having different intrinsic behaviors with respect to each of the data chunks. Equation (6) can be rewritten for each data chunk as follows:
7 |
where j represents data chunk j, is the time instant in data chunk j and , , and are the system response, input, and coefficients related to natural response for data chunk j.
It should be noted that as our dataset is the integration of data chunks with various lengths, the value in Eq. (5) is considered to be the average length of all data chunks for each participant.
We should mention that the value of is not provided, but the output of the system which is smoking is available and has a nonlinear relation with , which is described as
8 |
Therefore, we use input stress probability and output smoking to identify the system.
Sparsity
The objective here is to identify a sparse model in order to minimize the complexity. In other words, we seek to minimize the number of nonzero coefficients in the system, Cp’s, and correspondingly maximize the sparsity of the identified system. The literature on sparsity can be found in ref. 70.
For the poles, the unit circle has been gridded uniformly and random poles were picked to check as candidates for the system. Figure 10 represents an example of a gridded unit circle.
System identification formulation
The identification problem is formulated as
9 |
where is the number of data chunks and is norm, which is the number of nonzero elements in vector . Minimizing subject to constraints is a computationally complex optimization problem. Therefore, the system identification problem can be solved using norm relaxation as follows:
10 |
where is the sum of the absolute values of elements in vector , is smoking, is the complex conjugate of , and and are the complex conjugate of and . is the small margin to make the optimization problem well posed and is considered in the implementation. The preprocessing and modeling is done in MATLAB environment and CVX, MATLAB software for disciplined convex programming, is used as the convex optimization toolbox74.
Validation
In order to validate the models identified in this study, larger datasets are needed for each individual. If such data were available, the following procedure could be applied to validate the developed model for each participant. First, the preprocessed data should be divided into modeling and validation datasets. One approach can be to divide the data with a 2:1 ratio between the modeling and validation groups. Considering the variations in the number of data points in each chunk, the 2:1 ratio might be adjusted by a few data points, if data points are not the same in each chunk. This way, there is no need to divide the middle chunk and the whole chunk will be in one of the categories. Due to the different lengths of data chunks, the number of chunks to be distributed between the two groups may be uneven.
As the second step, for the modeling data, the optimization problem (10) should be solved to identify the dynamic models for the individuals. Solving this problem identifies the coefficients of the system for the input and natural responses and provides the impulse response and poles of the system that can be used for the validation step. One of the common methods to validate a model is to assess how closely the model outcomes match the observations by measuring the size of prediction error between the two. Therefore, having the impulse response and poles of the system from the second step, for validation, an optimization problem should be solved to identify the coefficients of the natural response by minimizing the size of the error. Similar to the approach used in solving the system identification problem for the modeling data, this problem can also be solved using norm relaxation
11 |
where is the unknown coefficients, is the error between the overall model response and the output at time , and is the sum of the absolute values of . Solving this optimization problem, if is below a threshold (which would vary depending on the number of samples in the dataset), the model and the results are valid.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Supplementary information
Acknowledgements
This research was supported by Grant U54 EB020404 awarded by the National Institute of Biomedical Imaging and Bioengineering, Grant R01 HL142732 awarded by the National Heart, Lung and Blood Institute, and Grant ECCS 1808266 awarded by the National Science Foundation. The content is solely the responsibility of the authors and does not necessarily represent the official views of the NIH or the NSF.
Author contributions
S.H., S.K., C.M.L., I.N.-S., B.S., and D.E.C. conceptualized and designed the work. E.R.D. and B.S. acquired the data. S.H. and C.M.L. analyzed and interpreted the data. S.H., T.H., S.M.H., S.K., C.M.L., and S.M.H. created new software used in the work. S.H., S.K., C.M.L., I.N.-S., S.A.S., B.S., and D.E.C. reviewed and edited the paper. All authors approved the submitted version and agreed both to be personally accountable for their contributions and to ensure that questions related to the accuracy or integrity of any part of the work are appropriately investigated, resolved, and the resolution documented in the literature.
Data availability
The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.
Code availability
Custom code used to generate models reported in this paper are available from https://github.com/Lagoa-s-lab/DOME.
Competing interests
B.S. serves on the Scientific Advisory Board for Actigraph. The other authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
The online version contains supplementary material available at 10.1038/s41746-021-00532-2.
References
- 1.Centers for Disease Control and Prevention. National Center for Chronic Disease Prevention and Health Promotion, Smoking and Tobacco Use, Fast Facts. https://www.cdc.gov/tobacco/data_statistics/fact_sheets/fast_facts/ (2020).
- 2.Xu X, Bishop E, Kennedy S, Simpson S, Pechacek T. Annual healthcare spending attributable to cigarette smoking: an update. Am. J. Prev. Med. 2015;48:326–333. doi: 10.1016/j.amepre.2014.10.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Hall W, Doran C. How much can the USA reduce health care costs by reducing smoking? PLoS Med. 2016;13:e1002021. doi: 10.1371/journal.pmed.1002021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.McEwen A, West R, McRobbie H. Motives for smoking and their correlates in clients attending Stop Smoking treatment services. Nicotine Tob. Res. 2008;10:843–850. doi: 10.1080/14622200802027248. [DOI] [PubMed] [Google Scholar]
- 5.Byrne DG, Byrne AE, Reinhart MI. Personality, stress and the decision to commence cigarette smoking in adolescence. J. Psychosom. Res. 1995;39:53–62. doi: 10.1016/0022-3999(94)00074-f. [DOI] [PubMed] [Google Scholar]
- 6.Torres OV, O’Dell LE. Stress is a principal factor that promotes tobacco use in females. Prog. Neuro-Psychopharmacol. Biol. Psychiatry. 2016;65:260–268. doi: 10.1016/j.pnpbp.2015.04.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Pomerleau OF, Pomerleau CS. Research on stress and smoking: progress and problems. Br. J. Addict. 1991;86:599–603. doi: 10.1111/j.1360-0443.1991.tb01815.x. [DOI] [PubMed] [Google Scholar]
- 8.Selye, H. The Stress of Life (McGraw-Hill, 1956).
- 9.Lazarus, R. S. & Folkman, S. Stress, Appraisal and Coping (Springer, 1984).
- 10.Khantzian EJ. The self-medication hypothesis of substance use disorders: a reconsideration and recent applications. Harv. Rev. Psychiatry. 1997;4:231–244. doi: 10.3109/10673229709030550. [DOI] [PubMed] [Google Scholar]
- 11.Kassel JD, Stroud LR, Paronis CA. Smoking, stress, and negative affect: correlation, causation, and context across stages of smoking. Psychol. Bull. 2003;129:270–304. doi: 10.1037/0033-2909.129.2.270. [DOI] [PubMed] [Google Scholar]
- 12.Benowitz NL. Clinical pharmacology of nicotine: implications for understanding, preventing, and treating tobacco addiction. Clin. Pharmacol. Ther. 2008;83:531–541. doi: 10.1038/clpt.2008.3. [DOI] [PubMed] [Google Scholar]
- 13.Delfino RJ, Jamner LD, Whalen CK. Temporal analysis of the relationship of smoking behavior and urges to mood states in men versus women. Nicotine Tob. Res. 2001;3:235–248. doi: 10.1080/14622200110050466. [DOI] [PubMed] [Google Scholar]
- 14.Jahnel T, Ferguson SG, Shiffman S, Schüz B. Daily stress as link between disadvantage and smoking: an ecological momentary assessment study. BMC Public Health. 2019;19:1–8. doi: 10.1186/s12889-019-7631-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Weinstein SM, Mermelstein R, Shiffman S, Flay B. Mood variability and cigarette smoking escalation among adolescents. Psychol. Addict. Behav. 2008;22:504–513. doi: 10.1037/0893-164X.22.4.504. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Pesko MF, Baum CF. The self-medication hypothesis: evidence from terrorism and cigarette accessibility. Econ. Hum. Biol. 2016;22:94–102. doi: 10.1016/j.ehb.2016.03.007. [DOI] [PubMed] [Google Scholar]
- 17.Aronson KR, Almeida DM, Stawski RS, Klein LC, Kozlowski LT. Smoking is associated with worse mood on stressful days: results from a national diary study. Ann. Behav. Med. 2008;36:259–269. doi: 10.1007/s12160-008-9068-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Savoy EJ, et al. Examining moment to moment affective determinants of smoking rate following a quit attempt among homeless daily smokers. Addict. Behav. 2021;115:106788. doi: 10.1016/j.addbeh.2020.106788. [DOI] [PubMed] [Google Scholar]
- 19.Pesko MF. Stress and smoking: associations with terrorism and causal impact. Contemp. Econ. Policy. 2014;32:351–371. [Google Scholar]
- 20.Hughes JR. Effects of abstinence from tobacco: valid symptoms and time course. Nicotine Tob. Res. 2007;9:315–327. doi: 10.1080/14622200701188919. [DOI] [PubMed] [Google Scholar]
- 21.Hughes JR. Tobacco withdrawal in self-quitters. J. Consult. Clin. Psychol. 1992;60:689–697. doi: 10.1037//0022-006x.60.5.689. [DOI] [PubMed] [Google Scholar]
- 22.Cameron A, Reed KP, Ninnemann A. Reactivity to negative affect in smokers: the role of implicit associations and distress tolerance in smoking cessation. Addict. Behav. 2013;38:2905–2912. doi: 10.1016/j.addbeh.2013.08.012. [DOI] [PubMed] [Google Scholar]
- 23.Shiffman S. Dynamic influences on smoking relapse process. J. Pers. 2005;73:1715–1748. doi: 10.1111/j.0022-3506.2005.00364.x. [DOI] [PubMed] [Google Scholar]
- 24.McKee SA, et al. Stress decreases the ability to resist smoking and potentiates smoking intensity and reward. J. Psychopharmacol. 2011;25:490–502. doi: 10.1177/0269881110376694. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Devaux M, Sassi F. Social disparities in hazardous alcohol use: self-report bias may lead to incorrect estimates. Eur. J. Public Health. 2016;26:129–134. doi: 10.1093/eurpub/ckv190. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Conroy DE, Lagoa CM, Hekler E, Rivera DE. Engineering person-specific behavioral interventions to promote physical activity. Exerc. Sport Sci. Rev. 2020;48:170–179. doi: 10.1249/JES.0000000000000232. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Dunton GF, Rothman AJ, Leventhal AM, Intille SS. How intensive longitudinal data can stimulate advances in health behavior maintenance theories and interventions. Transl. Behav. Med. 2021;11:281–286. doi: 10.1093/tbm/ibz165. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Conroy DE, et al. Personalized models of physical activity responses to text message micro- interventions: a proof-of-concept application of control systems engineering methods. Psychol. Sport Exerc. 2019;41:172–180. doi: 10.1016/j.psychsport.2018.06.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Hojjatinia S, et al. Abstract P196: personalized dynamical system models of individual text message effects on changes in physical activity. Circulation. 2020;141:AP196. [Google Scholar]
- 30.Guo P, et al. System identification approaches for energy intake estimation: enhancing interventions for managing gestational weight gain. IEEE Trans. Control Syst. Technol. 2020;28:63–78. doi: 10.1109/TCST.2018.2871871. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Hojjatinia S, Hojjatinia S, Lagoa CM, Brunke-Reese D, Conroy DE. Person-specific dose-finding for a digital messaging intervention to promote physical activity. Health Psychol. 2021;40:502–512. doi: 10.1037/hea0001117. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Bardakci, I. E., Hojjatinia, S., Hojjatinia, S., Lagoa, C. M. & Conroy, D. E. Model predictive control approach to adaptive messaging intervention for physical activity. Preprint at https://arxiv.org/abs/2108.11499 (2021).
- 33.Timms KP, Rivera DE, Collins LM, Piper ME. Continuous-time system identification of a smoking cessation intervention. Int. J. Control. 2014;87:1423–1437. doi: 10.1080/00207179.2013.874080. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Rawlings JB. Tutorial overview of model predictive control. IEEE Control Syst. Mag. 2000;20:38–52. [Google Scholar]
- 35.Lagoa CM, Bekiroglu K, Lanza ST, Murphy SA. Designing adaptive intensive interventions using methods from engineering. J. Consult. Clin. Psychol. 2014;82:868–878. doi: 10.1037/a0037736. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Bekiroglu K, Russell MA, Lagoa CM, Lanza ST, Piper ME. Evaluating the effect of smoking cessation treatment on a complex dynamical system. Drug Alcohol Depend. 2017;180:215–222. doi: 10.1016/j.drugalcdep.2017.07.037. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Battalio SL, et al. Sense2Stop: a micro-randomized trial using wearable sensors to optimize a just-in-time-adaptive stress management intervention for smoking relapse prevention. Contemp. Clin. Trials. 2021;109:106534. doi: 10.1016/j.cct.2021.106534. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Hovsepian, K. et al. cStress: towards a gold standard for continuous stress assessment in the mobile environment. In UbiComp 2015—Proc. 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing 493–504 (2015). [DOI] [PMC free article] [PubMed]
- 39.Saleheen, N. et al. puffMarker: a multi-sensor approach for pinpointing the timing of first lapse in smoking cessation. In UbiComp 2015—Proc. 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing 999–1010 (2015). [PMC free article] [PubMed]
- 40.Nakajima M, et al. Using novel mobile sensors to assess stress and smoking lapse. Int. J. Psychophysiol. 2020;158:411–418. doi: 10.1016/j.ijpsycho.2020.11.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Lathi, B. P. & Green, R. A. Linear Systems and Signals (Oxford Univ. Press, 2005).
- 42.Shiffman, S. & Wills, T. A. Coping and Substance Use (Academic Press, 1985).
- 43.Weinstein SM, Mermelstein RJ. Dynamic associations of negative mood and smoking across the development of smoking in adolescence. J. Clin. Child Adolesc. Psychol. 2013;42:629–642. doi: 10.1080/15374416.2013.794698. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Lanza ST, Vasilenko SA, Liu X, Li R, Piper ME. Advancing the understanding of craving during smoking cessation attempts: a demonstration of the time-varying effect model. Nicotine Tob. Res. 2014;16:S127–S134. doi: 10.1093/ntr/ntt128. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Shiyko MP, Lanza ST, Tan X, Li R, Shiffman S. Using the time-varying effect model (TVEM) to examine dynamic associations between negative affect and self confidence on smoking urges: differences between successful quitters and relapsers. Prev. Sci. 2012;13:288–299. doi: 10.1007/s11121-011-0264-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Lanza ST, Vasilenko SA. New methods shed light on age of onset as a risk factor for nicotine dependence. Addict. Behav. 2015;50:161–164. doi: 10.1016/j.addbeh.2015.06.024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Merrill JE, Kenney SR, Barnett NP. A time-varying effect model of the dynamic association between alcohol use and consequences over the first two years of college. Addict. Behav. 2017;73:57–62. doi: 10.1016/j.addbeh.2017.04.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Snippe E, Dziak JJ, Lanza ST, Nyklíček I, Wichers M. The shape of change in perceived stress, negative affect, and stress sensitivity during mindfulness-based stress reduction. Mindfulness. 2017;8:728–736. doi: 10.1007/s12671-016-0650-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Tan X, Shiyko MP, Li R, Li Y, Dierker L. A time-varying effect model for intensive longitudinal data. Psychol. Methods. 2012;17:61–77. doi: 10.1037/a0025814. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Koslovsky MD, H´ebert ET, Businelle MS, Vannucci M. A Bayesian time-varying effect model for behavioral mHealth data. Ann. Appl. Stat. 2020;14:1878–1902. doi: 10.1214/20-aoas1402. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Lanza ST, Vasilenko SA, Russell MA. Time-varying effect modeling to address new questions in behavioral research: examples in marijuana use. Psychol. Addict. Behav. 2016;30:939–954. doi: 10.1037/adb0000208. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Amaral JLM, Lopes AJ, Jansen JM, Faria ACD, Melo PL. An improved method of early diagnosis of smoking-induced respiratory changes using machine learning algorithms. Comput. Methods Prog. Biomed. 2013;112:441–454. doi: 10.1016/j.cmpb.2013.08.004. [DOI] [PubMed] [Google Scholar]
- 53.Senyurek VY, Imtiaz MH, Belsare P, Tiffany S, Sazonov E. A CNN‑LSTM neural network for recognition of puffing in smoking episodes using wearable sensors. Biomed. Eng. Lett. 2020;10:195–203. doi: 10.1007/s13534-020-00147-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Wang S, et al. Discrimination of smoking status by MRI based on deep learning method. Quant. Imaging Med. Surg. 2018;8:1113–1120. doi: 10.21037/qims.2018.12.04. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Lu ZH, Chow SM, Sherwood A, Zhu H. Bayesian analysis of ambulatory blood pressure dynamics with application to irregularly spaced sparse data. Ann. Appl. Stat. 2015;9:1601–1620. doi: 10.1214/15-aoas846. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Chow SM, Lu Z, Sherwood A, Zhu H. Fitting nonlinear ordinary differential equation models with random effects and unknown initial conditions using the stochastic approximation expectation–maximization (SAEM) algorithm. Psychometrika. 2016;81:102–134. doi: 10.1007/s11336-014-9431-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.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. Heal. Psychol. 2015;34:1209–1219. doi: 10.1037/hea0000306. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Spruijt-Metz D, et al. Building new computational models to support health behavior change and maintenance: new opportunities in behavioral research. Transl. Behav. Med. 2015;5:335–346. doi: 10.1007/s13142-015-0324-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Dallery J, Cassidy RN, Raiff BR. Single-case experimental designs to evaluate novel technology-based health interventions. J. Med. Internet Res. 2013;15:e22. doi: 10.2196/jmir.2227. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.McDonald S, et al. The state of the art and future opportunities for using longitudinal n-of-1 methods in health behaviour research: a systematic literature overview. Health Psychol. Rev. 2017;11:307–323. doi: 10.1080/17437199.2017.1316672. [DOI] [PubMed] [Google Scholar]
- 61.Predrag K, et al. Micro-randomized trials: an experimental design for developing just-in-time adaptive interventions. Health Psychol. 2015;34:1220–1228. doi: 10.1037/hea0000305. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Dumortier A, Beckjord E, Shiffman S, Sejdić E. Classifying smoking urges via machine learning. Comput. Methods Prog. Biomed. 2016;137:203–213. doi: 10.1016/j.cmpb.2016.09.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Ye, L. & Keogh, E. Time series shapelets: a new primitive for data mining. In Proc. ACM SIGKDD International Conference on Knowledge Discovery and Data Mining 947–955 (2009).
- 64.Kumar S, et al. Center of excellence for mobile sensor data-to-knowledge (MD2K) J. Am. Med. Inform. Assoc. 2015;22:1137–1142. doi: 10.1093/jamia/ocv056. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Ertin, E. et al. AutoSense: unobtrusively wearable sensor suite for inferring the onset, causality, and consequences of stress in the field. In SenSys 2011—Proc. 9th Conference on Embedded Networked Sensor Systems 274–287 (2011).
- 66.Holtyn AF, et al. Towards detecting cocaine use using smartwatches in the NIDA clinical trials network: design, rationale, and methodology. Contemp. Clin. Trials Commun. 2019;15:100392. doi: 10.1016/j.conctc.2019.100392. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Hossain, S. M. et al. mCerebrum: a mobile sensing software platform for development and validation of digital biomarkers and interventions. In SenSys 2017—Proc. 15th ACM Conference on Embedded Networked Sensor Systems 1–14 (2017). [DOI] [PMC free article] [PubMed]
- 68.Mohan, K. & Fazel, M. Reweighted nuclear norm minimization with application to system identification. In Proc. 2010 American Control Conference 2953–2959 (2010).
- 69.Liu Z, Vandenberghe L. Interior-point method for nuclear norm approximation with application to system identification. SIAM J. Matrix Anal. Appl. 2009;31:1235–1256. [Google Scholar]
- 70.Shah, P., Bhaskar, B. N., Tang, G. & Recht, B. Linear system identification via atomic norm regularization. In Proc. 51th IEEE CDC 6265–6270 (2012).
- 71.Chandrasekaran V, Recht B, Parrilo PA, Willsky AS. The convex geometry of linear inverse problems. Found. Comput. Math. 2012;12:805–849. [Google Scholar]
- 72.Yilmaz B, Bekiroglu K, Lagoa C, Sznaier M. A randomized algorithm for parsimonious model identification. IEEE Trans. Autom. Contr. 2018;63:532–539. [Google Scholar]
- 73.Hojjatinia, S., Bekiroglu, K. & Lagoa, C. M. Parsimonious volterra system identification. In 2018 American Control Conference 1933–1938 (2018).
- 74.Grant, M. & Boyd, S. CVX: MATLAB software for disciplined convex programming, version 2.1. http://cvxr.com/cvx (2014).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.
Custom code used to generate models reported in this paper are available from https://github.com/Lagoa-s-lab/DOME.