borderline significantp -value = .0450
Comparing AIC values between the linear model (AIC = 3147) and the generalized additive model (AIC = 3072) confirmed that the additive model provided a better fit to the data, with p -value < .0001 for person-level ambient temperature, and a borderline significant effect of age ( p -value = .0450 with an effect size of 2.1% increase in sedentary time for every 10 years of age).