Skip to main content

Momentary within-subject associations of affective states and physical behavior are moderated by weather conditions in real life: an ambulatory assessment study



Physical behavior (PB) is a key lifestyle factor in regulating and preventing diseases across the lifespan. Researchers identified affective, cognitive, and contextual factors like weather conditions, as significant contributors in determining if individuals are physically active. However, there is scarce empirical evidence about potential associations between PB and affective states influenced by weather conditions in daily life. Therefore, we explored if weather conditions moderated the within-subject association between momentary affective states and subsequent PB.


Utilizing ambulatory assessment, 79 participants completed electronic diaries about their affective states (i.e., valence, energetic arousal, and calmness) up to six times a day over five days, and their PB (i.e., physical activity and sedentariness) was simultaneously recorded via accelerometers. Weather conditions (i.e., temperature and precipitation) recorded near participants’ locations served as moderators in the multilevel analyses.


We confirmed earlier findings associating affective states with PB. Increased valence and energetic arousal were positively associated with physical activity (β = 0.007; p < .001), whereas calmness predicted lower levels of physical activity (β = -0.006; p < .001). Higher levels of calmness showed a positive association with sedentary behavior (β = 0.054; p = .003). In addition, we revealed a significant positive association between temperature, as a momentary weather condition, and physical activity (β = 0.025; p = .015). Furthermore, we showed that the association of affective states and physical activity was moderated by temperature. Higher temperatures enhanced the positive effects of valence on physical activity (β = .001, p = .023) and attenuated the negative effects of calmness on physical activity (β = .001, p = .021). Moreover, higher temperatures enhanced the positive effects of valence on reduced sedentary behavior (β = -0.011, p = .043).


Temperature alterations appeared to have an impact on subsequent physical activity. Furthermore, temperature alterations moderated the influence of affective states on conducted physical activity. This might offer the opportunity for just-in-time adaptive interventions to intervene in individually appropriate environmental conditions for promoting physical activity.


There is compelling evidence that physical activity (PA) has beneficial consequences for both somatic and mental health [1, 2]. However, according to the WHO, 28% of the adult population is not active enough, i.e., does not comply with the activity guidelines of at least 150–300 min of moderate-intensity aerobic PA per week [3, 4]. Based on the definition by Bussmann and van den Berg-Emons, the construct of physical behavior (PB) includes both PA and sedentary behavior (SB) [5]. PA is defined by skeletal muscle effort [6] leading to an increase in energy expenditure and is usually unplanned and unstructured in daily life, e.g., going for a walk or working in the garden. SB is characterized by an energy expenditure lower than 1.5 metabolic equivalents, e.g., while in a sitting or reclined position (excluding sleep) [7]. Being physically inactive, e.g., in terms of prolonged SB, is associated with diabetes, hypertension, obesity, and depression [8], and is related to an increased risk of mortality [9].

The relevance of PB and affective well-being [10] associations for research on behavioral processes underlying entrance to or maintenance of a physically active lifestyle becomes obvious in this field progressing towards a comprehensive approach. Socio-ecological frameworks postulate that individuals are embedded within larger social systems [11], indicating that behavioral, psychosocial, as well as environmental factors contribute to different responses in maintaining or being physically active [12], and can significantly impact physical behavior choices. In this context, affective well-being is defined as an elementary simple primitive affective feeling corresponding to a neurophysiological state that is continuously retrievable by the conscious mind [13]. A commonly used conceptualization is a three-factor structure categorizing core affect into valence, energetic arousal, and calmness [14].

In recent years, an increasing number of studies have examined the associations between daily physical behaviors and affective states, but the findings have been inconsistent in some cases [15]. For example, several observational studies have revealed that individual momentary affective states influence subsequent PB to the extent that higher ratings of the affective dimension valence led to a subsequent increase in daily activities [16,17,18]. However, some studies did not find an association between valence and subsequent increases in PA [19, 20]. It was further observed that an increase in valence was associated with a reduction in SB [21]. In contrast, one study found no alterations in subsequent SB [20]. Concerning energetic arousal, it was shown that higher levels led to increased PA [16,17,18, 20]. Consistent with these findings, studies found that energetic arousal predicted lower amounts of SB [20, 21]. Furthermore, a higher level of calmness led to a subsequent reduction in time spent physically active [16,17,18], whereas preceding higher levels of calmness predicted an increase in PA levels in one study [19]. An increase in calmness was associated with higher SB after the e-diary assessment [21]. Dunton speculated that the ambiguity might be caused by context-specific effects [22] and that future studies should consider those contextual factors more closely, suggesting that PB influences should be considered in multi-layered frameworks. The difficulty in promoting a physically active lifestyle lies in determining the drivers of SB, which could be used to develop effective behavior intervention strategies.

While PB has been known to assume a significant role in health behaviors, researchers have attempted to identify potential determinants e.g., other environmental factors that might influence physical behavior choices. In this context, environmental factors, such as weather conditions, are increasingly being addressed in a very topical way; for example, weather exposures that affect people's daily activities and indoor versus outdoor locations, such as increased temperature might be related to changes in PB. Future projections indicate an eight to 50-fold increase in the number of days that will be unsafe for moderate physical activity by 2070 [23]. Based on data from over 1.9 million people, Obradovich and Fowler (2017) have shown that both cold and acutely hot temperatures, as well as precipitation days, reduce PA [24]. Thus, weather conditions can impact everyday PB and in line with global climate change, there is a need to quantify how weather conditions influence decisions and the capacity to perform PB in daily life [25, 26].

Weather conditions might not only influence individuals' immediate decisions regarding PA but also might act as a potential moderator in the overall affective states and PB relationship. Several contextual factors such as natural, built, or social environments that may influence the time-dynamic, within-subject affect–behavior relationship have been investigated [27,28,29]. Self-perceived weather, such as too rainy, was shown to have a negative effect on affect, or perceived too cold weather reduced positive affect [30]. Individual affective responses to weather conditions were recently shown to be linked to mental well-being [25]. In general, contextual environmental factors have the potential to generate an additive effect on the association between affective states and PB. For example, even if people are in a positive mood and ready for a walk, as expected in previous research, the current rainy weather conditions may hinder them from going outside. Otherwise, people might be not energetic enough for being active, but the bright weather triggers them to go for a walk.

So far, theoretical and model-like explanations are based on affective and cognitive approaches [31,32,33]. In particular, dual-process models assume that behavior, in general, is regulated by two different mental processes: first by an implicit, automatic process that requires minimal cognitive resources (Type-1) and second by a slower and reflective, conscious process (Type-2) [32]. Regarding PB, automatically activated momentary affect is assumed to be sufficient to influence PA at a preconscious level [34, 35], independent of motivational attitudes [36]. In other words, such implicit Type-1 (affective) processes influence whether an active lifestyle/behavior is initiated or maintained [37]. To determine those Type-1 drivers of PA, investigating microtemporal within-subject processes is necessary [22].

Since affective states are dynamic in nature [38], it is essential to capture multiple affective states within a person over time [39]. Therefore, in our study, we used the method of ambulatory assessment (AA) [40], which is defined as the use of field methods to assess the ongoing behavior, physiology, experience, and environmental aspects of people in naturalistic or unconstrained settings [41]. The key advantages of AA are as follows: a) real-time assessments to overcome retrospective biases [42]; b) real-life assessments to increase ecological validity (reflect real-life conditions); c) repeated assessments reveal fluctuations in the processes of interest [43], thereby providing a within-subject perspective; d) the inclusion of time-varying covariates, such as contextual weather conditions, environment, and social context; and e) adding sophisticated interactive assessment such as activity or sedentary triggered e-diaries [44,45,46].

We are not aware of any study that integrated objective weather conditions combined with device-based assessment of PB and momentary affective states in real-time. Our study tries to illustrate how individual affective states and environmental factors (i.e., weather conditions) interact as determinants of PB. Therefore, we hypothesized that higher valence, higher energetic arousal, and lower calmness would lead to higher PA (hypothesis Ia) and less time spent in SB (hypothesis Ib). Second, we hypothesized that higher temperatures would increase PA and decrease SB (hypothesis IIa), whereas higher precipitation would decrease PA and increase SB (hypothesis IIb). Third, based on previous findings [30, 47,48,49,50], we investigated the additive effect of weather on the association between affective states and PB (exploratory interaction analyses III), namely whether contextual weather conditions (i.e., temperature and precipitation) have an interaction effect on the relationship between affective states and subsequent PB.



We recruited a convenience sample of university students and employees from September 2019 to March 2020 in Germany. Participants were included if they were able to perform daily activities without physical restrictions, had no currently present injuries, and reported no current mental disorders. In total, we recruited 111 participants. We excluded participants i) if their e-diary compliance was less than 30%, or due to technical issues (N = 4); ii) if they wore the accelerometers < / = 10 h and if the accelerometer was worn for fewer than three days (N = 12); iii) if their zip code did not match a particular weather station, that is, the residential distance had to be smaller than or equal to the distance of the weather station Rheinstetten, Germany to the furthest district of Karlsruhe (Grötzingen: 14.5 km) (N = 16); iv) if participants spent single days outside the weather station area (N = 33 days). The final sample consisted of 79 participants (60.8% females) between 17 and 49 years (22.7 ± 4.3 years) (for details, see Table 1). Written and oral information regarding the study procedures was presented to all eligible participants before written informed consent was obtained. All participants were free to withdraw from the study at any time. The ethics review board of the Karlsruhe Institute of Technology (KIT) approved this study.

Table 1 Participant and study characteristics (N = 79)

Study procedures

The assessment took place over five consecutive days from Wednesday to Sunday to cover weekdays and weekends. The participants received individualized training to become familiarized with the accelerometers (move 4) and the loaned smartphone (Nokia 6, Nokia Corporation, Espoo, Finland, Android phones) [51]. The participants wore the accelerometers at three different positions (i.e., wrist, hip, and thigh) for 24 h per day and answered e-diary questions between 8.00 am and 9.30 pm on weekdays and between 9.30 am and 10 pm on weekends.

Study design

We used a mixed sampling strategy, combining activity-triggered assessments, sedentary-triggered assessments, and randomly triggered assessments. Technically, the thigh sensor analyzed and transmitted data on body position and movement acceleration to the smartphone in real-time via Bluetooth Low Energy.

Combined with random prompts, we used a sedentary-trigger algorithm that prompted the participants when they had spent ≥ 30 consecutive minutes in a sitting/lying body position (for details, see [46]), as well as an activity-triggered algorithm that prompted the participants if they spent ≥ 10 consecutive minutes of ≥ 220 mg (for details, see [45]). To reduce participant burden, time-out phases of 50 min were programmed, i.e., after an e-diary trigger, the participants would not receive another trigger in the following 50 min. If the prompt appeared at an inconvenient time, the participants had the option to postpone it by 5, 10, or 15 min. The three trigger conditions (sedentary, active, and random) were prompted until two of each were answered a day. This resulted in a maximum of six answered e-diary entries per day. The mixed sampling strategies and the e-diary assessments were implemented via movisensXS, version 0.7.47574 (movisens GmbH, Karlsruhe, Baden-Wuerttemberg, Germany).

E-diary assessments

To assess momentary affect, we used the 6-item e-diary scale of Wilhelm and Schoebi, which is the first scale designed and evaluated solely for e-diary research [14]. It is constructed on a three-dimensional concept of affect, including valence, energetic arousal, and calmness. The six bipolar item scale is divided into these three respective affect dimensions: valence (item 5: unwell to well; item 2: discontent to content), energetic arousal (item 4: without energy to full energy; item 1: tired to awake) and calmness (item 6: tense to relaxed; item 3: agitated to calm). The bipolar items were displayed to the participants in a mixed order and with reversed polarity. The participants were able to express the varying degrees of their current affective state using a visual analog scale (0–100). The scale showed satisfying psychometric properties, both in the original publication [14] and in our dataset, with reliability coefficients on the within-person level ranging between 0.74 and 0.81 in our sample.

Physical behavior measures

The Move 4 accelerometer is a validated device for measuring PB [52, 53]. The sensor measures triaxial acceleration with a range of ± 16 g, a sampling frequency of 64 Hz, and a resolution of 12 bits. The raw data from the sensor were saved to its internal memory card and bandpass filtered (0.25 to 11 Hz) to eliminate artifacts. PA and SB were calculated from the accelerometer's raw files in 1-min epochs using the software DataAnalyzer (version 1.13.7; movisens GmbH). PA was operationalized as the aggregated triaxial mean movement acceleration intensity in the gravitational constant g (9.81 m/s2) in 10 min segments after each e-diary entry, according to published procedures [16, 18]. The outcome variable mg indicates the intensity of PB (e.g., jogging is about 1103 mg/min, walking is 367 mg/min and sitting 7 mg/min [53]). SB was parameterized as the number of aggregated sedentary minutes within the 30 min time frame after each e-diary entry [21].

Meteorological measures

Meteorological data were retrieved from a publicly available dataset from the Climate Data Center of the German Weather Service (Deutscher Wetterdienst; DWD) [54, 55]. Specifically, we obtained hourly values for temperature [°C] and precipitation [mm] from a weather station in Rheinstetten [56], which is located approximately seven kilometers from the Karlsruhe Institute of Technology (station id: 4177; longitude: 48.5847; latitude: 8.1952, height: 116 m). We aligned temperature values to 60 min intervals before each e-diary assessment.

Data analysis

PA and SB data were merged with the ratings of the e-diary entries (using the software DataMerger, version 1.8.0, movisens GmbH) and the hourly weather parameters. The outcome parameter movement acceleration was log-transformed using a natural logarithm since the distribution was right-skewed. The skew statistic was 4.07, and after applying log-transformation to the PA data, skewness was reduced to 0.22.

Multilevel models were conducted to examine momentary within-person effects of affective states on subsequent PB outcomes [57]. In the calculated models, repeated measurements (on level-1) within participants (on level-2) were nested. First, we estimated the intraclass correlation coefficient (ICC), whereby the logarithmized values of movement acceleration [mg] and SB [min] served as dependent variables to indicate the amount of variance on the within- vs. between-person level by calculating unconditional (null-) models. Second, we added the time-variant and time-invariant predictors time [hour], time-squared [hours2], age [years], sex [female vs. male], calmness [0–100], energetic arousal [0–100], valence [0–100] and BMI [m/kg2] to our main model (see equation for hypothesis Ia below).

Model 1 (hypothesis Ia):


On level 1, within-subject effects were estimated through participants' e-diary entries (subscript j) at each measurement time point (subscript i). Yij reflects the level of movement acceleration in person j at the time i. At level 1, beta coefficients represent the intercept (γ00) and the effects of time, time-squared, within-subject valence, energetic arousal, and calmness (γ10- γ50). At level 2, beta coefficients represent time-invariant covariates (γ01- γ03). rij represents the residuals at level 1. Additionally, a multilevel random-intercept model was conducted to test whether the type of trigger (i.e., random vs. PB-triggered) might influence our main findings from hypotheses (Ia-IIb). Third, we added the weather parameters temperature [°C] and precipitation [mm] to our main model as time-variant predictors. Fourth, we conducted exploratory interaction analyses for PA and SB combining all possible interactions between affective states and weather parameters (i.e., resulting in twelve different interactions) (see equation in Additional file 1). We centered the affective states and weather predictors on a personal level. Significant random effects were included in our models. We specified our models by using restricted maximum likelihood (REML) as the model estimator and unstructured as covariance structure. To compare each predictor's effects, we calculated standardized beta coefficients (stand. β) following established procedures [54]. To compare the model fit, we used the -2ΔLL likelihood ratio test. To calculate the proportion of explained total outcome variance, we used the predicted outcome's squared correlation (R2) by using the fixed effects and actual values. Following established simulation studies towards multilevel power analysis [58], our data are suited for the detection of small within-subject effects and medium to large between-subject effects. To draw practical conclusions concerning the impact of alterations in contextual dimensions on PA, the percentage change rates were calculated using the following equation (see [16]). A 1-point increase in temperature (C°) would lead to a percentage change in PA by

$$\delta =\left(\left({e}^{\beta \left(temperature\right)\times 1}\right)-1\right)\times 100$$

For all analyses, the α-level was set to 0.05. All data analyses were conducted with SPSS software (IBM), version We followed the strengthening the reporting of observational studies in epidemiology (STROBE) reporting guidelines (see Additional file 2) in reporting analyses and results.


Descriptive statistics

In total, 2537 e-diary prompts were sent. On average, the 79 participants received 32 (range = 14–47; SD = 6.61) prompts during the study week, of which the participants responded to an average of 20.8 prompts over the five days (see Table 1). This resulted in an overall compliance of 66% (SD = 16.65). The average score reported by the participants for valence was 70.37 (SD = 12.26), for energetic arousal was 57.44 (SD = 11.91), and for calmness was 67.51 (SD = 13.03) on a scale of 0–100. The intraclass correlation coefficient (ICC) showed that 90.58% of SB (30 min timeframe) and 91.79% of PA (10 min timeframe) were due to within-subject fluctuations within the sample. The accelerometers were worn for an average of 23.26 (SD = 1.53) hrs per day per participant. Furthermore, the mean PA across participants was 45.65 mg (range = 21.79–91.06; SD = 12.79), and the mean time spent in SB was 9.6 h (range = 4.19–14.99; SD = 2.14) per day. The daily mean temperature ranged from -1.82 to 18.83 °C, with an average of 7.84 °C (SD = 4.72). The daily sum of precipitation ranged from 0 to 1038 mm (mean 118.33; SD = 202.60; 1000 mm equals 1 l/m2). The 60 min timeframes of weather parameters prior to the e-diary prompts ranged from -3.42 to 25 °C (temperature) and from 0 to 3.93 mm (precipitation), respectively.

Association of affective states with physical behavior

Confirming hypothesis Ia, higher levels of valence and energetic arousal predicted higher levels of PA (stand. β = 0.134, p < 0.001; stand. β = 0.156, p < 0.000, respectively). That is, momentary ratings of valence and energetic arousal were positively associated with the subsequent movement acceleration within the 10 min after e-diary assessments. Translated to practice, on average, higher momentary ratings of valence (e.g., 80) compared to lower ratings (e.g., 20) were associated with subsequent higher levels of PA (12.23 mg). On average, higher ratings of energetic arousal (e.g., 80) compared to lower ratings (e.g., 20) were associated with subsequent higher amounts of PA of about 13.26 mg. As hypothesized, an increase in calmness negatively predicted movement acceleration (stand. β = -0.130, p < 0.001). This means, when participants felt more relaxed and calm (e.g., 80) compared to lower calmness ratings (e.g., 20), on average, their subsequent PA was 14.47 mg lower in the 10 min after each e-diary prompt. None of the other predictors (age, sex, BMI, time, time-squared) showed any significant influence on PB. We found no significant random effects for any predictors. A robust analysis showed that the main findings of our models (1-3b) were independent of the type of trigger (random vs. PB-triggered). In particular, adding the type of trigger as a covariate to the reported models did not change any significant values of our main findings. The results are presented in Table 2.

Table 2 Multilevel model analyses to predict physical behavior: fixed and random effects

The affective states valence and energetic arousal did not significantly predict sedentary time in the consecutive 30 min to the e-diary prompt (stand. β = -0.050, p = 0.226; stand. β = -0.038, p = 0.209, respectively); thus, hypothesis Ib regarding valence and energetic arousal was not verified. As it was assumed, higher levels of calmness significantly predicted more time spend sedentary in 30 min following the e-diary prompt (stand. β = 0.109, p = 0.003), thus verifying hypothesis Ib regarding calmness. In practice, a 1-point increase in calmness (scale: 0–100) led to an increase in SB of 0.05 min in the 30 min timeframe following the e-diary prompt.

Association of contextual weather conditions on physical behavior

In our second model, we tested whether contextual weather conditions predicted within-subject variations in PA intensity or time spent in SB. According to hypothesis IIa, we found a significant positive association between temperature and PA intensity. In detail, higher degrees of temperature positively influenced PA intensity (stand. β = 0.139, p = 0.005). There was no significant association between the amount of hourly precipitation on the subsequent PA intensity (stand. β = 0.003, p = 0.967) (hypothesis IIb). In addition, we found no significant within-subject associations between the predictors temperature (stand. β = -0.084, p = 0.156) and precipitation (stand. β = -0.014, p = 0.633) on time spent in SB (hypotheses IIa and IIb).

Exploratory interaction analyses

Three out of twelve exploratory multilevel models (3 affective states * 2 contextual weather conditions predicting 2 physical behaviors) revealed a significant interaction of affective states and contextual weather conditions on PB. In particular, temperature positively moderated the association between valence and PA (stand. β = 0.075, p = 0.036). This is depicted in Fig. 1, showing all three effects, namely, the two main effects as well as the interaction. First, the main effect of temperature on PA is depicted in the orange area. A 5 °C temperature above the personal average would increase subsequent activity behavior by approximately 12.5% (light blue triangle), whereas a 5 °C temperature below the personal average would predict lower PA (dark blue rhombus). Second, the main effect of valence on PA is shown by the dashed blue line. If valence is rated higher by five points, the subsequent activity behavior in the 10 min after the e-diary prompt was increased by approximately 3.5%. Third, the interaction effect, which is the effect of valence on PA moderated by temperature, is depicted by the three different slopes (light blue triangle, dashed blue square, dark blue rhombus). A 5 °C temperature above the personal average was linked to a steeper association between valence and PA (light blue triangle) compared to the average context (dashed blue line with squares), whereas in the 5 °C temperature below the personal average condition, the slope is much lower (dark blue rhombus line). In other words, the temperature enhances the effect of valence on PA.

Fig. 1
figure 1

Beta coefficients of the ML model demonstrating the main effect of valence, the main effect of temperature and the interaction of valence*temperature on physical activity. Y-axis: log-transformed mg values; X-axis person-centered valence

The second interaction model showed that temperature negatively moderated the association between valence and SB (stand. β = -0.066, p = 0.043), as demonstrated in Fig. 2. The main effect of temperature on SB is depicted in the orange area, showing that 5 °C above the personal average was associated with a decrease in subsequent SB, whereas 5 °C below the personal average showed the opposite effect. The main effect of valence on SB was negative and shown by the dashed blue line. Increasing valence was related to less SB (non-significant). The interaction, which was the effect of valence on SB moderated by temperature, is depicted by the three different slopes. A 5 °C temperature above the personal average is linked to a steeper negative association between valence on SB (light blue triangle), whereas in the 5 °C temperature below the personal average condition, the slope is positive (dark blue rhombus). In other words, the effect of positive valence reducing SB was enhanced at higher temperatures.

Fig. 2
figure 2

Beta coefficients of the ML model demonstrating the main effect of valence, the main effect of temperature and the interaction of valence*temperature on sedentary behavior. Y-axis: amount of time (min) spent in sedentary behavior; X-axis: person-centered valence

Furthermore, the third significant interaction model showed that the effect of calmness on PA was moderated by temperature (stand. β = 0.072, p = 0.019), which is depicted in Fig. 3. The main effect of temperature on PA is depicted in the orange area. A temperature 5 °C above the personal average increased subsequent PA by approximately 13% (light blue triangle), whereas a temperature 5 °C below the personal average predicted lower PA (dark blue rhombus). The negative association between calmness and PA is shown by the dashed blue line, with a 5-point increase in calmness resulting in 3% less PA. The interaction, which is the effect of calmness on PA moderated by temperature, is depicted by the three different slopes. A 5 °C temperature above the personal average was linked to a less pronounced association between calmness and PA (light blue triangle), whereas in the 5 °C temperature below the personal average condition, the slope is more negative (dark blue rhombus line). Oversimplified, the negative effect of calmness on PA dissolves with higher temperatures.

Fig. 3
figure 3

Beta coefficients of the ML model demonstrating the main effect of calmness, the main effect of temperature and the interaction of calmness*temperature on physical activity. Y-axis: log-transformed mg values; X-axis: person-centered calmness


To better understand how the interplay between affective states and contextual weather conditions drives our everyday life PB, we investigated momentary affective states (i.e., valence, energetic arousal, and calmness), contextual factors (i.e., precipitation and temperature), and PB in a sample of healthy adults. There was some evidence that the association between affective states and PA was moderated by temperature. In addition, we found associations between momentary contextual weather conditions and PA, and we confirmed earlier findings associating affective states with PB. Our exploratory interaction analyses have shown that contextual weather conditions slightly moderated the association between within-subject affective states and PB in three models. In detail, a higher temperature tentatively a) enhanced the positive effect of valence on PA, b) enhanced the effect of valence on reducing SB, and c) dissolves the negative effect of calmness on PA.

We confirmed that higher ratings of momentary energetic arousal and valence led to subsequent increases in PA intensity, whereas momentary calmness led to reductions in subsequent PA intensity (hypothesis Ia). These findings are in line with most previous studies that used similar methods [15]. In particular, several studies examined the short-term association with positive affect and the duration of accumulated subsequent PA levels (e.g., 10–30 min) provide evidence for positive affect predicting increased PA [59,60,61]. The same associations between affective states (i.e., valence, energetic arousal, calmness) and non-exercise activity were revealed by Reichert and colleagues [18], Kanning and Schoebi [17] in adults as well as by Koch and colleagues [16] in adolescents. These studies also applied short time frames for their analyses (i.e., 10–45 min). However, Kim and colleagues [20] used extended time intervals (PB up to 120 min after ratings of affect) and rarely found an association between affective states and PB, whereas Stavrakakis and colleagues [62] utilized 360 min revealing no associations in the affective dimension positive affect and another study found no associations of positive affect influencing subsequent PA after 1440 min [63]. Future studies might give greater consideration to the temporal resolution of associations between PB and affective states.

In contrast to our hypothesis Ib, momentary calmness but not valence and energetic arousal significantly predicted upcoming SB. In detail, higher momentary valence was not associated with subsequent device-measured SB, which was consistent with Kim and colleagues [20] in a sample of working adults but not consistent with several other studies showing that elevated valence was associated with decreased sedentariness [21, 64, 65]. We also revealed no association of energetic arousal with subsequent SB. This finding was supported by some other studies [65, 66], but contrary to Giurgiu and colleagues [21] and Kim and colleagues [20] that showed a relation between higher activation and reduced sedentary time. In line with our expectations, higher momentary calmness was associated with subsequently lower amounts of SB, thus confirming hypothesis Ib. Another study investigated the associations of calmness with SB and thus supported our findings [21].

The diverse findings might be due to a high degree of heterogeneity in the methodological assessments of PB and affect (e.g., accelerometer location, parameterization of SB, sample design, applied questionnaire, and item selection). We closely followed the methodological approach of previous studies [16, 18, 21] to enable comparability. Replication of methods and study designs is highly needed for establishing the reproducibility and generalizability of the findings and for future meta-analyses to integrate findings. Moreover, future research endeavors might be interested in researching a reciprocal nature between affective states and PB and their interactions with weather conditions, e.g., by applying dynamic structural equation modeling and through exploration of potentially more time-enduring (‘trait-like’) effects. Further analyses revealed that there was an association between temperature with PA, but not with SB (hypothesis IIa). In detail, temperature was independently positively associated with subsequent PA. This finding was supported by three studies that also objectively assessed temperature. In a sample of older adults, lower temperatures resulted in up to 10% less PA [67], and higher temperatures increased walking and cycling among adults [68, 69]. Studies with self-defined perceptions of weather conditions also support our findings [30, 63]. In contrast to our hypothesis, the amount of precipitation was not associated with PB (hypothesis IIb). Our results were in line with a study that examined daily precipitation and its influence on PA in over 200 adults and found no significant association [70]. Furthermore, in a sample of elderly individuals, Colom and colleagues [71] found no association between precipitation measured at the daily level and PA - either objectively measured via accelerometer or self-reported. However, in a study with COPD patients over 12 months, it was shown that the hours of rain per day were negatively associated with the number of steps taken [72].

In contrast to our hypothesis (IIb), we found no association between contextual weather conditions and SB, which is, at least partially, in contrast to the literature. In detail, Yildirim and colleagues [73] found a positive significant relationship between precipitation and SB in a sample of N = 722 children. Sartini and colleagues [74] found a positive relation between SB and temperature in 1361 elderly individuals. One study revealed that SB was reduced when weather conditions change from rainy to sunny days [75], whereas another found an association between SB and temperature only on weekends [76]. However, in all those studies, meteorological data were analyzed on a daily basis, rather than an hourly basis as in our study.

How can our null findings be explained, given that our methods might be superior (hourly meteorological data; multisensor system to detect sedentariness). One possible explanation might be restricted variance. Our sample consisted of working adults who may exhibit a maximum of SB due to their work life. This might be less extreme in other studies with children and adolescents [48] and elderly individuals [74]. In addition, precipitation was quite low in our sample. However, having a higher timely resolution might mitigate this issue, thereby increasing variance over time. Additionally, it is theoretically possible that momentary weather conditions may influence a person's activity behavior more than average weather conditions throughout the day. Another explanation for the positive findings of the other studies might be their approach to detect SB. Using a wrist sensor might conflate true SB with PA and bias standing and sitting phases [52], thereby revealing associations between both constructs.

To the best of our knowledge, this is the first study that investigated moderation effects based on device-based data, whereas previous studies investigating the subjective appraisal of self-perceived weather conditions [30] in relation to PB on a daily level [63] revealed inconclusive results, which prevents us from discussing our findings against the background of the literature. However, our results may provide potential implications for future real-life interventions if replicated and verified to be of causal nature. It should be noted that the effects we found were small and thus should be interpreted with caution for further recommended actions. One may be tempted to speculate that intervention strategies on affective valence to increase PA and to decrease sedentary time should be especially applied at times and in settings with an above-average air temperature. According to our results, influencing affective valence in this context (e.g., via emotion regulation strategies such as mindfulness training) might be especially promising to counteract physical inactivity. Moreover, we are tempted to speculate that interventions on feelings of stress and calmness aiming to alter PA seem to be more promising when air temperature is below average since our findings showed calmness to scarcely be associated with PA in contexts of high air temperature. As a next step beyond replication and causality testing, differences between persons in these complex interactions should be researched. In summary, tailoring mobile interventions based not only on psychological determinants of PB but also on contextual influences such as weather conditions and especially on the interaction of psychological determinants with contextual influences may offer promising avenues for just-in-time adaptive interventions (JITAI) [77] to reduce physical inactivity. For example, future research endeavors might be interested in developing a “physical activity prediction” application or trigger based on the current mood and the upcoming weather forecast. With regard to changes in climatic conditions, awareness has to be raised that environmental factors might influence the promotion of PA. So far, the influences of seasonal conditions and weather factors have received little attention in the promotion of PA [78]. In our study, we demonstrated that temperature alterations might have the potential to influence subsequent PA. If this were to be the case, for example, community sports settings and outdoor summer sports may be most affected by climatic changes [23, 26]. This could be a pertinent indication for the development of health policy strategies to counteract this progress, as weather phenomena may be a deterrent for people to engage in PA.

Some limitations must be considered. First, our sample was recruited from university staff, which may hinder generalization to the general population. Also, larger sample sizes might be superior in terms of generalizability and between-subject effects. Second, our observed associations between affective states, PB, and weather conditions included data from September to March during the European fall and winter seasons, thus, limiting a generalization to other geographic areas with different weather conditions and PB. Furthermore, the within-subject variability in precipitation was quite limited in our sample, which might have increased the difficulty of revealing meaningful associations. Future studies should consider potential seasonal effects, prolonged periods of time covering different seasons, and locations with higher precipitation. Third, we assessed contextual weather conditions objectively with a high temporal resolution. It is assumed that contextual weather conditions are linked to PA in an inverted u-shaped pattern, indicating that PA within individuals decreases under extreme weather conditions (e.g., ≥ 30 C°) [79,80,81,82]. Sound empirical evidence for those assumptions would require long-term monitoring across all seasons, and probably, the subjective perception of weather conditions. Assessing the individual subjective feeling of weather conditions (e.g., too cold, too hot) in addition to objective weather data from local stations might be a favorable add-on in future studies. Another limitation inherent in our study pertains to the exclusion of participants and single days in which participants did not reside within the proximity of the weather station. Future studies could address this issue by incorporating GPS data to track participants' location. Fourth, chronology only represents one aspect of causality [83]. Chronology suggests causality though does not prove it, as hidden third variables could have similar time-related characteristics. Additional studies are needed to support a causal hypothesis; one approach could be to employ ecological momentary interventions (EMI) to experimentally induce effects of PB in everyday life [84], potentially taking into account weather effects.


In this AA study, we investigated how within-subject affective states as well as weather conditions are associated with subsequent PB, using recurring real-time and real-life assessments of affective states combined with device-based measured PB in the everyday life of a community-based sample. We also explored the interaction of affective states, weather conditions, and PB. We found that both momentary valence and energetic arousal were positively related to subsequent PA whereas calmness led to reductions in PA within the subsequent timeframe. In particular, the more participants felt content, energetic, and less calm in everyday life, the more they were physically active. Momentary calmness significantly predicted upcoming SB – in practice, if participants felt calmer and more relaxed, they engaged in more sedentary time. We also found temperature positively related to subsequent PA. Participants tended to be more physically active when temperatures were higher within the German fall and winter season, characterized by rather mild temperatures (10 C°/4.2 C° [85]). Furthermore, our exploratory interaction analyses showed small effects of weather conditions moderating the association between within-subject affective states and PB. In detail, higher temperatures enhanced the positive effect of valence on PA and on reducing SB and also dissolves the negative effect of calmness on PA. Long-term studies including vulnerable groups and covering additional climate zones are needed to observe the associations between weather variables and PB. Future studies could identify at which environmental condition a decrease in PA occurs—for example, due to heat waves or air pollution [86]. Moreover, JITAIs could be assessed to encourage PA as they offer the possibility to incorporate momentary affect or contextual factors, such as weather conditions, in real-time and allow triggering individuals within their preferred conditions to promote PA. Such personalized real-time prompts should theoretically be superior and require an understanding of the influence of affect dimensions and weather conditions on an individual’s behavior. JITAIs can incorporate opportunities for PA that have obscured the effectiveness of interventions in promoting PA. This may contribute to people adopting a physically active lifestyle, which can contribute to overall improved health outcomes.

Availability of data and materials

The datasets during and/or analyzed during the current study available from the corresponding author on reasonable request.



Ambulatory assessment


Body mass index


Just-in-time adaptive intervention


Movement acceleration


Physical activity


Physical behavior


Sedentary behavior


  1. Warburton DER, Nicol CW, Bredin SSD. Health benefits of physical activity: the evidence. CMAJ. 2006;174:801–9.

    Article  PubMed  PubMed Central  Google Scholar 

  2. Dinas PC, Koutedakis Y, Flouris AD. Effects of exercise and physical activity on depression. Ir J Med Sci. 2011;180:319–25.

    Article  CAS  PubMed  Google Scholar 

  3. World Health Organization. WHO guidelines on physical activity and sedentary behaviour. Geneva: World Health Organization; 2020.

    Google Scholar 

  4. Guthold R, Stevens GA, Riley LM, Bull FC. Worldwide trends in insufficient physical activity from 2001 to 2016: a pooled analysis of 358 population-based surveys with 1·9 million participants. Lancet Glob Health. 2018;6:e1077–86.

    Article  PubMed  Google Scholar 

  5. Bussmann JBJ, van den Berg-Emons RJG. To total amount of activity… and beyond: perspectives on measuring physical behavior. Front Psychol. 2013;4:463.

    Article  PubMed  PubMed Central  Google Scholar 

  6. Caspersen CJ, Powell KE, Christenson GM. Physical activity, exercise, and physical fitness: definitions and distinctions for health-related research. Public Health Rep. 1985;100:126–31.

    CAS  PubMed  PubMed Central  Google Scholar 

  7. Tremblay MS, Aubert S, Barnes JD, Saunders TJ, Carson V, Latimer-Cheung AE, et al. Sedentary Behavior Research Network (SBRN) - terminology consensus project process and outcome. Int J Behav Nutr Phys Act. 2017;14:75.

    Article  PubMed  PubMed Central  Google Scholar 

  8. Ding D, Lawson KD, Kolbe-Alexander TL, Finkelstein EA, Katzmarzyk PT, van Mechelen W, Pratt M. The economic burden of physical inactivity: a global analysis of major non-communicable diseases. The Lancet. 2016;388(10051):1311–24.

    Article  Google Scholar 

  9. Pratt M, Ramirez Varela A, Salvo D, Kohl Iii HW, Ding D. Attacking the pandemic of physical inactivity: what is holding us back? Br J Sports Med. 2020;54(13):760–2.

    Article  PubMed  Google Scholar 

  10. Russell JA. A circumplex model of affect. J Pers Soc Psychol. 1980;39:1161–78.

    Article  Google Scholar 

  11. Stokols D. Establishing and maintaining healthy environments: toward a social ecology of health promotion. Am Psychol. 1992;47:6–22.

    Article  CAS  PubMed  Google Scholar 

  12. Golden SD, Earp JAL. Social ecological approaches to individuals and their contexts: twenty years of health education & behavior health promotion interventions. Health Educ Behav. 2012;39:364–72.

    Article  PubMed  Google Scholar 

  13. Russell JA. Cross-Cultural Similarities and Differences in Affective Processing and Expression. In: Jeon M, editor. Emotions and affect in human factors and human-computer interaction. London: Elsevier Academic Press; 2017. p. 123–141

  14. Wilhelm P, Schoebi D. Assessing mood in daily life. Eur J Psychol Assess. 2007;23:258–67.

    Article  Google Scholar 

  15. Liao Y, Shonkoff ET, Dunton GF. The acute relationships between affect, physical feeling states, and physical activity in daily life: a review of current evidence. Front Psychol. 2015.

    Article  PubMed  PubMed Central  Google Scholar 

  16. Koch ED, Tost H, Braun U, Gan G, Giurgiu M, Reinhard I, et al. Mood dimensions show distinct within-subject associations with non-exercise activity in adolescents: an ambulatory assessment study. Front Psychol. 2018;9:268.

    Article  PubMed  PubMed Central  Google Scholar 

  17. Kanning M, Schoebi D. Momentary affective states are associated with momentary volume, prospective trends, and fluctuation of daily physical activity. Front Psychol. 2016.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Reichert M, Tost H, Reinhard I, Zipf A, Salize H-J, Meyer-Lindenberg A, Ebner-Priemer UW. Within-subject associations between mood dimensions and non-exercise activity: an ambulatory assessment approach using repeated real-time and objective data. Front Psychol. 2016;7:918.

    Article  PubMed  PubMed Central  Google Scholar 

  19. Jeckel S, Sudeck G. Sport activities in daily routine: Situational associations between individual goals, activity characteristics, and affective well-being. Ger J Exerc Sport Res. 2018;48:26–39.

    Article  Google Scholar 

  20. Kim J, Conroy DE, Smyth JM. Bidirectional associations of momentary affect with physical activity and sedentary behaviors in working adults. Ann Behav Med. 2020;54:268–79.

    Article  PubMed  Google Scholar 

  21. Giurgiu M, Plotnikoff RC, Nigg CR, Koch ED, Ebner-Priemer UW, Reichert M. Momentary mood predicts upcoming real-life sedentary behavior. Scand J Med Sci Sports. 2020;30:1276–86.

    Article  PubMed  Google Scholar 

  22. Dunton GF. Ecological momentary assessment in physical activity research. Exerc Sport Sci Rev. 2017;45:48–54.

    Article  PubMed  PubMed Central  Google Scholar 

  23. Ebi KL, Capon A, Berry P, Broderick C, de Dear R, Havenith G, et al. Hot weather and heat extremes: health risks. The Lancet. 2021;398(10301):698–708.

    Article  Google Scholar 

  24. Obradovich N, Fowler JH. Climate change may alter human physical activity patterns. Nat Hum Behav. 2017.

    Article  Google Scholar 

  25. Cianconi P, Betrò S, Janiri L. The impact of climate change on mental health: a systematic descriptive review. Front Psychiatry. 2020;11:74.

    Article  PubMed  PubMed Central  Google Scholar 

  26. Stamatakis E, Nnoaham K, Foster C, Scarborough P. The influence of global heating on discretionary physical activity: an important and overlooked consequence of climate change. J Phys Act Health. 2013;10:765–8.

    Article  PubMed  Google Scholar 

  27. Kracht CL, Beyl RA, Maher JP, Katzmarzyk PT, Staiano AE. Adolescents’ sedentary time, affect, and contextual factors: an ecological momentary assessment study. Int J Behav Nutr Phys Act. 2021;18(1):53.

    Article  PubMed  PubMed Central  Google Scholar 

  28. Boyle HK, Dunsiger SI, Bohlen LC, Emerson JA, Lee HH, Stevens CJ, Williams DM. Affective response as a mediator of the association between the physical and social environment and physical activity behavior. J Behav Med. 2020;43:773–82.

    Article  PubMed  Google Scholar 

  29. Yang C-H, Maher JP, Ponnada A, Dzubur E, Nordgren R, Intille S, et al. An empirical example of analysis using a two-stage modeling approach: within-subject association of outdoor context and physical activity predicts future daily physical activity levels. Transl Behav Med. 2020.

    Article  PubMed  PubMed Central  Google Scholar 

  30. Bejarano CM, Cushing CC, Crick CJ. Does context predict psychological states and activity? An ecological momentary assessment pilot study of adolescents. Psychol Sport Exerc. 2019;41:146–52.

    Article  Google Scholar 

  31. Williams DM. Exercise, affect, and adherence: an integrated model and a case for self-paced exercise. J Sport Exerc Psychol. 2008;30(5):471–96.

    Article  PubMed  PubMed Central  Google Scholar 

  32. Evans JSBT, Stanovich KE. Dual-process theories of higher cognition: advancing the debate. Perspect Psychol Sci. 2013;8:223–41.

    Article  PubMed  Google Scholar 

  33. Ekkekakis P. Pleasure and displeasure from the body: perspectives from exercise. Cogn Emot. 2003;17:213–39.

    Article  PubMed  Google Scholar 

  34. Phipps DJ, Hannan TE, Rhodes RE, Hamilton K. A dual-process model of affective and instrumental attitudes in predicting physical activity. Psychol Sport Exercise. 2021;54:101899.

    Article  Google Scholar 

  35. Brand R, Ekkekakis P. Affective-reflective theory of physical inactivity and exercise. Ger J Exerc Sport Res. 2018;48:48–58.

    Article  Google Scholar 

  36. Chevance G, Bernard P, Chamberland PE, Rebar A. The association between implicit attitudes toward physical activity and physical activity behaviour: a systematic review and correlational meta-analysis. Health Psychol Rev. 2019;13:248–76.

    Article  PubMed  Google Scholar 

  37. Brand R, Schweizer G. Going to the gym or to the movies?: situated decisions as a functional link connecting automatic and reflective evaluations of exercise with exercising behavior. J Sport Exerc Psychol. 2015;37(1):63–73.

    Article  PubMed  Google Scholar 

  38. Kuppens P, Oravecz Z, Tuerlinckx F. Feelings change: accounting for individual differences in the temporal dynamics of affect. J Pers Soc Psychol. 2010;99:1042–60.

    Article  PubMed  Google Scholar 

  39. Ebner-Priemer UW, Trull TJ. Ambulatory assessment. Eur Psychol. 2009;14(2):109–19.

    Article  Google Scholar 

  40. Stone AA, Shiffman S. Ecological Momentary Assessment (Ema) in behavioral medicine. Ann Behav Med. 1994;16:199–202.

    Article  Google Scholar 

  41. SAA – Society for Ambulatory Assessment. 15.06.2023. Accessed 15 Jun 2023.

  42. Schwarz N. Why researchers should think “real-time”: A cognitive rationale. In: Mehl MR, Conner TS, editors. Handbook of research methods for studying daily life. New York, NY: Guilford; 2014. p. 22–43.

    Google Scholar 

  43. Shiffman S, Stone AA, Hufford MR. Ecological momentary assessment. Annu Rev Clin Psychol. 2008;4:1–32.

    Article  PubMed  Google Scholar 

  44. Reichert M, Giurgiu M, Koch ED, Wieland LM, Lautenbach S, Neubauer AB, et al. Ambulatory assessment for physical activity research: state of the science, best practices and future directions. Psychol Sport Exerc. 2020.

    Article  PubMed  PubMed Central  Google Scholar 

  45. Ebner-Priemer UW, Koudela S, Mutz G, Kanning M. Interactive multimodal ambulatory monitoring to investigate the association between physical activity and affect. Front Psychol. 2013;3:596.

    Article  PubMed  PubMed Central  Google Scholar 

  46. Giurgiu M, Niermann C, Ebner-Priemer UW, Kanning M. Accuracy of sedentary behavior-triggered ecological momentary assessment for collecting contextual information: development and feasibility study. JMIR Mhealth Uhealth. 2020;8:e17852.

    Article  PubMed  PubMed Central  Google Scholar 

  47. Denissen JJA, Butalid L, Penke L, van Aken MAG. The effects of weather on daily mood: a multilevel approach. Emotion. 2008;8:662–7.

    Article  PubMed  Google Scholar 

  48. Zheng C, Feng J, Huang W, Wong SH-S. Associations between weather conditions and physical activity and sedentary time in children and adolescents: a systematic review and meta-analysis. Health Place. 2021;69:102546.

    Article  PubMed  Google Scholar 

  49. Turrisi TB, Bittel KM, West AB, Hojjatinia S, Hojjatinia S, Mama SK, et al. Seasons, weather, and device-measured movement behaviors: a scoping review from 2006 to 2020. Int J Behav Nutr Phys Act. 2021;18:24.

    Article  PubMed  PubMed Central  Google Scholar 

  50. Aibar A, Bois JE, Generelo E, Bengoechea EG, Paillard T, Zaragoza J. Effect of weather, school transport, and perceived neighborhood characteristics on moderate to vigorous physical activity levels of adolescents from two European Cities. Environ Behav. 2015;47:395–417.

    Article  Google Scholar 

  51. Movisens GmbH. Accessed 12 Aug 2022.

  52. Giurgiu M, Bussmann JB, Hill H, Anedda B, Kronenwett M, Koch ED, et al. Validating accelerometers for the assessment of body position and sedentary behavior. J Measurement Phys Behav. 2020;3:253–63.

    Article  Google Scholar 

  53. Anastasopoulou P, Tubic M, Schmidt S, Neumann R, Woll A, Härtel S. Validation and comparison of two methods to assess human energy expenditure during free-living activities. PLoS One. 2014;9:e90606.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  54. Spengler R. The new Quality Control- and Monitoring System of the Deutscher Wetterdienst. In: World Meteorological Organization, editor. WMO Technical Conference on Meteorological and Environmental Instruments and Methods of Observation; 23–25 September; Bratislava; 2002.

  55. Kaspar F, Müller-Westermeier G, Penda E, Mächel H, Zimmermann K, Kaiser-Weiss A, Deutschländer T. Monitoring of climate change in Germany – data, products and services of Germany’s National climate data centre. Adv Sci Res. 2013;10(1):99–106.

    Article  Google Scholar 

  56. Institute of Meteorology and Climate Research. Weather station Rheinstetten. Accessed 05 Sept 2022.

  57. Hoffman L. Longitudinal analysis: Modeling within-person fluctuation and change. New York: Routledge; 2015.

    Book  Google Scholar 

  58. Arend MG, Schäfer T. Statistical power in two-level models: a tutorial based on Monte Carlo simulation. Psychol Methods. 2019;24:1–19.

    Article  PubMed  Google Scholar 

  59. Smith KE, Haedt-Matt A, Mason TB, Wang S, Yang C-H, Unick JL, et al. Associations between naturalistically assessed physical activity patterns, affect, and eating in youth with overweight and obesity. J Behav Med. 2020.

    Article  PubMed  PubMed Central  Google Scholar 

  60. Schwerdtfeger A, Eberhardt R, Chmitorz A, Schaller E. Momentary affect predicts bodily movement in daily life: an ambulatory monitoring study. J Sport Exerc Psychol. 2010;32(5):674–93.

    Article  PubMed  Google Scholar 

  61. Hevel DJ, Dunton GF, Maher JP. Acute bidirectional relations between affect, physical feeling states, and activity-related behaviors among older adults: an ecological momentary assessment study. Ann Behav Med. 2020.

    Article  Google Scholar 

  62. Stavrakakis N, Booij SH, Roest AM, de Jonge P, Oldehinkel AJ, Bos EH. Temporal dynamics of physical activity and affect in depressed and nondepressed individuals. Health Psychol. 2015;34S:1268–77.

    Article  PubMed  Google Scholar 

  63. Zenk SN, Horoi I, Jones KK, Finnegan L, Corte C, Riley B, Wilbur J. Environmental and personal correlates of physical activity and sedentary behavior in African American women: an ecological momentary assessment study. Women Health. 2017;57:446–62.

    Article  PubMed  Google Scholar 

  64. Elavsky S, Kishida M, Mogle JA. Concurrent and lagged relations between momentary affect and sedentary behavior in middle-aged women. Menopause. 2016;23(8):919–23.

    Article  PubMed  PubMed Central  Google Scholar 

  65. Cushing CC, Mitchell TB, Bejarano CM, Walters RW, Crick CJ, Noser AE. Bidirectional associations between psychological states and physical activity in adolescents: a mhealth pilot study. J Pediatr Psychol. 2017;42:559–68.

    Article  PubMed  Google Scholar 

  66. Maher JP, Dzubur E, Nordgren R, Huh J, Chou C-P, Hedeker D, Dunton GF. Do fluctuations in positive affective and physical feeling states predict physical activity and sedentary time? Psychol Sport Exerc. 2019;41:153–61.

    Article  PubMed  Google Scholar 

  67. Wu Y-T, Luben R, Wareham N, Griffin S, Jones AP. Weather, day length and physical activity in older adults: Cross-sectional results from the European Prospective Investigation into Cancer and Nutrition (EPIC) norfolk cohort. PLoS One. 2017;12:e0177767.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  68. Gao J, Kamphuis CBM, Dijst M, Helbich M. The role of the natural and built environment in cycling duration in the Netherlands. Int J Behav Nutr Phys Act. 2018;15:82.

    Article  PubMed  PubMed Central  Google Scholar 

  69. Prins RG, van Lenthe FJ. The hour-to-hour influence of weather conditions on walking and cycling among Dutch older adults. Age Ageing. 2015;44:886–90.

    Article  PubMed  Google Scholar 

  70. Hall PA, Epp L. Does domain-specific time perspective predict accelerometer assessed physical activity? An examination of ecological moderators. Psychol Sport Exerc. 2013;14:50–6.

    Article  Google Scholar 

  71. Colom A, Ruiz M, Wärnberg J, Compa M, Muncunill J, Barón-López FJ, et al. Mediterranean built environment and precipitation as modulator factors on physical activity in obese mid-age and old-age adults with metabolic syndrome: cross-sectional study. Int J Environ Res Public Health. 2019.

    Article  PubMed  PubMed Central  Google Scholar 

  72. Boutou AK, Raste Y, Demeyer H, Troosters T, Polkey MI, Vogiatzis I, et al. Progression of physical inactivity in COPD patients: the effect of time and climate conditions - a multicenter prospective cohort study. Int J Chron Obstruct Pulmon Dis. 2019;14:1979–92.

    Article  PubMed  PubMed Central  Google Scholar 

  73. Yildirim M, Schoeni A, Singh AS, Altenburg TM, Brug J, de Bourdeaudhuij I, et al. Daily variations in weather and the relationship with physical activity and sedentary time in European 10- to 12-year-olds: the ENERGY-Project. J Phys Act Health. 2014;11:419–25.

    Article  PubMed  Google Scholar 

  74. Sartini C, Morris RW, Whincup PH, Wannamethee SG, Ash S, Lennon L, Jefferis BJ. Association of maximum temperature with sedentary time in older British men. J Phys Act Health. 2017;14:265–9.

    Article  PubMed  Google Scholar 

  75. Wen X, Ma Y, Yuan B, Wang F. Association among weather conditions, ambient air temperature, and sedentary time in Chinese adults. Biomed Res Int. 2019;2019:4010898.

    Article  PubMed  PubMed Central  Google Scholar 

  76. Zheng C, Huang WY, Wong SH-S. Associations of weather conditions with adolescents’ daily physical activity, sedentary time, and sleep duration. Appl Physiol Nutr Metab. 2019;44:1339–44.

    Article  PubMed  Google Scholar 

  77. Nahum-Shani I, Hekler EB, Spruijt-Metz D. Building health behavior models to guide the development of just-in-time adaptive interventions: a pragmatic framework. Health Psychol. 2015;34S:1209–19.

    Article  PubMed  Google Scholar 

  78. Tucker P, Gilliland J. The effect of season and weather on physical activity: a systematic review. Public Health. 2007;121:909–22.

    Article  CAS  PubMed  Google Scholar 

  79. Lewis LK, Maher C, Belanger K, Tremblay M, Chaput J-P, Olds T. At the mercy of the gods: associations between weather, physical activity, and sedentary time in children. Pediatr Exerc Sci. 2016;28:152–63.

    Article  PubMed  Google Scholar 

  80. Feinglass J, Lee J, Semanik P, Song J, Dunlop D, Chang R. The effects of daily weather on accelerometer-measured physical activity among adults with arthritis. J Phys Act Health. 2011;8:934–43.

    Article  PubMed  PubMed Central  Google Scholar 

  81. Brandon CA, Gill DP, Speechley M, Gilliland J, Jones GR. Physical activity levels of older community-dwelling adults are influenced by summer weather variables. Appl Physiol Nutr Metab. 2009;34:182–90.

    Article  PubMed  Google Scholar 

  82. Ho JY, Goggins WB, Mo PKH, Chan EYY. The effect of temperature on physical activity: an aggregated timeseries analysis of smartphone users in five major Chinese cities. Int J Behav Nutr Phys Act. 2022;19:68.

    Article  PubMed  PubMed Central  Google Scholar 

  83. Susser M. What is a cause and how do we know one? A grammar for pragmatic epidemiology. Am J Epidemiol. 1991;133:635–48.

    Article  CAS  PubMed  Google Scholar 

  84. Myin-Germeys I, Klippel A, Steinhart H, Reininghaus U. Ecological momentary interventions in psychiatry. Curr Opin Psychiatry. 2016;29:258–63.

    Article  PubMed  Google Scholar 

  85. Climate Data Center (CDC). Deutscher Wetterdienst (DWD). Monthly mean of station observations of air temperature at 2 m above ground in °C for Germany. Accessed 17 July 2023.

  86. Bernard P, Chevance G, Kingsbury C, Baillot A, Romain AJ, Molinier V, et al. Climate change, physical activity and sport: a systematic review. Sports Med. 2021;51(5):1041–59.

Download references


We thank Manuel Leitner for research support.


Open Access funding enabled and organized by Projekt DEAL. No funding was received.

Author information

Authors and Affiliations



MG and UWE-P contributed to the conception and design of the study. Material preparation, data collection and analysis were performed by IT and MG. The first draft of the manuscript was written by IT and UWE-P. All authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Irina Timm.

Ethics declarations

Ethics approval and consent to participate

The Ethics Committee of the Karlsruhe Institute of Technology (KIT) approved this study (date of approval April 2, 2019). The study fell under a broader application titled: Validation of cognitive tests on smartphones.

Consent for publication

Not applicable.

Competing interests

UWE-P reports consultancy for Boehringer-Ingelheim. The authors declare that they have no competing interests.

Additional information

Publisher’s Note

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

Supplementary Information

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Timm, I., Reichert, M., Ebner-Priemer, U.W. et al. Momentary within-subject associations of affective states and physical behavior are moderated by weather conditions in real life: an ambulatory assessment study. Int J Behav Nutr Phys Act 20, 117 (2023).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: