Manuscript Offprint
arXiv:2610.36019Causal DAG-Guided Reinforcement Learning for Long-Term Physical Activity Maintenance: Using Prior Data to Inform Future Deployment
Abstract
Digital health interventions can provide scalable, personalized support for physical activity (PA), yet sustaining PA over the long-term remains difficult. Because affective experiences with PA are important for activity sustainment, we developed an online reinforcement learning (RL) system for the forthcoming ADAPT factorial trial that personalizes twice-daily activity suggestions aimed at improving affective associations with PA. This setting poses several challenges: participant-specific data are scarce relative to the candidate state space, important states and rewards are partially observed, interventions are frequent while the primary outcome is measured weekly, and activity suggestions can both improve PA-related experiences and increase intervention burden. We address these challenges using an expert-specified causal directed acyclic graph as an integrated RL design tool, guiding state construction, estimation of partially observed states, delayed credit assignment, and representation of beneficial and adverse intervention pathways. We further construct a longitudinal simulator calibrated from a prior micro-randomized trial to compare candidate RL designs under realistic state evolution, missingness, and participant heterogeneity before deployment. Together, this work illustrates how causal domain knowledge and prior trial data can make long-horizon, participant-specific RL more practical for digital health interventions targeting sustained behavior change.
Code —
https://github.com/xueqingliuu/ADAPT_Experiment
1 Introduction
Digital health interventions (DHIs) offer a scalable way to deliver personalized support for physical activity (PA) (Bi et al. 2024; Klasnja et al. 2019). However, maintaining long-term PA behavior remains difficult: interventions may increase activity in the short term without necessarily supporting long-term maintenance (Amagai et al. 2022). One potential determinant of maintenance is how individuals feel about physical activity. Affective associations with PA—automatic affective reactions to the thought of being active and cognitive attitudes about liking or disliking activity—can shape future behavioral choices (Brand and Ekkekakis 2018; Stevens et al. 2020), and more positive affective associations have been associated with greater subsequent PA participation (Williams et al. 2008; Rhodes and Kates 2015). These findings motivate intervention strategies that target not only the amount of PA performed, but also the affective experience associated with being active (Simonton 2021; Choi et al. 2025).
The forthcoming 9-month ADAPT factorial trial, scheduled to begin in fall 2026, aims to improve participants' affective associations with PA through a multicomponent DHI. Among participants randomized to the ADAPT-on conditions , an online reinforcement learning (RL) algorithm (Sutton, Barto, and Barto 1998) will personalize the delivery of activity suggestions at two decision times per day. The RL algorithm uses data from wristband activity tracker, the HeartSteps physical activity mHealth app, and self-reported surveys for learning and decision-making. The primary outcome optimized by the RL algorithm is the core affective experience (CAE) subscale of the Affective Experiences (AF-FEXX) scale (Ekkekakis, Zenko, and Vazou 2021), a weekly measure of how participants feel about being physically active. Thus, the algorithm must learn when to deliver activity suggestions at frequent decision times in order to improve an outcome that is observed and evolves on a much slower, weekly timescale.
Designing and deploying a participant-specific online RL algorithm in this setting raises several interconnected challenges. First, participant-specific data are scarce relative to the potentially large state space. Each participant provides only a limited number of interactions with the RL algorithm, while wristband activity tracker, app, and survey data provide many candidate state variables. Learning a high-dimensional decision rule from scratch can therefore lead to high estimation variance and poor performance early in deployment (Liao et al. 2020; Gazi et al. 2026). Second, important state information may be partially observed. Sensor measurements can be delayed or unavailable, and participants may not complete all surveys, resulting in missing or delayed state variables and outcomes (Seewald et al. 2019). Third, more intervention is not necessarily better. Although activity suggestions may improve affective associations with PA, frequent or poorly timed suggestions may increase intervention burden or reduce perceived utility, producing adverse effects that may only become apparent later (Nahum-Shani et al.
The ADAPT study includes multiple intervention components. RL is used only for the activity suggestions component.
2016). An effective policy must therefore account for both the potential benefit of an activity suggestion and its possible downstream costs. Finally, the reward is sparse and delayed. Activity suggestions can be delivered twice daily from Monday through Saturday, resulting in 12 decision times associated with only one weekly CAE reward. This creates a difficult credit-assignment problem: the RL algorithm must learn which earlier actions contributed to the eventual weekly outcome (Arjona-Medina et al. 2019).
We use an expert-specified causal directed acyclic graph (DAG) to incorporate domain knowledge into the RL system and address these challenges in a principled manner. The DAG guides four linked design choices. First, it informs state construction by identifying which aspects of the observed history are relevant for future states and outcomes, allowing us to build lower-dimensional state summaries rather than include every available sensor, app, and survey variable (Gao et al. 2025; Xu, Maasch, and Gan 2026). Second, it specifies how latent weekly CAE and perceived utility relate to observed survey, sensor, and engagement measures, motivating the models used to estimate these states when direct measurements are missing or incomplete. Third, the DAG represents both a beneficial pathway to CAE-assessed affective associations through anticipated affect and a potentially adverse pathway through perceived utility. This allows the RL design to account for both the intended effects of activity suggestions and their possible delayed effects on future engagement and outcomes. Finally, the DAG helps address sparse and delayed rewards by identifying intermediate variables along the pathways from activity suggestions to future CAE, which provide structured information for delayed credit assignment and reward redistribution across within-week decisions (Arjona-Medina et al. 2019; Zou et al. 2025).
Our main contributions are summarized as follows:
-
We develop a participant-specific online RL framework that uses an expert-specified causal DAG to guide state construction, latent-state estimation, representation of benefit and burden pathways, and delayed credit assignment in a sparse-data digital health setting.
-
We construct an ADAPT simulation testbed calibrated using data from a prior micro-randomized trial (MRT). It reproduces the key decision schedule, longitudinal feedback pathways, and observation processes of the forthcoming ADAPT trial, enabling evaluation of candidate RL variants before deployment.
Online RL in digital health. Online RL has increasingly been deployed to personalize DHIs, including interventions for physical activity (Yom-Tov et al. 2017; Zhou et al. 2018; Liao et al. 2020; Aguilera et al. 2024), medication adherence (Lauffenburger et al. 2024), chronic pain (Piette et al. 2022), cannabis use (Ghosh et al. 2024), oral health (Trella et al. 2025), and dietary behavior (Gonzalez et al. 2026). Most deployed systems use contextual bandits targeting relatively proximal outcomes, although some account for longer-term effects through engineered state features, reward adjustments, or nonstationary dynamics (Liao et al. 2020; Mintz et al. 2020; Baek et al. 2025). More closely related, Pulick et al. (2026) explicitly model a dynamic engagement state and plan over its future consequences.
ADAPT combines several additional long-horizon challenges: multiple within-week decisions share a weekly outcome, key weekly states are partially observed, and effects may propagate across weeks through distinct affective-associations and perceived-utility pathways.
Causal RL. Causal structure has been used to improve sequential decision-making by reducing exploration complexity (Lattimore, Lattimore, and Reid 2016; Lu et al. 2020; Lu, Meisami, and Tewari 2022), restricting policy search (Zhang 2020), constructing state representations (Huang et al. 2022; Xu, Maasch, and Gan 2026), and estimating long-term treatment effects from short-term data (Tran, Bibaut, and Kallus 2024). Closest to our setting, Gao et al. (2025) use an expert-specified DAG to construct Markovian states for multiple decisions sharing a delayed reward, while Gao et al. (2026) use causal structure and belief-state modeling for partially observed states. Causal approaches have also addressed delayed credit assignment through latent reward redistribution (Zhang et al. 2023) and counterfactual Shapley attribution (Li, Bareinboim et al. 2026).
Our work uses a single expert-specified DAG to jointly guide state construction, partially observed-state estimation, representation of beneficial and adverse pathways, and mediator-based credit assignment in a participant-specific online RL system.
Pre-deployment evaluation. Simulation testbeds informed by historical data are commonly used to evaluate digital health RL algorithms before deployment(Liao et al. 2020; Trella et al. 2022; Mintz et al. 2020; Ghosh et al. 2024). Related model-based approaches estimate participant dynamics from behavioral-intervention data and use the resulting models for closed-loop simulation and robustness analysis (El Mistiri et al. 2023, 2025). More recently, Pulick et al. (2026) used an MRT-calibrated hierarchical dynamical model to generate synthetic patients for evaluating long-horizon RL algorithms, while Xu et al. (2025) constructed a simulator from clinical data to evaluate multi-agent RL before an upcoming medication-adherence trial.
The ADAPT simulator extends this line of work by modeling multi-timescale states, mediators, outcomes, and observation processes, enabling pre-deployment evaluation under delayed rewards, participant heterogeneity, and incomplete observations.
3 The ADAPT RL System
The ADAPT RL system will personalize mobile app-delivered activity suggestions for each participant. In the planned trial, 75 participants will use the system for 36 weeks. Learning draws on three sources: causal domain knowledge encoded in a DAG, historical ADAPT MRT data, and accumulating participant-specific data. Details of the MRT and the planned factorial trial are provided in Appendix A.
At the decision time t on day d of week w, the algorithm observes the current state of the user and chooses

Figure 1: Simplified working causal DAG for the ADAPT RL system. A denotes activity-suggestion actions, Y weekly CAE, E weekly perceived utility, CAE-related mediators, perceived-utility-related mediators, and J weekly survey completion. To keep the diagram readable, the 12 within-week decision times and their associated mediators are represented by two illustrative decision points, indexed by 1 and 2; some daily mediators may depend on both within-day actions. Context variables C, CAE observation variables , and perceived-utility emissions U are omitted.
, indicating whether to provide an activity suggestion. Decisions occur twice daily from Monday through Saturday when the participant is available . The RL system is updated once per week on Monday night , after the preceding weekly survey-response window closes.
The objective is to maximize cumulative weekly CAE over the study horizon. Let denote the full 12-item weekly CAE outcome. At a weekly assessment, the trial may instead request a short 3-item CAE measure, denoted , which provides partial information about but is not itself the optimization target. The choice of CAE instrument is randomized separately from the activity-suggestion policy.
Thus, decisions made during week w target , but the weekly outcome may be observed only partially or not at all. Combined with 12 decisions per week, this mismatch between frequent actions and sparse, partially observed outcomes motivates the causal-DAG-guided RL design described next.
3.1 Causal-DAG-Guided RL Design
Figure 1 encodes the domain assumptions used to structure the RL problem. We use the same expert-specified DAG to guide four linked design choices: state construction, latent state estimation, representation of beneficial and adverse intervention pathways, and mediator-based delayed credit assignment.
State construction. The DAG provides a principled way to compress the observed history rather than including every available sensor, survey, and app measurement, with the goal of preserving the Markov structure relevant for decision-making (Gao et al. 2025). In the working DAG, the weekly states and serve as bottlenecks through which information from prior weeks propagate forward, while within-week actions can affect future states and outcomes through the Y- and E-related mediators. We therefore retain past information that, under the working DAG, can still influence future mediators, weekly states, or outcomes. The resulting state is intended to render the earlier history approximately conditionally irrelevant for predicting the future, given subsequent actions:
Here, and are the posterior mean and standard deviation of CAE, and is the estimated perceived utility. As shown in Figure 1, contains recency-weighted summaries of the two Y-related mediator streams: daily anticipated affect and next four hour step count, whereas summarizes the three E-related streams: next four hour app page views, daily Fitbit wear, and daily survey completion. Only mediator measurements observed before the current decision are included. The vector contains currently available contextual variables that may affect subsequent mediators or outcomes or modify the effect of the current action. Full definitions are provided in Appendix B.
Partial observability. Both weekly CAE and perceived utility are incompletely observed, but they are estimated differently.
For CAE, variables from week with directed paths into are used in the transition model to predict the week-w CAE state. This prediction is then updated using week-w measurements that are descendants of . Completion of the full 12-item CAE survey reveals directly, whereas the short CAE measure and available week-w Y-related mediators provide indirect information about it. Thus, the same mediator stream can play different roles across time: week- measurements help predict , while week-w measurements help infer its current value.
The algorithm maintains the posterior distribution
where denotes the observed history available at the weekly update. A particle filter first propagates the previous CAE state through the transition model using relevant week- information and then updates this distribution using current observations: the full CAE survey when observed, or otherwise the short-survey emission and available week-w mediator emissions. The posterior mean serves as the weekly CAE learning signal, while and its posterior standard deviation enter the RL state.
Participants may temporarily turn off activity-suggestion delivery, in which case only is available.
Although the update could be performed once the Monday-morning state becomes available, we defer it until Monday night to accommodate potential delay in data collection. Monday’s decisions therefore use the most recently available policy.
Perceived utility is estimated separately from CAE. Guided by the incoming arrows to in Figure 1, we estimate the current state from the previous perceived-utility estimate and the E-related mediators observed during week , while weekly survey completion and usefulness/helpfulness responses provide contemporaneous information:
Unlike CAE, we use a point estimate for perceived utility. The burden-related signal is weaker and more sparsely observed, so maintaining and updating a participant-specific latent-state distribution would add estimation variability early in deployment. We therefore estimate from the MRT and keep it fixed during the factorial trial, while updating as participant-specific observations accumulate. Survey-completion indicators are modeled as emissions of rather than , reflecting the working assumption that nonresponse is driven by engagement-related burden and provides information about but not additional information about conditional on and the observed history. See Supplement Section 2 for details.
Benefit–burden pathways Under the working DAG, activity suggestions may affect future CAE through two distinct pathways:
Benefit pathway:
Burden pathway:
The benefit pathway represents the hypothesized effects of an activity suggestion on anticipated affect and physical activity, which may improve CAE at the end of the week. The burden pathway represents the possibility that repeated or poorly timed suggestions adversely affect engagement-related mediators , and perceived utility , with downstream consequences for later CAE-related mediators , and CAE . Because the weekly states evolve recursively, these effects may propagate further into the future. Incorporating summaries of both pathways into the state and value-learning design allows the RL system to account for delayed benefits and more delayed intervention costs rather than optimizing only proximal responses.
Temporal structure and delayed credit assignment. Figure 1 highlights two sources of delayed credit. First, 12 within-week w decisions share a single weekly CAE outcome . Second, effects operating through perceived utility require an additional week before affecting CAE . The DAG also identifies two forms of temporal structure that can be exploited for learning. First, and form a low-dimensional weekly bottleneck state between consecutive weeks: effects of earlier actions and mediators on later weeks propagate through these weekly states. Second, the within-week mediators provide intermediate information along the pathways from activity suggestions to the weekly states and outcomes.
These structures motivate three modifications to reward design. First, the bottleneck-value variant introduces an auxiliary week-level value function , providing a direct value bridge between within-week decisions and future weeks. Second, potential-based reward shaping uses perceived utility as a potential function,
The additional term has the standard potential-based form , with . In the infinite-horizon discounted problem this leaves the optimal policy for unchanged (Ng, Harada, and Russell 1999). Third, reward redistribution uses post-action mediator information from the pathways in Figure 1 to construct retrospective decision-level learning signals(Arjona-Medina et al. 2019). Specifically, the weekly reward is decomposed across the 12 within-week decisions using the corresponding states and subsequently observed mediators. Full formulations are provided in Supplement Section 2.
3.2 Online Personalization with RLSVI
We use randomized least-squares value iteration (RLSVI) to learn a participant-specific activity-suggestion policy online (Osband, Van Roy, and Wen 2016). Its Bayesian formulation allows historical MRT data to initialize learning while retaining randomized exploration as participant-specific data accumulate. We approximate the action-value function using
where combines the DAG-guided information state with a parsimonious set of action-interaction features. The prior is constructed from fitted Q-regression on historical ADAPT MRT data, while the linear representation limits model complexity in the data-scarce participant-specific setting.
Following ensemble-based randomized value-function methods (Osband et al. 2016), we maintain B randomized Q-functions. This is to ensure explicit randomization probability calculation for after-study analyses. At each available decision time, the fraction of ensemble members that favor an activity suggestion approximates the posterior probability that action 1 has greater value than action 0:
We then clip to with and sample . The clipping preserves a minimum probability of both actions, supporting continued exploration and subsequent statistical analyses. Activity suggestions are randomized with probability 0.5 during the initial week; the participant-specific ensemble is subsequently updated weekly.
In the baseline algorithm, the reward for decisions made during week w is the posterior mean of the subsequent weekly CAE outcome, . Within-week transitions are undiscounted, and this reward enters directly only at the final decision of the week. The week-boundary target is
where is the cross-week discount factor. Earlier within-week decisions receive information about the weekly outcome through successive value backups.
All candidate algorithms retain this participant-specific RLSVI backbone and action-selection rule, while varying the cross-week discount factor, bottleneck-value specification, and reward construction. Full feature definitions, posterior updates, and implementation details are provided in Appendix C; the complete set of RL variants is summarized in Appendix D.
4 Pre-Deployment Evaluation
We use data from the prior ADAPT micro-randomized trial to construct an interactive simulation environment for comparing candidate RL algorithms before deployment in the forthcoming factorial trial.
4.1 The ADAPT MRT Data
The ADAPT MRT closely aligns with the forthcoming factorial trial in intervention structure and data collection: activity suggestions are delivered twice daily, weekly surveys measure CAE and perceived utility, and additional information is collected through daily surveys, wristband activity tracker, and app use. Some variables differ across studies; for example, step count is used as a surrogate for active minutes when the corresponding factorial trial variable is unavailable in the MRT. A complete mapping between MRT and factorial trial variables is provided in Appendix A.
We use MRT data available through July 26, 2026. Among 43 participants who completed the 12-week active phase, eight were excluded based on prespecified data-availability criteria involving wearable and survey/CAE measurements. An additional seven were excluded based on prespecified CAE ceiling criteria, because their persistently high CAE made them less representative of the population for whom the RL intervention is intended. This yielded 28 participants for simulator construction. Details are provided in Supplement Section 1.
The MRT serves two roles: estimating the data-generating models for the simulator and constructing informative priors for participant-specific RL. During pre-deployment evaluation, these priors are constructed in a leave-one-participant-out manner so that the simulated participant's own MRT data are not used for initialization.
4.2 Simulation Environment Design
The simulator generates policy-dependent participant trajectories using three interacting components: a CAE-related process, a perceived-utility process, and additional time-varying state variables. We summarize the resulting deployment choices and remaining limitations.
CAE-related process. This process includes weekly CAE , weekly short CAE , daily anticipated affect , and post-decision next-four-hour step count . We model these variables with Bayesian hierarchical linear models that partially pool across participants to stabilize estimation and retain participant heterogeneity.
Perceived-utility process. This process includes latent weekly perceived utility , weekly survey completion , weekly app-usefulness and helpfulness measurements and , wristband activity tracker wear , daily survey completion , and next-four-hour app page views . We jointly model these variables with a participant-specific state-space model, treating as a latent state inferred from its observed mediators and emissions.
Additional time-varying state variables. The simulator also models recent step count , recent interaction with activity suggestions , and daily activity status . These processes are estimated separately for each participant using ridge-penalized regression.
To carry temporal dependence remaining in the fitted-model residuals into the simulator, we generate participant-specific residual sequences with an AR(1)-style bootstrap based on the fitted residuals.
For alternative testbed variants, we retune the fitted environment so that mean STE equals Cohen's conventional small (0.2) and large (0.8) values (Cohen 2013), by strengthening the burden and beneficial pathways, respectively. Full model specifications and simulation procedures are provided in Appendix E.
4.3 Experiments and Results
We conduct two sets of experiments. We first validate the simulator against observed MRT trajectories and then use it to compare candidate RL variants under the planned 36-week factorial trial setting. RL performance is evaluated by cumulative CAE over the study horizon.
Simulator Validation We assess simulator fidelity by comparing simulated and observed MRT trajectories. For each participant and process, we calculate the proportion of observed MRT measurements that fall within the pointwise 95% simulation interval across 100 simulated trajectories. We then average these proportions equally across the 28 participants. For perceived-utility-related mediators, the reported value is the average across app page views, Fitbit wear, and daily survey completion.
Table 1: Participant-averaged coverage of observed MRT measurements by pointwise 95% simulation intervals.
| Process | Coverage |
|---|---|
| Weekly CAE | 92.7% |
| Next-four-hour step count | 89.9% |
| Anticipated affect | 93.8% |
| Perceived-utility-related mediators | 97.7% |
Table 1 shows that, for the average participant, 89.9–97.7% of observed MRT measurements across these processes fall within the pointwise 95% simulation intervals. Thus, the simulator broadly reproduces the observed participant-level trajectories across the main outcome and mediator processes. This agreement is encouraging given the limited longitudinal data available for fitting participant-specific dynam-ics. The DAG-guided model structure provides a parsimonious representation of how weekly states, mediators, and outcomes evolve across time scales while retaining participant heterogeneity. Appendix F provides additional model-fit, temporal-dependence, and numerical-stability diagnostics over the planned 36-week horizon.
RL Variants Comparison We conduct 200 simulation replications. In each replication, 75 simulated participants are sampled with replacement from the 28 MRT participant models. When the same participant model is sampled more than once, each replicate follows the same fitted participant-specific dynamics but receives an independently generated stochastic trajectory through residual resampling.
Figure 2 reports paired 36-week cumulative CAE relative to never-send (point estimate and 95% CI) for five RLSVI variants and a non-learning random-send baseline (p = 0.5) in three environments of increasing intervention signal: STE 0.2, vanilla (STE 0.5), and STE 0.8.
Among RLSVI variants, two comparisons are stable across panels. First, RLSVI with weekly discount outperforms : places almost no weight on outcomes more than two weeks ahead, so it optimizes a short-horizon criterion that is misaligned with 36-week cumulative CAE. Second, a bottleneck-value parameterization does not improve on standard value propagation and is slightly worse when the signal is weak, consistent with additional parameters that must be estimated from sparse participant-specific data.
Standard RLSVI at and potential-based shaping alone are indistinguishable from random send in all three environments. Shaping adds a week-boundary potential so that delayed perceived utility enters the TD target, but the weekly outcome remains a single scalar. Stacking learned reward redistribution on shaping is the only variant that improves on random send. The gain is small at STE and in the vanilla environment, and becomes clear at STE , where the proximal four hour step count CAE pathway is amplified and the slot-level reward model therefore receives a stronger immediate learning signal. Appendix G reports morning and afternoon send probabilities and shows how the variants learn: redistribution retimes sends toward morning, cuts afternoon probability without raising morning probability, and standard RLSVI at barely moves in either slot.
5 Discussion
This work develops a causal-DAG-guided RL system for the forthcoming ADAPT factorial trial and evaluates candidate designs in an MRT-calibrated simulator.
5.1 Path to Deployment
The pre-deployment experiments inform the final RL configuration. We select a cross-week discount factor of and use potential-based shaping combined with learned reward redistribution to provide denser within-week learning signals. Because participant-specific data are limited early in the study, the deployed algorithm will be initialized using

Figure 2: Cumulative 36-week CAE for each policy relative to never send, paired by experiment and participant draw. Panels are the three testbed environments. Dots are means over 200 simulated trials of 75 participants; error bars are 95% confidence intervals.
informative priors estimated from all eligible ADAPT MRT participants.
Deployment requires safeguards for missing or delayed data and failed weekly updates. Each decision uses only information available at that time; later-arriving measurements are incorporated only into subsequent state estimation and model updates. Monday-night updates include CAE and perceived-utility estimation, empirical-Bayes variance updates, RLSVI, and, when applicable, reward redistribution. Prespecified validity checks and fallback rules retain the most recent validated component when an update fails.
Deployment will be supported by systematic monitoring of data availability and latency, state construction, weekly model updates, action probabilities, and fallback events, enabling both real-time detection of operational failures and post-trial assessment of how data quality and algorithm reliability affected policy behavior (Trella et al. 2026; Ghosh et al. 2025).
5.2 Limitations and Future Work
Several limitations remain. First, although the simulator explicitly models missing survey responses, it does not fully reproduce delayed availability of wristband activity tracker, survey, and app data; incorporating realistic data-latency processes would enable a more stringent robustness assessment. Furthermore, the system relies on the working causal DAG and associated models, so sensitivity analyses and post-deployment model checking will be important for assessing robustness to structural misspecification.
References
Abril-Pla, O.; Andreani, V.; Carroll, C.; Dong, L.; Fonnesbeck, C. J.; Kochurov, M.; Kumar, R.; Lao, J.; Luhmann, C. C.; Martin, O. A.; et al. 2023. PyMC: a modern, and comprehensive probabilistic programming framework in Python. PeerJ Computer Science, 9: e1516.
Aguilera, A.; Arévalo Avalos, M.; Xu, J.; Chakraborty, B.; Figueroa, C.; Garcia, F.; Rosales, K.; Hernandez-Ramos, R.; Karr, C.; Williams, J.; et al. 2024. Effectiveness of a Digital Health Intervention Leveraging Reinforcement Learning:
Results From the Diabetes and Mental Health Adaptive Notification Tracking and Evaluation (DIAMANTE) Randomized Clinical Trial. Journal of medical Internet research, 26:1.
Amagai, S.; Pila, S.; Kaat, A. J.; Nowinski, C. J.; and Gershon, R. C. 2022. Challenges in participant engagement and retention using mobile health apps: literature review. Journal of medical Internet research, 24(4): e35120.
Arjona-Medina, J. A.; Gillhofer, M.; Widrich, M.; Unterthiner, T.; Brandstetter, J.; and Hochreiter, S. 2019. Rudder: Return decomposition for delayed rewards. Advances in Neural Information Processing Systems, 32.
Baek, J.; Boutilier, J. J.; Farias, V. F.; Jonasson, J. O.; and Yoeli, E. 2025. Policy optimization for personalized interventions in behavioral health. Manufacturing & Service Operations Management, 27(3): 770–788.
Bi, S.; Yuan, J.; Wang, Y.; Zhang, W.; Zhang, L.; Zhang, Y.; Zhu, R.; and Luo, L. 2024. Effectiveness of digital health interventions in promoting physical activity among college students: systematic review and meta-analysis. Journal of medical Internet research, 26: e51714.
Brand, R.; and Ekkekakis, P. 2018. Affective–Reflective Theory of physical inactivity and exercise: Foundations and preliminary evidence. German Journal of exercise and sport research, 48(1): 48–58.
Choi, S. J. S.; Hung, P.-Y.; Liu, M.; Dempsey, W.; Newman, M. W.; and Klasnja, P. 2025. Improving affective associations with physical activity via a message-based mHealth intervention (WalkTojoy): Proof-of-concept study. Journal of medical Internet research, 27: e75792.
Chung, Y.; Rabe-Hesketh, S.; Dorie, V.; Gelman, A.; and Liu, J. 2013. A nondegenerate penalized likelihood estimator for variance parameters in multilevel models. Psychometrika, 78(4): 685–709.
Cohen, J. 2013. Statistical power analysis for the behavioral sciences. routledge.
Ekkekakis, P.; Zenko, Z.; and Vazou, S. 2021. Do you find exercise pleasant or unpleasant? The Affective Exercise Experiences (AFFEXX) questionnaire. Psychology of Sport and Exercise, 55: 101930.
El Mistiri, M.; Khan, O.; Martin, C. A.; Hekler, E.; and Rivera, D. E. 2025. Data-driven mobile health: System identification and hybrid model predictive control to deliver personalized physical activity interventions. IEEE open journal of control systems, 4: 83–102.
El Mistiri, M.; Khan, O.; Rivera, D. E.; and Hekler, E. 2023. System identification and hybrid model predictive control in personalized mHealth interventions for physical activity. In 2023 American Control Conference (ACC), 2240–2245. IEEE.
Gao, D.; Lai, H.-Y.; Klasnja, P.; and Murphy, S. A. 2025. Harnessing causality in reinforcement learning with bagged decision times. Proceedings of machine learning research, 258: 658.
Gao, D.; Xu, Z.; Rawashdeh, A.; Klasnja, P.; and Murphy, S. 2026. Active Measuring in Reinforcement Learning With
Delayed Negative Effects. In The 29th International Conference on Artificial Intelligence and Statistics.
Gazi, A. H.; Guo, Y.; Gao, D.; Xu, Z.; Zhang, K. W.; and Murphy, S. A. 2026. Statistical Reinforcement Learning in the Real World: A Survey of Challenges and Future Directions. arXiv e-prints, arXiv–2601.
Gelman, A. 2006. Prior distributions for variance parameters in hierarchical models (comment on article by Browne and Draper). Bayesian Analysis, 1(3): 515–534.
Ghosh, S.; Gullapalli, B. T.; Gao, D.; Gazi, A.; Trella, A.; Xu, Z.; Zhang, K.; and Murphy, S. A. 2025. Reproducible workflow for online AI in digital health. arXiv preprint arXiv:2509.13499.
Ghosh, S.; Guo, Y.; Hung, P.-Y.; Coughlin, L.; Bonar, E.; Nahum-Shani, I.; Walton, M.; and Murphy, S. 2024. rebandit: Random effects based online rl algorithm for reducing cannabis use. In IJCAI: proceedings of the conference, volume 2024, 7278.
Glenn, W. B.; et al. 1950. Verification of forecasts expressed in terms of probability. Monthly weather review, 78(1): 1–3.
Gonzalez, R. T.; Abbott, M. R.; Nallamothu, B.; Hummel, S.; Dorsch, M.; and Dempsey, W. 2026. Practical considerations when designing an online learning algorithm for an app-based mHealth intervention. Contemporary Clinical Trials, 166: 108354.
Hoffman, M. D.; Gelman, A.; et al. 2014. The No-U-Turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo. J. Mach. Learn. Res., 15(1): 1593–1623.
Huang, B.; Lu, C.; Leqi, L.; Hernández-Lobato, J. M.; Glymour, C.; Schölkopf, B.; and Zhang, K. 2022. Action-sufficient state representation learning for control with structural constraints. In International Conference on Machine Learning, 9260–9279. PMLR.
Klasnja, P.; Smith, S.; Seewald, N. J.; Lee, A.; Hall, K.; Luers, B.; Hekler, E. B.; and Murphy, S. A. 2019. Efficacy of contextually tailored suggestions for physical activity: a micro-randomized optimization trial of HeartSteps. Annals of Behavioral Medicine, 53(6): 573–582.
Lattimore, F.; Lattimore, T.; and Reid, M. D. 2016. Causal Bandits: Learning Good Interventions via Causal Inference. In Advances in Neural Information Processing Systems, volume 29, 1181–1189.
Lauffenburger, J. C.; Yom-Tov, E.; Keller, P. A.; McDonnell, M. E.; Crum, K. L.; Bhatkhande, G.; Sears, E. S.; Hanken, K.; Bessette, L. G.; Fontanet, C. P.; et al. 2024. The impact of using reinforcement learning to personalize communication on medication adherence: findings from the REINFORCE trial. npj Digital Medicine, 7(1): 39.
Li, M.; Bareinboim, E.; et al. 2026. Counterfactual Shapley Credit Assignment. arXiv preprint arXiv:2607.16999.
Liao, P.; Greenewald, K.; Klasnja, P.; and Murphy, S. 2020. Personalized heartsteps: A reinforcement learning algorithm for optimizing physical activity. Proceedings of the ACM on interactive, mobile, wearable and ubiquitous technologies, 4(1): 1–22.
Lu, Y.; Meisami, A.; and Tewari, A. 2022. Efficient reinforcement learning with prior causal knowledge. In Conference on Causal Learning and Reasoning, 526–541. PMLR.
Lu, Y.; Meisami, A.; Tewari, A.; and Yan, W. 2020. Regret Analysis of Bandit Problems with Causal Background Knowledge. In Proceedings of the 36th Conference on Uncertainty in Artificial Intelligence, volume 124 of Proceedings of Machine Learning Research, 141–150. PMLR.
Mintz, Y.; Aswani, A.; Kaminsky, P.; Flowers, E.; and Fukuoka, Y. 2020. Nonstationary bandits with habituation and recovery dynamics. Operations Research, 68(5): 1493–1516.
Nahum-Shani, I.; Smith, S. N.; Spring, B. J.; Collins, L. M.; Witkiewitz, K.; Tewari, A.; and Murphy, S. A. 2016. Just-in-time adaptive interventions (JITAIs) in mobile health: key components and design principles for ongoing health behavior support. Annals of behavioral medicine, 1–17.
Ng, A. Y.; Harada, D.; and Russell, S. 1999. Policy invariance under reward transformations: Theory and application to reward shaping. In Icml, volume 99, 278–287. Citeseer.
Osband, I.; Blundell, C.; Pritzel, A.; and Van Roy, B. 2016. Deep exploration via bootstrapped DQN. Advances in neural information processing systems, 29.
Osband, I.; Van Roy, B.; and Wen, Z. 2016. Generalization and exploration via randomized value functions. In international conference on machine learning, 2377–2386. PMLR.
Piette, J. D.; Newman, S.; Krein, S. L.; Marinec, N.; Chen, J.; Williams, D. A.; Edmond, S. N.; Driscoll, M.; LaChappelle, K. M.; Kerns, R. D.; et al. 2022. Patient-centered pain care using artificial intelligence and mobile health tools: a randomized comparative effectiveness trial. JAMA Internal Medicine, 182(9): 975–983.
Pulick, E.; Carpenter, S.; Buman, M.; and Mintz, Y. 2026. Optimizing Digital Therapeutic Interventions: Online Learning under Endogenous Adherence. arXiv preprint arXiv:2605.24261.
Rhodes, R. E.; and Kates, A. 2015. Can the affective response to exercise predict future motives and physical activity behavior? A systematic review of published evidence. Annals of Behavioral medicine, 49(5): 715–731.
Seewald, N. J.; Smith, S. N.; Lee, A. J.; Klasnja, P.; and Murphy, S. A. 2019. Practical considerations for data collection and management in mobile health micro-randomized trials. Statistics in biosciences, 11(2): 355–370.
Simonton, K. L. 2021. Testing a model of personal attributes and emotions regarding physical activity and sedentary behaviour. International Journal of Sport and Exercise Psychology, 19(5): 848–865.
Stevens, C. J.; Baldwin, A. S.; Bryan, A. D.; Conner, M.; Rhodes, R. E.; and Williams, D. M. 2020. Affective determinants of physical activity: a conceptual framework and narrative review. Frontiers in psychology, 11: 568331.
Sutton, R. S.; Barto, A. G.; and Barto, A. 1998. Reinforcement learning: An introduction, volume 1. MIT press Cambridge.
Tran, A.; Bibaut, A.; and Kallus, N. 2024. Inferring the Long-Term Causal Effects of Long-Term Treatments from Short-Term Experiments. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, 48565–48577. PMLR.
Trella, A. L.; Ghosh, S.; Bonar, E. E.; Coughlin, L.; Doshi-Velez, F.; Guo, Y.; Hung, P.-Y.; Nahum-Shani, I.; Shetty, V.; Walton, M.; et al. 2026. Effective monitoring of online AI decision-making algorithms in just-in-time adaptive interventions. npj Digital Medicine.
Trella, A. L.; Zhang, K. W.; Jajal, H.; Nahum-Shani, I.; Shetty, V.; Doshi-Velez, F.; and Murphy, S. A. 2025. A deployed online reinforcement learning algorithm in an oral health clinical trial. Proceedings of the AAAI Conference on Artificial Intelligence, 39(28): 28792–28800.
Trella, A. L.; Zhang, K. W.; Nahum-Shani, I.; Shetty, V.; Doshi-Velez, F.; and Murphy, S. A. 2022. Designing reinforcement learning algorithms for digital interventions: pre-implementation guidelines. Algorithms, 15(8): 255.
Williams, D. M.; Dunsiger, S.; Ciccolo, J. T.; Lewis, B. A.; Albrecht, A. E.; and Marcus, B. H. 2008. Acute affective response to a moderate-intensity exercise stimulus predicts physical activity participation 6 and 12 months later. Psychology of sport and exercise, 9(3): 231–245.
Xu, J.; Maasch, J.; and Gan, K. 2026. Integrating Causal DAGs in Deep RL: Activating Minimal Markovian States with Multi-Order Exposure. arXiv preprint arXiv:2605.07057.
Xu, Z.; Jajal, H.; Choi, S. W.; Nahum-Shani, I.; Shani, G.; Psychogios, A. M.; Hung, P.-Y.; and Murphy, S. A. 2025. Reinforcement learning on dyads to enhance medication adherence. In International Conference on Artificial Intelligence in Medicine, 490–499. Springer.
Yom-Tov, E.; Feraru, G.; Kozdoba, M.; Mannor, S.; Tennenholtz, M.; and Hochberg, I. 2017. Encouraging physical activity in patients with diabetes: intervention using a reinforcement learning system. Journal of medical Internet research, 19(10): e338.
Zhang, J. 2020. Designing optimal dynamic treatment regimes: A causal reinforcement learning approach. In International conference on machine learning, 11012–11022. PMLR.
Zhang, Y.; Du, Y.; Huang, B.; Wang, Z.; Wang, J.; Fang, M.; and Pechenizkiy, M. 2023. Interpretable reward redistribution in reinforcement learning: A causal approach. Advances in Neural Information Processing Systems, 36: 20208–20229.
Zhou, M.; Mintz, Y.; Fukuoka, Y.; Goldberg, K.; Flowers, E.; Kaminsky, P.; Castillejo, A.; and Aswani, A. 2018. Personalizing mobile fitness apps using reinforcement learning. In CEUR workshop proceedings, volume 2068, http://ceur.
Zou, L.; Xu, Z.; Gao, D.; and Murphy, S. 2025. Causal directed acyclic graph-informed reward design. In The Multidisciplinary Conference on Reinforcement Learning and Decision Making (RLDM).
Supplementary Material
A ADAPT Study and Data Details
A.1 ADAPT Factorial Trial Design
The ADAPT factorial trial will enroll cardiac rehabilitation patients, each followed for approximately 36 weeks. The study uses a factorial design defined by two baseline-randomized intervention factors: ADAPT and Intrinsic Motivation (IM), with participants remaining in their assigned conditions throughout the study. Because RL is used only in the ADAPT-on condition, approximately half of the participants ( ) will receive RL-based personalization. The IM factor may affect the intervention context and relevant state variables, but its role is outside the scope of this paper.
Before online RL begins, participants pass through two initial phases: a baseline phase and an initial micro-randomization phase. The baseline phase lasts approximately one week but may be extended until sufficient Fitbit data are collected. During this phase, participants complete a baseline check-in containing the 12-item CAE measure and the 2-item perceived-utility measure. Let denote the mean of the 12 CAE items; is fully observed for all participants. Physical-activity data are also collected once participants begin wearing the Fitbit.
For notational convenience, we refer to the baseline phase as week 0 and the initial micro-randomization phase as week 1, although their calendar durations may be longer. The baseline phase ends after the participant accumulates at least seven days with at least eight hours of Fitbit wear per day. The participant then enters week 1, during which activity-suggestion actions are randomized with probability 0.5.
A.2 ADAPT MRT Design
The ADAPT micro-randomized trial (MRT) evaluates components of the HeartSteps mobile health intervention for supporting physical activity in cardiac rehabilitation patients. Participants receive the intervention for approximately three months while wearing a Fitbit activity tracker and interacting with the HeartSteps app.
Several intervention components are repeatedly randomized during the MRT. Activity suggestions are randomized twice daily with probability 0.5, while morning salience messages and planning prompts are each randomized once daily with probability 0.5. Other intervention components, including weekly reflection and planning activities, continuously available in-app features, and daily and weekly ecological momentary assessments, are delivered without micro-randomization.
The MRT collects longitudinal data on physical activity, intervention exposure, psychosocial measures, survey completion, and app engagement. These data are particularly relevant to the present work because the activity-suggestion decision schedule and many of the measured variables closely correspond to those used by the RL system in the forthcoming trial. We therefore use the MRT data both to estimate the data-generating models underlying the pre-deployment simulation environment and to construct informative priors for participant-specific RLSVI.
A.3 MRT-to-Factorial Trial Variable Correspondence
Some variables required by the future factorial trial RL system were measured differently in the MRT. Table 2 summarizes the primary mappings from future trial target variables to their MRT-based surrogates used for simulator construction and RL initialization.
A.4 Data Preprocessing and Standardization
As of July 26, 2026, the ADAPT MRT had 43 completed participants, defined as participants with an active-phase span of at least 83 days (the planned 84-day window, allowing a one-day shortfall). Eight of these 43 participants were excluded from the analysis sample using a priori availability rules: four (112, 117, 138, and 219) lacked sufficient wearable data for the primary proximal outcome (fewer than 20 wear-valid decision windows or fewer than 20 non-missing next-four-hour step counts), and five (82, 112, 251, 257, and 259) had no observed weekly surveys, and/or no observed daily end-of-day surveys; one participant (112) met both criteria. An additional seven participants were excluded based on prespecified CAE ceiling criteria: their minimum weekly CAE over the 12-week active phase was at least 6, or their week-1 CAE was 7. After these exclusions, 28 participants remained for fitting the environment models.
To improve numerical stability and place continuous predictors on comparable scales, we transformed the merged longitudinal panel prior to fitting the simulation models. Calendar variables, such as study week, were linearly rescaled into centered, unitless covariates ranging approximately within . The time-of-day indicator is coded as for the morning decision time and for the afternoon decision time. Count-valued variables (step counts) were log-transformed via to reduce skewness and the influence of extreme values. Page views were also treated as counts but were modeled using hurdle models because of their high proportion of zeros.
Continuous variables were subsequently standardized as , where and denote the mean and standard deviation computed from the analysis sample for the corresponding variable. The derived centering and scaling constants, along with the empirical support limits, were retained to ensure reproducibility, facilitate clipping of simulated values when necessary, and enable online standardization during the forthcoming trial.
| Factorial Trial Variable | MRT Surrogate |
| Short weekly survey measuring affective association of physical activity:1. “For me, being active is …” with response options from unenjoyable (1) to enjoyable (7);2. “Exercise leaves me feeling …” with response options from exhausted (1) to energized (7);3. “For me, exercise is …” with response options from stressful (1) to relaxing (7). | Corresponding items from the Core Affective Experiences (CAE) survey:1. “Exercise feels …” with response options from very terrible (1) to wonderful (7);2. the CAE item corresponding to the energized-exhausted dimension;3. the CAE item corresponding to the relaxing-stressful dimension. |
| Daily morning check-in survey:1. whether the participant was active yesterday (this can also be reported elsewhere);2. anticipated affect: “Next time I am active, I expect it will feel …” | The MRT end-of-day survey on day is used as the surrogate for the factorial trial morning check-in on day . In particular:1. the MRT end-of-day item “Were you active at least once today?”;2. the MRT end-of-day anticipated-affect item. |
| Active minutes:1. Prior 2 hour active minutes2. Next 4 hour active minutes | Step count:1. Prior 2 hour step count2. Next 4 hour step count |
Table 2: Mapping Factorial Trial Target Variables to MRT Surrogates
For ordinal survey variables coded on a fixed 1–7 scale, we use scale-based normalization rather than empirical z-score standardization, mapping to via . This centers the variable at the midpoint of the response scale and places it on a scale comparable to other standardized predictors.
The fitted simulation models distinguish between missingness in outcome variables and missingness in predictor variables. When a variable is used as an outcome, observations with missing outcome values are excluded from the corresponding model-fitting procedure. When a variable is used as a predictor, missing values are imputed with their mean before model fitting.
B Causal-DAG-Guided Online RL Design
This section describes how the working causal DAG is translated into the RL design, including four components: estimation of the partially observed weekly CAE and perceived-utility states, construction of a parsimonious decision-time state, representation of weekly bottleneck structure, and the use of intermediate mediators for delayed credit assignment.
B.1 Partial Observability
B.1.0.0.1 CAE Belief-State Model Let denote the weekly CAE state available for the Monday-night update in week . It summarizes CAE over the preceding intervention week and is queried on Sunday evening at the end of week . It can be latent because the sometimes short weekly CAE survey is sent or the user does not complete the survey. Specifically, the weekly CAE-related observation is
where indicates whether the full or short CAE instrument is requested, indicates engagement with the weekly intervention with a check-in survey, is the mean of the 12 full-CAE items, and is the mean of the three items in the short instrument.
Consistent with the working DAG, weekly survey completion is modeled through perceived utility rather than as a direct measurement of CAE. Specifically, we assume
where denotes the information available before the weekly CAE observation is realized. Thus, conditional on perceived utility and the observed history, survey completion provides no additional information about latent CAE. This is a working observation-model assumption rather than a consequence of the DAG itself. We do not condition on in this assumption because the weekly check-in occurs at the end of the weekly intervention: once a participant engages in the weekly Sunday night intervention, the completion of the survey by the individuals does not depend on whether the survey is the full or short CAE survey (i.e. the value of ).
Because may not be directly observed, we maintain the filtering distribution
using particle filtering, where .
Working particle-filtering models. The particle filter combines a weekly CAE transition model, an observation model for the short CAE instrument, and action-conditional models for next-four-hour step count and anticipated affect: [SAM: need a table which provides the definitions of all variables. This table needs to be at the beginning of this document.]
(2)
Here, and summarize next-four-hour step count and anticipated affect, respectively, during week . The lagged mediator terms use the most recent available value within the same week, with zero used at the beginning of a week. The Gaussian error terms have model-specific variances. [SAM: all variables must be defined before they appear in an equation.]
Let index the four working models, with . Conditional on particle , latent CAE values in the cumulative design matrices are replaced by the corresponding particle trajectory, while latent perceived utility is replaced by its current approximation . Using data available through week , conjugate Bayesian linear-regression updates yield
(3)
Algorithm 1 combines these parameter updates with the week-w - 1 mediator likelihood and the available weekly CAE observation to update . The resulting weighted particles define
These posterior mean and standard-deviation summaries enter the RL state, and provides the weekly CAE learning signal in the baseline algorithm.
B.1.0.0.2 Perceived-Utility Estimation Perceived utility is also latent. Rather than maintaining a second online filtering distribution, we construct an MRT-trained recursive approximation to its filtered mean, mirroring the structure of the fitted state-space model: an autoregressive carry-over of last week's estimate (the transition), the current week's engagement-mediator averages (the mediator pathway), and the check-in survey bundle (completion indicator and responses ). Define the weekly averages [SAM: these variables must be defined prior to use in a formula.]
Algorithm 1: Estimating Belief State on Monday Night of Week ()
Input: History ; particles with weights ; prior for each model ; current variance estimates for the particle-filtering models.
Output: Updated particles , updated weights ,
1: Update the empirical-Bayes variance estimates for the particle-filtering models:
where
2: for do
3: Draw model parameters from their posterior distributions in (3).
4: Compute the mediator likelihood contribution from week :
5: if and then
6: Set the new particle equal to the observed full CAE outcome:
7: Set the weight: . [SAM: why are we updating the weight on an observed CAE?; shouldn’t the weight be ?]
8: else if and then
9: Propagate the latent state: .
10: Set the weight: .
11: else
12: Propagate the latent state: .
13: Set the weight: .
14: end if
15: end for
16: Normalize particle weight: for .
17: Calculate the effective sample size ESS := .
18: if ESS < 0.5J then
19: Resample with weights to obtain , and set for all . [SAM: so particle collapse means that most of the particles are the same value? The new weights are all . So every time we have an observed CAE we have particle collapse?]
20: else
21: Set and for all .
22: end if
23: return .
The approximation is
initialized at , the pin used for during estimation. Because and are each coded from 1 to 7, their summed score divided by 14 lies in when observed.
The coefficients in (4) are estimated offline from the historical MRT and held fixed during the factorial trial. The regression target is the filtered latent trajectory from the fitted state-space models of Section E.3. To remove between-participant level differences, outcome and predictors are centered within participant and a common slope vector is estimated under a nonnegativity constraint,
after which the intercept is calibrated on the original scale, . Because the autoregressive predictor is itself an output of the fitted map, estimation alternates between fitting and regenerating the recursive predictions under the current fit, iterating to a fixed point. At deployment the same normalized averages are computed over the trial's Monday–Saturday schedule (12 decision slots, 6 days).
Under the nonnegativity constraint, the fitted weights of the two weekly check-in terms are zero (Table 3): the daily check-in, page-view, and wear signals, together with the autoregressive term, absorb the information the weekly items would otherwise provide. [SAM: we need to discuss the 0 coefficients of J and J times average of U's...]
Table 3: Estimated weights of the perceived-utility approximation in (4).
| Component | Estimated weight |
|---|---|
| Intercept | 0.915 |
| 0.119 | |
| 0.318 | |
| 0.232 | |
| 0.905 | |
| 0.000 | |
| 0.000 |
B.2 State Construction
At decision time , the RL state combines estimates of the weekly latent states, summaries of within-week mediator history, and currently available contextual information. Let denote all mediator measurements observed strictly before decision time . Only information available at the time of decision is used in constructing the state.
Because mediator histories grow over the week, each mediator stream is compressed into a recency-weighted summary. If are the observations from mediator stream available before , define
for , and set when . Thus, more recent observations receive greater weight.
We summarize five mediator streams motivated by the working causal DAG:
-
: anticipated affect, assessed in the daily morning check-in;
-
: physical activity following an activity-suggestion decision, measured using Fitbit activity during the subsequent four-hour window;
-
: unprompted app page views during the four hours following a decision;
-
: Fitbit wear status on the following morning; and
-
: completion of the following morning check-in.
The first two streams represent hypothesized pathways to future CAE, whereas the remaining three represent hypothesized pathways to future perceived utility. Daily measurements, such as anticipated affect, Fitbit wear, and morning check-in completion, may reflect both activity-suggestion decisions from the preceding day. Because the morning check-in window can overlap with the next morning's decision time, a response is included in the state only after it has actually been observed; measurements arriving after a decision are available only for subsequent decisions.
The resulting decision-time state is
(5)
where indicates day type (0 is weekday, 1 is weekend) and indicates the morning or afternoon decision time. The context vector contains:
• steps during the two hours preceding the decision;
• steps on the previous day;
• recent intervention burden, summarized by an exponentially weighted average of activity suggestions delivered over the previous seven days;
• the fraction of delivered activity suggestions with which the participant interacted over the previous 14 decision times; and
• the fraction of the previous seven days classified as active.
The linear Q-function uses both state main effects and a parsimonious set of prespecified action-interaction features:
(6)
where denotes vector concatenation. The first two blocks encode the baseline state, whereas the final block contains the prespecified effect-modification features. These action-interaction terms are chosen for parsimony and scientific relevance; they are not identified by the DAG.
Algorithm 2: Feature Construction Subroutine
Input: Week w; decision time ; candidate action ; perceived-utility estimate ; belief-state summaries ; raw mediator history ; context .
Output: Feature vector .
1: Construct the decision-time state using (5)
2: Construct the action-specific feature vector using (6).
3: return .
B.3 DAG-Guided Delayed Credit Assignment
The working DAG highlights two distinct sources of delayed credit. First, the 12 activity-suggestion decisions within a week share a single weekly CAE learning signal. Second, effects transmitted through perceived utility may influence CAE only after an additional week. We consider complementary mechanisms that exploit two forms of structure encoded in the DAG: low-dimensional weekly bottleneck states and intermediate mediators along the benefit and burden pathways.
B.3.0.0.1 Week-Level Bottleneck Value The baseline RLSVI update propagates information from one week to the next through the first decision-time state of the following week. The bottleneck variant instead introduces an explicit week-level value function based on the low-dimensional weekly state
We approximate the bottleneck value and decision-time action-value function by
and estimate them jointly through
The corresponding TD loss links the week-level value to the first decision-time value, uses standard within-week TD backups for intermediate decisions, and replaces the usual cross-week decision-time target at the final decision with
The full loss is given in Equation (7). This formulation changes the value-function factorization without changing the scientific reward and shortens the path through which information must propagate across weeks.
For ensemble member b, we freeze the greedy action using the previous ensemble parameter,
The resulting bottleneck-state TD objective is
(7)
where, for nonterminal decision times ,
The bottleneck-state loss couples the week-level value model and the decision-time Q-function through the shared parameter vector , thereby inducing correlated posterior perturbations across the two components.
B.3.0.0.2 Weekly Reward Construction The baseline weekly reward is . Because perceived utility lies on a more delayed pathway to CAE, we additionally consider an alternative weekly learning signal, which employs potential-based shaping,
This corresponds to the potential . Under the working belief-state MDP and the standard terminal-potential condition, potential-based shaping preserves the optimal policy while bringing information about changes in perceived utility closer to the week in which they occur (Ng, Harada, and Russell 1999).
B.3.0.0.3 Within-Week Reward Redistribution Changing the weekly reward does not by itself resolve the within-week credit-assignment problem, because the learning signal still arrives only once per week. We therefore also consider reward redistribution, which allocates a chosen weekly reward across the 12 within-week decisions using mediator information represented in the working DAG.
Stage 1: decomposition of once-daily mediators. The daily mediators are observed once per day and are affected by both actions and . Because their contributions cannot be directly attributed to either decision from the observed daily measurement alone, we first construct a model-based decomposition in the spirit of RUDDER (Arjona-Medina et al. 2019).
Define the decision-time feature vector
(9)
where denotes vector concatenation. A state-only slot indicator is omitted because it is collinear with the intercept; the action–slot interaction is identified because the two within-day actions vary independently, so the decomposition attributes action effects to morning versus afternoon while splitting the non-action baseline evenly.
At the Monday-night update in week w, each mediator-specific parameter is estimated using all completed weeks :
(10)
with prior mean and prior covariance . Let denote the minimizer. For a completed decision time , define its fitted contribution to the daily mediator by
Although is observed at every decision time, its value mixes the action effect with baseline activity. We therefore regress each of the twelve weekly slot values on baseline covariates and an action block , in the same Gaussian-prior ridge form as (10). The fitted action-attributable contribution replaces the realized step count in the Stage-2 features below. Page views are not decomposed: their fitted action effect is weak, and their realized value functions as a readout of the latent engagement state rather than as attributable credit, so they enter Stage 2 directly.
Stage 2: within-week redistribution. We next redistribute the selected weekly reward across the 12 decisions in each completed week w.
At the week-w update, define
(12)
where and are the decision-level mediators observed after action , and the remaining three terms , , are Stage-1 contributions defined in (11). The realized step count is omitted in favor of its fitted action-attributable contribution .
At the Monday-night update in week w, the redistribution parameter is estimated by matching the sum of the decision-level predictions within each completed week to the corresponding weekly reward:
(13)
with prior mean and prior covariance . Let denote the minimizer. The redistributed reward for decision is
C Participant-Specific Online Learning with RLSVI
Given the DAG-guided state and reward representations described in Section B, we use randomized least-squares value iteration (RLSVI) to learn a participant-specific activity-suggestion policy. Historical MRT data initialize the learner, while subsequent updates use only data accumulated from the trial participant.
C.1 Linear Q function
Under policy , the decision-time action-value function is
Within-week transitions are undiscounted, while discounts rewards across weekly boundaries.
The decision-time action-value function is approximated by
where is defined in Equation (6). The linear representation limits model complexity in the participant-specific, data-scarce setting.
C.2 MRT-Informed Prior
MRT data are used to construct informative priors for the particle-filtering working models, the Q-function, and the credit-assignment (Stage-1/Stage-2) models. All priors are Gaussian, , and are built by one generic two-stage empirical-Bayes scheme; only the response and design differ across models.
Generic construction. First, all participants' MRT rows are stacked and a single ridge regression is fit, yielding the pooled coefficient vector , which becomes the prior mean. Second, the same regression is fit separately to each participant's rows, yielding per-participant estimates and residual variances . The prior covariance is diagonal, with each element equal to the across-participant variance of the corresponding coordinate of — so coefficients that vary strongly between people are weakly constrained, and vice versa — and the noise variance is initialized at the average per-participant residual variance. One exception to diagonality: the joint prior of the bottleneck variant uses the full sample covariance of the per-participant , preserving cross-block correlations.
For the four particle-filter working models (four-hour step count, anticipated affect, weekly CAE, short CAE) the regressions are the working models themselves on the MRT panel. For the Stage-1 and Stage-1b decompositions, the regressions are (10) and its slot-level analogue on the MRT weeks. For the Stage-2 redistribution model, the response is the shaped weekly target and the design is the week-summed features of (12). Q-function priors cannot be read off a supervised fit; they are constructed by offline fitted-Q iteration (25 iterations per participant) on the MRT trajectories, run separately for each discount setting ( ) and for each reward construction, so that every RL variant receives a prior matched to the objective it optimizes: the weekly-CAE target for the base variants, the potential-shaped target for V4, and the redistributed slot rewards for the V5 variant.
Deployment regime. At evaluation, the policy-side prior means (Q-function and Stage-1 decompositions) are re-centered at zero with covariance inflated tenfold (diagonal floored at 0.1), while the particle-filter and Stage-2 priors retain their MRT-informed centers.
Held-out evaluation. During pre-deployment evaluation on the testbed, all priors supplied to a simulated participant are refit on the MRT data excluding that participant (28 leave-one-out folds), so no participant's own historical data informs their priors. For the eventual trial, all eligible MRT data will be used.
C.3 Action Selection
RLSVI maintains an ensemble of B randomized Q-functions,
At each decision time , the subroutine takes as input the two action-specific feature vectors
constructed using Algorithm 2. The fraction of ensemble members that prefer action 1 is
To maintain randomized exploration and facilitate after-study analyses,
and
Algorithm 3: Action-Selection Subroutine
Input: Feature vectors and ; RLSVI ensemble ; clipping parameter .
Output: Activity-suggestion action and assignment probability .
1: Compute the ensemble voting probability using (16).
2: Compute the clipped assignment probability using (17).
3: Sample the activity-suggestion action using (18).
4: return .
C.4 Weekly RLSVI Update
The participant-specific ensemble is updated each Monday night using all completed transitions through week . Let W denote the study horizon.
Let next(d, t) denote the next decision time within the same week. For ensemble member b, TD targets use the previous ensemble parameter:
At the week boundary,
For the baseline algorithm, ; the alternatives in Section D replace this reward and, when applicable, the corresponding TD structure.
For each ensemble member, the regularized TD objective is
(21)
Let stack the realized state-action feature vectors and let stack the corresponding TD targets:
The posterior covariance and ensemble-specific posterior mean are
(23)
We use temporally correlated perturbations across weekly updates. Initialize
and for , sample
The updated ensemble parameter is
Algorithm 4: Weekly RLSVI Update Subroutine
Input: Update week ; history through transitions ending in week ; prior parameters ; noise variance estimate ; discount factors ; previous perturbations ; previous ensemble parameters .
Output: Updated ensemble parameters and perturbations .
1: Construct the realized feature matrix using (22). 2: Compute the posterior covariance using (23). 3: for do 4: Construct the temporal-difference targets using (19) for nonterminal decision times and (20) for final decision times. 5: Compute the posterior mean using (23). 6: Sample the temporally correlated perturbation using (25). 7: Set the updated ensemble parameter using (26). 8: end for 9: return .
C.5 Empirical-Bayes Noise-Variance Updates
Each Gaussian working model contains a scalar noise-variance parameter. These variances are initialized from the MRT and updated each Monday night using empirical Bayes. The same generic procedure is used across model classes; only the response vector and design matrix differ.
For a generic Bayesian linear model , let
where is scalar. Conditional on the fixed prior hyperparameters , we estimate by maximizing the marginal likelihood obtained after integrating out :
Equivalently,
where is the number of observations for model .
Therefore, the marginal log-likelihood is
(27)
For computational stability, we use an equivalent precision-form expression. Let . Up to constants that do not depend on , the marginal log-likelihood can be written as
(28)
Algorithm 5 gives the generic scalar variance update. In implementation, we use the precision-form marginal log-likelihood in (28), but we optimize over the log-variance
Thus, for a candidate value , the objective is evaluated as .
We use a bounded one-dimensional search centered at the empirical residual scale around the prior mean. Specifically,
Given a prespecified log-scale half-width and lower variance bound , the optimizer searches over
The empirical-Bayes estimate is then
This one-dimensional bounded optimization is performed using scipy.optimize.minimize_scalar.
Algorithm 5: Generic Empirical-Bayes Variance Update
Input: Design matrix X; response vector y; prior mean ; prior covariance ; log-scale half-width ; lower variance bound .
Output: Empirical-Bayes variance estimate .
1: Define the precision-form marginal log-likelihood as in (28).
2: Compute the prior-predictive residual scale:
, .
3: Define the bounded search interval for the log-variance:
, .
4: Compute
.
5: Set
.
6: return .
Importantly, the algorithm does not maintain particle-specific or ensemble-specific variance parameters. For the particle-filtering working models, the empirical-Bayes variance update is performed once per working model. At the Monday-night update in week w, before propagating particles to , latent CAE columns in the cumulative particle-filtering designs are filled using the smoothed posterior mean CAE trajectory under the current pre-update particle approximation,
The resulting collapsed design matrix and response vector are supplied to Algorithm 5, yielding one scalar estimate for each particle-filtering working-model variance:
These variances are shared across particles in the subsequent belief-state update.
For the RLSVI regression, the TD targets are ensemble-specific because they depend on . Ensemble members share the design matrix and differ only through the exploration perturbations, so estimating separately per member would count exploration spread as observation noise. We therefore apply Algorithm 5 once, to the ensemble-averaged target vector , and the resulting is shared across ensemble members in the subsequent posterior update.
For the bottleneck-state variant, the design matrix itself is ensemble-specific, because the bottleneck-consistency rows use member-specific greedy actions. In that case Algorithm 5 is applied to each member's stacked three-block regression (bottleneck consistency, nonterminal TD, and terminal TD), and the resulting estimates are averaged over members. The Stage-1 and Stage-2 redistribution regressions use fixed noise variances estimated from the MRT; only the working-model and TD variances are updated online.
C.6 Weekly Update Schedule
Week 1 is an initial micro-randomization phase in which activity suggestions are assigned independently with probability 0.5. The first online RL update occurs on Monday night of week 2. Thereafter, each week follows the same schedule.
The two Monday activity-suggestion decisions occur before the weekly survey response window closes and therefore use the most recently available perceived-utility estimate, CAE belief summaries, and RLSVI ensemble together with the current real-time context. After the Monday-night update, the newly estimated weekly states and RLSVI ensemble are used for the remaining decision times that week.
At the Monday-night update, the algorithm:
-
constructs the perceived-utility approximation ;
-
updates the CAE belief state and computes ;
-
updates the required empirical-Bayes variance estimates;
-
updates any redistribution models required by the selected variant; and
-
updates the RLSVI ensemble.
D RL Variants Evaluated in Pre-Deployment Experiments
D.1 Baseline Configuration
Algorithm 6 gives the base online RL algorithm. It calls several subroutines defined in subsequent sections. Specifically, UPDATE-BELIEFSTATE denotes the particle-filtering update for the CAE belief state, CONSTRUCTFEATURE constructs the action-specific feature vector from the current summaries, mediator history, and context, SELECTACTION computes the clipped assignment probability and samples the activity-suggestion action, and UPDATERLSVI performs the weekly RLSVI parameter update. Fixed hyperparameters listed in the input of Algorithm 6, are passed implicitly to the relevant subroutines.
Algorithm 6: Online RL Algorithm for the ADAPT Factorial Trial
Input: Weekly discount factors ; ensemble size ; prior parameters ; clipping parameter ; baseline CAE value ; initial perceived-utility estimate ; inputs for Algorithm 1.
1: Initialize the belief state using the baseline CAE value: and .
2: Initialize posterior perturbations: , , .
Uniform randomization in week 1 before RL updating.
3: Assign activity-suggestion actions by for all and .
4: for week do
Sunday-night weekly survey query decision.
5: Set if , and sample if .
Monday decisions before weekly updating.
6: for do
7: Construct the two action-specific feature vectors using Algorithm 2:
,
.
8: Select the activity-suggestion action using Algorithm 3:
.
9: end for
Monday-night update.
10: Compute the approximated perceived-utility according to Equation (4).
11: Update the belief state for using Algorithm 1:
.
12: Compute the belief-state summaries:
.
13: Update the empirical-Bayes variance estimates of RLSVI:
,
14: Update the RLSVI ensemble using Algorithm 4:
.
Remaining within-week decisions after weekly updating.
15: for do
16: Construct the two action-specific feature vectors using Algorithm 2:
,
.
17: Select the activity-suggestion action using Algorithm 3:
.
18: end for
19: end for
D.2 Combined Variants
Rather than fully crossing all design choices, we organize the experiments around a base configuration and vary one component at a time. The base RL algorithm uses , no bottleneck-state TD loss, and no reward shaping. First, variants 1 is rerun with as a sensitivity analysis (variants 2). We then vary (i) whether the bottleneck-state TD loss in (7) is added, and (ii) which of the two reward designs is used (variants 4–5). The two baseline policies—never sending, and sending independently with probability 0.5 at each decision time—provide reference points for assessing the added value of personalization and learning.
Table 4: Summary of RL variants and baseline policies. Reward designs: V1 = return-invariant shaping; V2 = return-invariant shaping with redistribution.
| Variant | Policy class | Bottleneck TD | Reward design | |
|---|---|---|---|---|
| 1 | RL | 0.9 | No | None |
| 2 | RL | 0.5 | No | None |
| 3 | RL | 0.9 | Yes | None |
| 4 | RL | 0.9 | No | V1 |
| 5 | RL | 0.9 | No | V2 |
| 6 | Never send | - | - | - |
| 7 | Randomized, | - | - | - |
E ADAPT Simulation Environment
We construct a closed-loop simulation testbed from the historical ADAPT MRT to evaluate candidate online RL algorithms before deployment in the ADAPT factorial trial.
The environment contains three interacting components. Section E.2 models the CAE-related process, including activity-related mediators and weekly CAE. Section E.3 models latent perceived utility together with engagement-related mediators and emissions. Section E.4 models additional time-varying state variables. The fitted components are then combined sequentially to generate trajectories under a specified activity-suggestion policy, as described in Section E.6.
E.1 Variables to Model
The simulation environment generates the following variables.
CAE-related mediators.
-
: log-transformed step count during the four hours following decision time on day of week ;
-
: anticipated affect measured once daily.
Perceived-utility-related mediators.
-
: unprompted app page views following decision time ;
-
: indicator of Fitbit wear for the corresponding daily wear window;
-
: indicator of daily check-in completion.
Weekly latent states and outcomes.
-
: latent weekly perceived utility of the app;
-
: CAE, defined as the mean of the 12 CAE items, each coded from 1 to 7.
Weekly emissions.
-
: short weekly CAE, constructed from three CAE items on the same 1–7 scale;
-
: indicator of weekly check-in completion;
-
and : weekly ratings of app helpfulness and pleasantness, respectively.
Additional time-varying state variables.
-
: log-transformed step count during the two hours preceding decision time ;
-
: indicator of interaction with a delivered activity suggestion;
-
: indicator of an active day.
Throughout, indicates whether an activity suggestion is delivered. The historical MRT allowed activity-suggestion decisions on all seven days, so when fitting MRT-based models. The forthcoming trial uses the six-day Monday–Saturday decision schedule described previously.
For each conditional model, S denotes the history available immediately before the modeled variable is generated. We use for baseline features and for action-effect moderators. This notation is model-specific: the exact feature sets are given below.
E.2 CAE-Related Process
The models for next-four-hour step count , anticipated affect , weekly CAE Y, and short CAE are fit jointly across participants using Bayesian hierarchical linear models. The hierarchical specification allows the simulator to retain participant-specific dynamics while borrowing information across participants when individual MRT trajectories are sparse.
For a generic CAE-related outcome Z, let denote participant 's coefficient vector and the corresponding design vector for observation . We use
(29)
with a residual variance common to all participants and participant-specific random effects on the regression coefficients. At the population level,
The shape-2 Gamma prior assigns zero density at and therefore discourages collapse to the boundary in which all participants have identical coefficients, while still allowing small between-participant variability when supported by the data. We do not use the classical non-informative inverse-Gamma ( , ) distribution on the variance: because when , it leads to an improper posterior, and is sensitive to the value of (Gelman 2006); the shape-2 Gamma is the boundary-avoiding prior of Chung et al. (2013), with mode directly interpretable as the most plausible between-participant scale for each coefficient. The residual scale, unlike the random-effect scales, is informed by every observation rather than by the 28 participant-level deviations, so its likelihood concentrates away from zero and no boundary-avoiding prior is needed; we therefore use a weakly informative HalfNormal(1), whose scale matches the standardized outcomes.
Most population-level coefficients receive weakly informative priors . For selected coefficients whose direction is specified by the working causal model, we use weak directional regularization by shifting the population-level prior mean and reducing its variance.
Posterior inference uses the No-U-Turn sampler (Hoffman, Gelman et al. 2014) with a non-centered parameterization of the random effects, implemented via PyMC (Abril-Pla et al. 2023). For , Y, and , we use four chains with 3,000 warm-up iterations followed by 2,000 retained draws per chain and target acceptance 0.99. For , we use 1,500 warm-up iterations followed by 1,000 retained draws per chain and target acceptance 0.95. We require no divergent transitions and maximum . The simulator uses posterior-mean participant-specific coefficients; residual noise is generated by the autoregressive residual bootstrap of Section E.6 from the fitted residuals, not from the Gaussian residual model.
Next-four-hour step count. For the log-transformed step count during the four hours following each activity-suggestion decision,
The baseline feature vector contains an intercept, the previous decision slot's outcome, yesterday's step count, a exponentially weighted average of same-slot four-hour step counts over the past seven days, prior two-hour step count, recent active-day fraction, recent burden, recent unprompted page views, recent Fitbit wear, recent interaction with delivered suggestions, yesterday's anticipated affect, weekday/weekend, morning/afternoon, previous-week CAE, and previous-week perceived utility.
The moderator vector contains yesterday's step count, prior two-hour step count, recent burden, recent page views, Fitbit wear, suggestion interaction, yesterday's anticipated affect, decision time, previous-week CAE, and previous-week perceived utility.
Unless otherwise specified, coefficients random-effect-SD mode 0.15. Recent burden receives a mildly negative prior ( , , ), and its interaction with the activity suggestion receives ( , , ). Previous-week perceived utility, previous-week CAE, the suggestion main effect, and suggestion interactions with previous-week perceived utility and CAE receive weak positive prior centers with . These directional priors encode working population-level assumptions rather than fixed treatment effects.
Daily anticipated affect. For anticipated affect observed after the day’s activity-suggestion decisions,
The baseline feature vector contains an intercept, yesterday's anticipated affect, recent active-day fraction, weekday/weekend, previous-week perceived utility, previous-week CAE, and recent burden. Each decision-specific moderator vector contains an intercept, previous-week perceived utility, previous-week CAE, recent burden, and recent active-day fraction.
The prior specification parallels that for . Recent burden and its suggestion interactions receive weak negative prior centers, whereas previous-week perceived utility, previous-week CAE, the two suggestion main effects, and selected suggestion interactions receive weak positive prior centers. All remaining coefficients receive weakly informative zero-centered priors.
Weekly CAE. Weekly CAE is generated from
The weekly feature vector contains
-
an intercept;
-
last week's CAE;
-
week in study;
-
exponentially weighted average of the within-week four-hour step-count mediators ;
-
exponentially weighted average of the within-week daily anticipated-affect mediators .
The within-week summaries use normalized exponentially decaying weights with across the 14 MRT decision slots and across the seven daily anticipated-affect measurements. When some values needed for a weekly summary are unavailable, missing values are replaced using the prespecified within-week imputation rule before the weighted summary is computed.
The intercept and week-in-study keep random-effect-SD mode 0.1. The remaining three components each have a positive prior mean and a tight (mode 0.15): the autoregressive term is centered at 0.4, and the step-count and anticipated-affect averages are centered at 0.15 and 0.3, respectively; the two averages are highly correlated in the training data ( ), and these mild centers prevent the fit from arbitrarily reallocating their shared signal.
Short CAE. The short CAE measurement is generated conditionally on full weekly CAE:
where contains an intercept and . Both coefficients receive weakly informative priors.
E.3 Perceived-Utility Process
We represent perceived utility using a participant-specific latent state-space model. The latent state evolves jointly with engagement-related mediators and weekly emissions: unprompted page views , Fitbit wear , daily check-in completion , weekly check-in completion , and the two weekly perceived-utility items and .
The final state-space model is fit independently for each MRT participant; no final model coefficient is shared across participants. A pooled fit is used only to initialize the participant-specific optimization described below. We suppress the participant index in this subsection. The initial latent state is fixed at , which anchors the location of the participant-specific latent process.
Latent transition. For ,
where stacks an intercept, the previous state , and the realized weekly mediator summaries , , and . Writing , the coefficient captures week-to-week persistence and , , capture feedback through realized engagement. The weekly summaries are
Weekly emissions. For ,
(37)
The two perceived-utility items are observed only when the participant completes the weekly check-in. Because weekly completion is itself modeled conditional on , the joint likelihood explicitly represents engagement-related survey non-response under the working state-space model.
Carry-over from the weekly check-in. Participation in the weekly check-in immediately preceding the current week may affect subsequent engagement. Each within-week engagement model therefore includes the carry-over term
where denotes recent intervention burden and k indexes the relevant mediator model.
Decision-time page views. Page views are modeled using a two-part hurdle model. Let denote occurrence and let denote the standardized log page-view value, with zero-count slots placed at a fixed floor below the smallest positive value. Occurrence follows a logistic model and, conditional on occurrence, intensity follows a Gaussian model on the standardized log scale:
(39)
where both linear predictors share the same functional form,
with separate coefficients for occurrence and intensity . The baseline vector contains an intercept, the current state , the morning/afternoon indicator, the weekday/weekend indicator, recent burden, and the previous decision slot's standardized page-view value (a first-order autoregressive term); the moderator vector contains an intercept and , so that the effect of a walking suggestion on engagement may depend on current perceived utility.
Daily mediators. Fitbit wear and daily check-in completion follow participant-specific logistic models:
for . The baseline vectors contain an intercept, , the weekday/weekend indicator, recent burden, and the previous day's value of the same mediator (a first-order autoregressive term); each moderator vector contains an intercept and .
E.3.0.0.1 Estimation Because is one-dimensional, we evaluate the state-space likelihood by deterministic quadrature. Filtering is performed on a fixed grid with trapezoidal weights. Week 1 contributes its emission likelihood at the fixed initial state . For each subsequent week, the filtered distribution is propagated through the Gaussian transition (35), multiplied by the current week's emission likelihood, and renormalized.
Estimation proceeds in two stages. Stage 1 maximizes the summed penalized log-likelihood across participants using a shared parameter vector and a coarse grid ; this fit is used only to obtain a stable common initialization. Stage 2 fits each participant separately using a finer grid , initialized at the Stage-1 solution.
In both stages we use the weighted quadratic penalty with and . Intercepts and log residual noise scales are unpenalized. In Stage 1, all penalized coefficients are centered at zero. In Stage 2, selected coefficients receive weak directional centers of magnitude 0.05 based on the working causal model: the three transition feedback coefficients, the slopes in the page-view, wear, and check-in models, and the suggestion-by- interactions are centered in the positive direction, whereas the suggestion main effects in the engagement models are centered in the negative direction. All remaining penalized coefficients are shrunk toward zero.
Two additional penalties are used to discourage unstable latent dynamics. First, the direct persistence coefficient is constrained to . Second, we monitor the first-order compound feedback gain
The derivatives are local linearizations of the fitted emission models; logistic derivatives are conservatively bounded using the maximum Bernoulli slope 1/4, and the page-view derivative combines the occurrence and positive-intensity components of the hurdle model. The gain is evaluated under the extreme suggestion and weekly-check-in configurations used in the stability analysis below.
A finite barrier
strongly penalizes parameter configurations approaching or exceeding unit feedback gain. A lighter penalty is retained to discourage from approaching its box constraint. The residual scales are parameterized on the log scale and constrained to [0.03, 10].
E.4 Additional Time-Varying Variables
The remaining time-varying variables are fit separately for each participant using -penalized regression. The penalty is selected by cross-validation over a common prespecified grid; when a participant has insufficient observations for cross-validation, a fixed unit penalty is used.
For prior two-hour step count,
where the features include an intercept, an exponentially weighted average of same-slot two-hour step counts over the past seven days, weekday/weekend indicator, and morning/afternoon indicator.
For interaction with a delivered activity suggestion,
where contains an intercept, the fraction of delivered walking suggestions interacted with over the past seven days, weekday/weekend indicator, and morning/afternoon indicator.
Daily active status is modeled as
where contains an intercept, the fraction of active days over the past seven days, and weekday/weekend indicator.
E.5 Stability Diagnostics
The fitted MRT models are used to simulate trajectories substantially longer than those observed during model fitting. We therefore perform local stability diagnostics to identify parameterizations for which feedback between weekly states and within-week mediators would cause the simulated process to be dominated by its clipping boundaries.
Perceived utility. For perceived utility, the state influences directly through the persistence coefficient and indirectly through the week-w mediators, whose weekly summaries enter the transition (35). Its local gain is
We evaluate this quantity under the extreme never-suggest and always-suggest regimes and under both values of the weekly-check-in carry-over indicator. Each fitted participant model is required to satisfy for all evaluated configurations.
Weekly CAE. For weekly CAE, last week's outcome enters the CAE model directly and through the week-w step-count and anticipated-affect mediators, each of which includes (and its suggestion interactions) as a covariate. The corresponding gain is
where is the autoregressive coefficient and , are the loadings on the two within-week mediator summaries. The mediator derivatives incorporate both baseline and action-interaction terms and are evaluated under never-suggest and always-suggest. We require under both regimes for every fitted participant model.
The same diagnostics are repeated after any treatment-effect calibration used to construct alternative simulation environments.
E.6 Generating Data from the Testbed
A simulated participant is associated with one of the fitted MRT participant models. Experimental sampling of participant types is described separately in Section G. Conditional on the selected participant type, variables are generated sequentially according to the temporal ordering of the fitted models, with activity-suggestion actions supplied by the policy being evaluated.
For a continuous variable Z with fitted conditional mean and simulated residual , we generate
and clip the result to the prespecified support derived from the MRT training data:
with limits taken from the observed range of the training data. The latent perceived-utility state is generated analogously using
and clipped to , matching the support used for quadrature during estimation.
The weekly perceived-utility items are generated on the fitted continuous scale and then mapped to the allowable 1 - 7 response scale. Binary variables, including weekly and daily check-in completion, Fitbit wear, active-day status, suggestion interaction, and page-view occurrence, are generated directly from their fitted Bernoulli probabilities. No additional residual perturbation is added to a fitted Bernoulli probability.
Page views are generated from the fitted hurdle model. Occurrence is first sampled from the Bernoulli component. If no page view occurs, the mediator is assigned the prespecified standardized zero-count value. Conditional on occurrence, positive intensity is generated from the fitted intensity model with a bootstrapped continuous residual and is bounded below by the standardized value corresponding to one page view.
For continuous observed streams, residual variation is generated using a participant-specific AR(1) residual bootstrap. Let be the fitted residuals for participant and stream , with empirical mean and lag-one autocorrelation , truncated to . The simulated residual sequence follows
where the initial value is sampled from the participant’s residual pool and is sampled with replacement from the mean-centered residual pool . This construction approximately preserves the participant-specific marginal residual distribution and first-order serial dependence without replaying the observed residual sequence deterministically.
For the four streams most directly related to the primary outcome—weekly CAE, short CAE, anticipated affect, and next-four-hour step count—participants with limited residual information use a partially pooled innovation distribution that combines their participant-specific residual pool with a population residual pool. Population residuals are re-centered to the participant-specific residual mean before sampling. This prevents extremely sparse participant-specific residual pools from producing unrealistically low or unstable innovation variance while retaining participant-specific location and, when estimable, serial dependence.
Initial states are taken from each participant’s observed MRT history at study entry, and the perceived-utility state is initialized at , matching the estimation convention.
In addition to serial residual dependence, the generator explicitly represents two cross-component relationships. First, AM next-four-hour step count is linked to same-day PM prior-two-hour step count. Let denote the centered and scaled AM next-four-hour step-count residual after generation and the corresponding baseline PM prior-two-hour step residual. We generate the adjusted PM residual as
where and are the participant-specific residual mean and standard deviation. We set , based on the pooled fitted-residual correlation of 0.2997 across 1,709 aligned MRT pairs.
Second, suggestion interaction is linked to page-view occurrence. At occasions with a delivered suggestion, interaction is generated first and the page-view occurrence probability is then adjusted according to
Separate AM and PM offset-logistic calibrations give for AM and then for PM. Conditional on page-view occurrence, positive intensity is generated from its fitted conditional mean and continuous residual. Other cross-component dependence propagates through the evolving simulated history and the shared CAE and perceived-utility states rather than through additional residual coupling.
E.7 Standardized Testbed Effect
To characterize the strength of the activity-suggestion signal relative to within-participant stochastic variation, we define a standardized testbed effect (STE). This is a calibration metric for the simulation environment, not a measure of the performance of the online RLSVI algorithm.
Let the fitted participant-specific simulators define an empirical population of simulator types indexed by . For a policy , define the undiscounted cumulative CAE over a W-week trajectory by
Let denote the never-suggest policy.
For STE calculation only, the weekly check-in channel is held fixed across policies so that the comparison isolates the activity-suggestion pathway. In particular, the full weekly CAE is made available at every weekly update under both the reference policy and .
Reference-policy effect. For each simulator type i, we construct a high-performing reference policy using the simulator-specific procedure described below. Define
where the expectation and variance are over simulator randomness.
The average STE is
Thus, each simulator type’s improvement is standardized by its own trajectory-level variation under never-suggest before averaging across types. This choice targets intervention signal relative to the stochastic variation faced within an individual trajectory rather than between-participant heterogeneity.
The STE should be interpreted as an upper-reference signal metric. The reference policy has access to complete weekly CAE observations and is not subject to the online algorithm’s clipping constraint on randomization probabilities. It therefore has an informational and policy-class advantage over the deployed RLSVI learner.
Construction of the reference policy. Because the optimal policy of each nonlinear simulator is not available analytically, we approximate a high-performing simulator-specific policy using offline RL. For each simulator type i, we generate trajectories of length under a behavior policy that independently sends each activity suggestion with probability 0.5. Weekly CAE is assigned as the reward at the final controlled decision time of each week. We then fit discrete conservative Q-learning (CQL), using discount factor one within each week and 0.9 across weekly boundaries. The fitted deterministic reference policy is
Training, checkpoint selection, and final evaluation use disjoint simulator seeds. During training, candidate checkpoints are scored periodically on an independent selection set, and the checkpoint with the largest paired improvement over never-suggest is retained. Because this maximization is optimistically biased, the reported STE is computed on a separate, independent test set that plays no role in training or checkpoint selection.
On the test set, the reference and never-suggest policies are evaluated using common random numbers. For episode , the same simulator seed is used for both policies, yielding paired cumulative outcomes and . We estimate
and
The estimated population STE is
Implementation Details. The CQL Q-function uses two hidden layers with 128 and 64 units and a fixed 20-dimensional state representation containing calendar features, the agent-computable perceived-utility proxy, the previous week's realized CAE, within-week mediator summaries, and decision-time context. Training uses gradient steps, batch size 256, learning rate , conservative penalty , and a target-network update every 500 gradient steps, based on behavior-policy trajectories. Checkpoint selection uses 200 independent episodes, and final evaluation uses paired episodes per simulator type.
E.8 Simulation-Environment Variants
The fitted MRT models define the vanilla testbed (STE = 0.479). To evaluate the algorithms under weaker and stronger intervention signal, we construct variants by rescaling fitted coefficients along prespecified causal pathways, leaving all other model components unchanged.
The low-signal testbed strengthens the burden chain with a single tuning constant : the main action effects on the three engagement mediators ( occurrence and intensity, , ) are shifted by ; the mediator-to-state transition loadings ( ) and the state-to-mediator legs (
are shifted by , so that suggestions suppress engagement, suppressed engagement lowers the next week's state, and the lowered state reaches CAE.
The high-signal testbed strengthens the benefit chain : the full action blocks of the step-count and affect models — main effects and all fitted action-state interactions — are multiplied by , preserving each participant's moderation structure, and the step-count-to-CAE loading receives a small compensating shift, with .
Each variant’s is calibrated by root finding against a fast Monte-Carlo proxy of the STE and then confirmed with the full reference-policy procedure of Section E.7, giving (low) and 0.813 (high). Priors supplied to the online algorithms are not refit on the tuned environments, mirroring deployment, where working models are calibrated on historical data from a source environment.
F Simulator Validation
We validate the vanilla simulator in two steps. We first examine fitted-model residuals to identify temporal and cross-variable dependence remaining after model fitting, and then assess whether the connected simulator reproduces the observed MRT trajectories.
F.1 Component-Model Diagnostics
The fitted component models are specified in Section E. Here, we assess whether their conditional means and probabilities reproduce the observed MRT data and examine temporal and cross-variable dependence remaining after model fitting. These diagnostics identify residual structure that is carried into the stochastic generator used to construct participant trajectories.
CAE-related Gaussian model fit. For each CAE-related Gaussian component Z, we examine the participant-conditional residual , where is the fitted conditional mean for participant i at observation j. Thus, the residual represents variation remaining after accounting for the participant-specific history, actions, and other predictors included in the fitted model. Because these conditional models form the deterministic backbone of the simulator, structure remaining in their residuals indicates stochastic variation or dependence that must be represented separately during simulation.
Figures 3–6 show the residuals for weekly CAE, short CAE, next-four-hour step count, and anticipated affect. Across the four components, residuals generally fluctuate around zero, suggesting little systematic level discrepancy after conditioning on the fitted predictors. Their dispersion and occasional larger deviations nevertheless differ across participants and components. We therefore next examine whether this remaining variation also contains temporal or cross-variable dependence before specifying the stochastic generator.
Bernoulli component fit. For each Bernoulli component , we compare the observed outcome with its participant-specific fitted probability and define the residual as . We assess mean calibration by comparing the observed event rate with the mean fitted probability , and probabilistic accuracy using the Brier score (Glenn et al. 1950), , where smaller values indicate more accurate probability predictions.
Table 5 reports these diagnostics for page-view occurrence, Fitbit wear, daily and weekly check-in completion, active-day status, and suggestion interaction. The observed rates and mean fitted probabilities are closely aligned for the three perceived-utility-related mediators: the largest participant-level absolute differences are 0.011 for page-view occurrence, 0.010 for Fitbit wear, and 0.018 for daily check-in completion. Suggestion interaction is also closely reproduced, with a largest discrepancy of 0.046. Larger differences occur for weekly check-in completion and active-day status, primarily for participants with limited variation or few observed outcomes. Overall, the fitted Bernoulli models reproduce participant-specific event rates well for the engagement processes most directly entering the perceived-utility dynamics, while leaving residual variation to be examined for temporal and cross-variable dependence.
Auxiliary continuous component fit. For prior-two-hour steps, positive page-view intensity, helpfulness, and pleasantness, we assess participant-specific fit using residuals defined as the transformed observed outcome minus its fitted conditional mean. We summarize residual location by the participant-specific mean residual and residual magnitude by the root mean squared error (RMSE).
Table 6 reports these diagnostics for prior-two-hour steps and positive page-view intensity. Mean residuals remain close to zero across participants, ranging from -0.067 to 0.038 for prior-two-hour steps and from -0.026 to 0.034 for positive page-view intensity, although residual dispersion varies across participants. The smallest page-view errors occur for some participants with very few positive page-view observations, so they provide limited information about fit across a broader range of intensities. Table 7 shows a similar pattern for helpfulness and pleasantness, with participant-specific mean residuals ranging from -0.019 to 0.059 and from -0.022 to 0.041, respectively. Overall, these models show little systematic mean discrepancy while retaining participant-specific residual variation for the subsequent dependence diagnostics.
Temporal residual dependence. After assessing conditional fit, we examine whether the fitted residuals retain serial dependence at the time scale of each process. For weekly components, we calculate participant-specific correlations between residuals at consecutive assessment weeks. For daily components, we examine lags of one and seven calendar days, corresponding to adjacent days and the same weekday in successive weeks. For decision-time components, we examine AM-to-same-day-PM and PM-to-next-day-AM residual correlations. Tables 8, 9, and 10 report these correlations together with the number of available residual pairs.
The diagnostics show residual temporal structure beyond the fitted conditional means and probabilities. Most notably, weekly CAE residual correlations are negative for all 21 participants with reportable values, ranging from -0.728 to -0.017. The other weekly components show more heterogeneous dependence across participants. At the daily scale, residual dependence is also evident for some participants, including a lag-one Fitbit-wear correlation of 0.554 for participant 21 and a lag-seven daily-check-in correlation of 0.370 for participant 11. Decision-time residual dependence is generally more modest for next-four-hour step count, but stronger associations remain for some auxiliary and engagement components. Overall, the direction and magnitude of residual dependence vary across participants and processes, indicating that independent residual draws would not adequately represent the remaining within-participant dynamics and motivating participant- and component-specific serial dependence in the stochastic generator.
Cross-variable residual dependence. We next examine whether residuals from different component models remain associated after conditioning on their fitted predictors. Weekly residuals are aligned by assessment week, daily residuals by calendar day, and decision-time residuals by AM or PM occasion. We additionally compare AM next-four-hour step-count residuals with same-day PM prior-two-hour step-count residuals because their measurement windows overlap. Tables 11–13 and Tables 14–17 report the participant-specific correlations and available pair counts.
The weekly and daily associations vary substantially in sign and magnitude across participants, without a common cross-variable pattern. Two decision-time relationships are more systematic. AM next-four-hour step-count and same-day PM prior-two-hour step-count residuals are positively correlated for 25 of the 27 participants with available pairs. Suggestion-interaction and page-view-occurrence residuals are positive for all 27 participants with reportable AM correlations, while the PM associations are more heterogeneous. These recurring relationships indicate cross-component dependence not captured by the fitted conditional models and motivate the corresponding dependence mechanisms in the stochastic generator.
Residual dependence in the stochastic generator. The residual diagnostics above inform the stochastic component of the simulator. For continuous streams, participant-specific residual sequences are generated with an AR(1)-style bootstrap that carries first-order serial dependence into simulated trajectories, with partial pooling when participant-specific residual information is limited. The two systematic cross-component relationships identified above are also represented explicitly during generation: AM next-four-hour step count informs same-day PM prior-two-hour step count, and suggestion interaction informs page-view occurrence. Other dependence propagates through the evolving simulated history and the shared CAE and perceived-utility states. Full generation procedures are provided in Section E.6.
F.2 Simulator-Level Validation
At the simulator level, we assess whether the fitted components, when linked through the evolving simulated history, reproduce the participant-specific trajectories observed in the MRT. For each of the 28 participant models, we generate 100 trajectories over MRT study weeks 2–12 using the participant's recorded activity-suggestion sequence and matched initial history. Fitted parameters are held fixed, while generated values recursively update subsequent states and history summaries. We compare the observed MRT measurements with pointwise 95% simulation intervals defined by the 2.5th and 97.5th percentiles of the 100 simulated trajectories.
Main trajectory reproduction. Figures 7, 9, and 10 compare the observed and simulated trajectories for weekly CAE, next-four-hour step count, and anticipated affect, while Figures 11, 13, and 14 show the three perceived-utility-related mediators. To summarize agreement across participants, we first calculate within each participant the proportion of observed MRT measurements that fall within the pointwise 95% simulation interval and then average these proportions equally across the 28 participants. The resulting participant-averaged coverage is 92.7% for weekly CAE, 89.9% for next-four-hour step count, and 93.8% for anticipated affect. The corresponding coverages for page-view occurrence, Fitbit wear, and daily check-in completion are 97.4%, 97.4%, and 98.4%, respectively, giving an average of 97.7% across the three perceived-utility-related mediators.
The trajectory plots also show that the simulator retains substantial participant heterogeneity in outcome and mediator levels. For example, the CAE trajectories preserve the lower level of participant 18, the higher levels of participants 2 and 16, and broad declines for participants 9 and 25. The step-count and anticipated-affect trajectories similarly retain large between-participant differences in their typical levels. Agreement is less uniform for some localized changes and extreme observations, indicating that the simulator reproduces the broader participant-specific trajectory structure more consistently than every individual fluctuation.
Supporting trajectory reproduction. The remaining trajectory diagnostics provide complementary checks on the observation and engagement processes. Figure 8 shows that short CAE largely follows the participant-level patterns reproduced for full CAE, as expected from its conditional generation model. Figure 12 shows that the simulator retains substantial heterogeneity in positive page-view intensity, although these comparisons are less informative for participants with few positive page-view occasions. Figures 15–17 similarly preserve broad differences across participants in weekly assessment completion, usefulness, and pleasantness. As with the main processes, agreement is stronger for participant-specific levels and broad longitudinal patterns than for every local change over time.
Long-horizon stability. Because the candidate RL algorithms are evaluated over the planned 36-week study horizon, we also examine simulator behavior beyond the MRT observation period. We generate 100 trajectories for each of the 28 participant models under never-send, always-send, and Bernoulli(0.5) suggestion policies, yielding 8,400 trajectories in total. Figures 18–20 show the corresponding 36-week CAE trajectories under the three policies. All 8,400 trajectories complete with finite generated outcomes. Some participant-specific boundary concentration remains, including latent perceived utility for participant 18 and low FourSC values for participant 22. Thus, the simulator remains numerically stable over the planned study horizon, while retaining policy- and participant-specific differences in long-run behavior.
CAE residual (standardized fitting scale)

Study week
Figure 3: Participant-conditional CAE residuals for the 28 fitted participant models. Residuals are expressed on the standardized fitting scale and plotted against study week. Points denote observed assessments, lines connect consecutive observed weeks, and dashed horizontal lines mark zero.
Short CAE residual (standardized fitting scale)

Study week
Figure 4: Participant-conditional short CAE residuals for the 28 fitted participant models. Residuals are expressed on the standardized short CAE fitting scale. Points denote observed assessments, lines connect consecutive observed weeks, and dashed horizontal lines mark zero. All panels use common axes and the participant order established for CAE.
FourSC residual (standardized fitting scale)

Decision time
Figure 5: Participant-conditional FourSC residuals for the 28 fitted participant models. Points show observed residuals on the standardized log-step-count fitting scale, and dashed lines mark zero. All panels use common axes.
Anticipated affect residual (normalized fitting scale)

Study day
Figure 6: Participant-conditional anticipated-affect residuals for the 28 fitted participant models. Points show observed residuals on the normalized fitting scale, and dashed lines mark zero. All panels use common axes.
Table 5: Participant-specific Bernoulli model-fit diagnostics.
| Participant | Page-view occurrence | Fitbit wear | Daily check-in | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n | BS | n | BS | n | BS | |||||||
| 1 | 154 | 0.416 | 0.418 | 0.234 | 76 | 0.842 | 0.847 | 0.129 | 77 | 0.714 | 0.717 | 0.168 |
| 2 | 154 | 0.377 | 0.375 | 0.224 | 76 | 0.895 | 0.896 | 0.089 | 77 | 0.662 | 0.662 | 0.131 |
| 3 | 154 | 0.026 | 0.029 | 0.023 | 77 | 0.883 | 0.879 | 0.086 | 77 | 0.221 | 0.214 | 0.146 |
| 4 | 154 | 0.292 | 0.288 | 0.136 | 76 | 0.803 | 0.804 | 0.151 | 77 | 0.169 | 0.187 | 0.096 |
| 5 | 154 | 0.130 | 0.130 | 0.111 | 76 | 0.868 | 0.866 | 0.083 | 77 | 0.156 | 0.157 | 0.087 |
| 6 | 154 | 0.091 | 0.094 | 0.068 | 76 | 0.816 | 0.817 | 0.137 | 77 | 0.818 | 0.821 | 0.123 |
| 7 | 154 | 0.117 | 0.112 | 0.097 | 76 | 0.684 | 0.682 | 0.178 | 77 | 0.130 | 0.124 | 0.102 |
| 8 | 154 | 0.468 | 0.468 | 0.180 | 77 | 0.974 | 0.976 | 0.025 | 77 | 0.610 | 0.615 | 0.194 |
| 9 | 154 | 0.429 | 0.427 | 0.184 | 77 | 0.740 | 0.744 | 0.122 | 77 | 0.714 | 0.716 | 0.154 |
| 10 | 154 | 0.532 | 0.539 | 0.204 | 76 | 0.961 | 0.961 | 0.034 | 77 | 0.532 | 0.520 | 0.221 |
| 11 | 154 | 0.468 | 0.469 | 0.135 | 76 | 0.921 | 0.923 | 0.068 | 77 | 0.597 | 0.597 | 0.211 |
| 12 | 154 | 0.325 | 0.314 | 0.177 | 77 | 0.299 | 0.296 | 0.091 | 77 | 0.182 | 0.167 | 0.133 |
| 13 | 154 | 0.318 | 0.317 | 0.171 | 77 | 0.792 | 0.792 | 0.154 | 77 | 0.753 | 0.762 | 0.165 |
| 14 | 154 | 0.338 | 0.337 | 0.212 | 77 | 0.740 | 0.747 | 0.183 | 77 | 0.468 | 0.465 | 0.209 |
| 15 | 154 | 0.214 | 0.208 | 0.157 | 76 | 0.947 | 0.952 | 0.037 | 77 | 0.078 | 0.090 | 0.071 |
| 16 | 154 | 0.208 | 0.209 | 0.149 | 77 | 0.688 | 0.697 | 0.189 | 77 | 0.403 | 0.406 | 0.216 |
| 17 | 154 | 0.636 | 0.631 | 0.082 | 76 | 0.987 | 0.987 | 0.012 | 77 | 0.987 | 0.980 | 0.009 |
| 18 | 154 | 0.188 | 0.186 | 0.123 | 76 | 0.974 | 0.973 | 0.024 | 77 | 0.208 | 0.209 | 0.140 |
| 19 | 154 | 0.084 | 0.075 | 0.071 | 77 | 0.532 | 0.537 | 0.197 | 77 | 0.078 | 0.083 | 0.063 |
| 20 | 154 | 0.273 | 0.264 | 0.183 | 76 | 0.816 | 0.824 | 0.113 | 77 | 0.221 | 0.212 | 0.151 |
| 21 | 154 | 0.013 | 0.011 | 0.012 | 77 | 0.961 | 0.958 | 0.019 | 77 | 0.649 | 0.646 | 0.159 |
| 22 | 154 | 0.032 | 0.032 | 0.028 | 76 | 0.908 | 0.908 | 0.071 | 77 | 0.078 | 0.078 | 0.064 |
| 23 | 154 | 0.149 | 0.150 | 0.121 | 76 | 0.750 | 0.749 | 0.166 | 77 | 0.286 | 0.288 | 0.186 |
| 24 | 154 | 0.188 | 0.193 | 0.146 | 77 | 0.948 | 0.947 | 0.038 | 77 | 0.117 | 0.112 | 0.082 |
| 25 | 154 | 0.571 | 0.571 | 0.164 | 76 | 0.987 | 0.990 | 0.012 | 77 | 0.701 | 0.701 | 0.200 |
| 26 | 154 | 0.500 | 0.499 | 0.166 | 76 | 0.934 | 0.935 | 0.054 | 77 | 0.883 | 0.882 | 0.094 |
| 27 | 154 | 0.299 | 0.306 | 0.154 | 76 | 0.316 | 0.306 | 0.144 | 77 | 0.260 | 0.273 | 0.169 |
| 28 | 154 | 0.286 | 0.286 | 0.199 | 76 | 0.829 | 0.834 | 0.114 | 77 | 0.558 | 0.560 | 0.244 |
| Participant | Weekly check-in | Active status | Suggestion interaction | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n | BS | n | BS | n | BS | |||||||
| 1 | 11 | 1.000 | 0.995 | 0.000 | 12 | 0.583 | 0.555 | 0.232 | 75 | 0.200 | 0.221 | 0.147 |
| 2 | 11 | 1.000 | 0.903 | 0.010 | 13 | 0.923 | 0.812 | 0.081 | 87 | 0.276 | 0.297 | 0.122 |
| 3 | 11 | 0.545 | 0.561 | 0.229 | 13 | 0.538 | 0.512 | 0.246 | 70 | 0.029 | 0.062 | 0.029 |
| 4 | 11 | 0.455 | 0.492 | 0.247 | 7 | 1.000 | 1.000 | 0.000 | 82 | 0.220 | 0.238 | 0.149 |
| 5 | 11 | 0.273 | 0.254 | 0.194 | 10 | 0.800 | 0.734 | 0.161 | 67 | 0.119 | 0.152 | 0.097 |
| 6 | 11 | 1.000 | 0.998 | 0.000 | 6 | 1.000 | 1.000 | 0.000 | 81 | 0.296 | 0.315 | 0.184 |
| 7 | 11 | 0.636 | 0.605 | 0.203 | 2 | 1.000 | 1.000 | 0.000 | 77 | 0.143 | 0.179 | 0.124 |
| 8 | 11 | 1.000 | 0.995 | 0.000 | 15 | 0.800 | 0.737 | 0.140 | 75 | 0.813 | 0.809 | 0.126 |
| 9 | 11 | 0.909 | 0.920 | 0.079 | 14 | 0.429 | 0.470 | 0.182 | 69 | 0.681 | 0.687 | 0.172 |
| 10 | 11 | 0.818 | 0.844 | 0.113 | 18 | 0.667 | 0.593 | 0.229 | 91 | 0.615 | 0.616 | 0.193 |
| 11 | 11 | 1.000 | 0.985 | 0.000 | 36 | 0.639 | 0.607 | 0.229 | 73 | 0.890 | 0.876 | 0.089 |
| 12 | 11 | 0.545 | 0.586 | 0.248 | 14 | 0.357 | 0.390 | 0.221 | 83 | 0.434 | 0.446 | 0.211 |
| 13 | 11 | 0.818 | 0.831 | 0.147 | 34 | 0.529 | 0.520 | 0.231 | 73 | 0.658 | 0.663 | 0.150 |
| 14 | 11 | 0.818 | 0.756 | 0.152 | 24 | 0.917 | 0.871 | 0.079 | 66 | 0.500 | 0.510 | 0.215 |
| 15 | 11 | 0.273 | 0.238 | 0.174 | 2 | 0.500 | 0.478 | 0.223 | 72 | 0.264 | 0.307 | 0.192 |
| 16 | 11 | 1.000 | 0.989 | 0.000 | 23 | 0.348 | 0.374 | 0.210 | 78 | 0.449 | 0.465 | 0.241 |
| 17 | 11 | 1.000 | 0.994 | 0.000 | 74 | 0.649 | 0.641 | 0.222 | 81 | 1.000 | 1.000 | 0.000 |
| 18 | 11 | 0.818 | 0.762 | 0.129 | 6 | 0.333 | 0.385 | 0.217 | 70 | 0.300 | 0.311 | 0.194 |
| 19 | 11 | 0.455 | 0.469 | 0.137 | 6 | 0.833 | 0.692 | 0.156 | 74 | 0.095 | 0.122 | 0.086 |
| 20 | 11 | 0.545 | 0.493 | 0.252 | 13 | 0.615 | 0.562 | 0.239 | 67 | 0.343 | 0.365 | 0.218 |
| 21 | 11 | 0.545 | 0.512 | 0.175 | 50 | 0.660 | 0.644 | 0.222 | 85 | 0.518 | 0.525 | 0.139 |
| 22 | 11 | 0.091 | 0.082 | 0.082 | 3 | 0.667 | 0.542 | 0.236 | 98 | 0.051 | 0.075 | 0.049 |
| 23 | 11 | 0.818 | 0.833 | 0.138 | 12 | 1.000 | 1.000 | 0.000 | 110 | 0.218 | 0.230 | 0.156 |
| 24 | 11 | 0.091 | 0.088 | 0.081 | 6 | 0.667 | 0.603 | 0.202 | 72 | 0.236 | 0.257 | 0.161 |
| 25 | 11 | 1.000 | 0.991 | 0.000 | 25 | 0.280 | 0.304 | 0.193 | 78 | 0.897 | 0.881 | 0.093 |
| 26 | 11 | 1.000 | 0.992 | 0.000 | 20 | 0.650 | 0.623 | 0.220 | 50 | 0.980 | 0.934 | 0.021 |
| 27 | 11 | 0.364 | 0.340 | 0.228 | 13 | 0.769 | 0.722 | 0.172 | 78 | 0.474 | 0.485 | 0.234 |
| 28 | 11 | 1.000 | 0.904 | 0.009 | 21 | 0.714 | 0.675 | 0.204 | 108 | 0.509 | 0.520 | 0.209 |
Table 6: Participant-specific fit diagnostics for prior two-hour steps and positive page-view intensity.
| Participant | Prior two-hour steps | Positive page-view intensity | ||||
|---|---|---|---|---|---|---|
| n | Mean residual | RMSE | n | Mean residual | RMSE | |
| 1 | 134 | 0.005 | 0.808 | 64 | 0.002 | 0.814 |
| 2 | 141 | 0.019 | 1.266 | 58 | 0.008 | 0.848 |
| 3 | 139 | -0.012 | 0.813 | 4 | 0.000 | 0.002 |
| 4 | 132 | 0.008 | 0.670 | 45 | 0.017 | 0.574 |
| 5 | 132 | -0.004 | 0.927 | 20 | -0.020 | 0.694 |
| 6 | 125 | -0.004 | 1.079 | 14 | 0.002 | 0.332 |
| 7 | 113 | -0.002 | 0.821 | 18 | 0.000 | 0.519 |
| 8 | 153 | 0.007 | 0.746 | 72 | 0.001 | 0.616 |
| 9 | 118 | 0.000 | 0.871 | 66 | 0.003 | 0.934 |
| 10 | 150 | 0.007 | 0.778 | 82 | -0.006 | 0.884 |
| 11 | 106 | 0.012 | 0.702 | 72 | -0.004 | 0.694 |
| 12 | 51 | -0.067 | 1.131 | 50 | -0.007 | 0.555 |
| 13 | 136 | -0.002 | 0.858 | 49 | 0.003 | 0.628 |
| 14 | 122 | 0.018 | 0.688 | 52 | 0.007 | 0.822 |
| 15 | 144 | -0.007 | 1.302 | 33 | 0.032 | 0.589 |
| 16 | 114 | -0.004 | 0.618 | 32 | -0.014 | 0.708 |
| 17 | 143 | -0.006 | 0.759 | 98 | 0.007 | 0.627 |
| 18 | 152 | 0.008 | 0.894 | 29 | 0.001 | 1.024 |
| 19 | 87 | 0.010 | 1.069 | 13 | 0.000 | 0.826 |
| 20 | 127 | -0.009 | 0.970 | 42 | -0.026 | 0.793 |
| 21 | 149 | -0.011 | 1.038 | 2 | 0.000 | 0.000 |
| 22 | 70 | -0.009 | 0.528 | 5 | 0.000 | 0.565 |
| 23 | 119 | 0.015 | 0.869 | 23 | 0.001 | 0.561 |
| 24 | 145 | 0.009 | 0.921 | 29 | 0.017 | 0.811 |
| 25 | 152 | 0.007 | 0.864 | 88 | 0.004 | 0.873 |
| 26 | 145 | 0.012 | 0.597 | 77 | -0.007 | 0.825 |
| 27 | 89 | 0.038 | 0.890 | 46 | 0.034 | 1.208 |
| 28 | 132 | 0.004 | 0.617 | 44 | 0.001 | 0.566 |
Table 7: Participant-specific model-fit diagnostics for the two perceived-utility items.
| Participant | Helpfulness | Pleasantness | ||||
|---|---|---|---|---|---|---|
| n | Mean residual | RMSE | n | Mean residual | RMSE | |
| 1 | 11 | -0.009 | 0.078 | 11 | 0.001 | 0.007 |
| 2 | 10 | -0.006 | 0.167 | 10 | 0.032 | 0.216 |
| 3 | 6 | 0.000 | 0.009 | 6 | 0.008 | 0.135 |
| 4 | 5 | -0.004 | 0.216 | 5 | 0.019 | 0.208 |
| 5 | 3 | 0.000 | 0.000 | 3 | 0.000 | 0.002 |
| 6 | 11 | 0.000 | 0.010 | 11 | -0.022 | 0.285 |
| 7 | 7 | 0.000 | 0.426 | 7 | 0.000 | 0.211 |
| 8 | 11 | -0.019 | 0.159 | 11 | 0.000 | 0.007 |
| 9 | 10 | 0.000 | 0.004 | 10 | -0.003 | 0.124 |
| 10 | 9 | 0.000 | 0.002 | 9 | 0.000 | 0.002 |
| 11 | 11 | 0.001 | 0.095 | 11 | 0.009 | 0.215 |
| 12 | 6 | 0.020 | 0.199 | 6 | 0.041 | 0.232 |
| 13 | 9 | 0.007 | 0.089 | 9 | -0.012 | 0.155 |
| 14 | 8 | 0.005 | 0.420 | 8 | -0.012 | 0.458 |
| 15 | 3 | 0.000 | 0.002 | 3 | 0.000 | 0.137 |
| 16 | 11 | 0.001 | 0.012 | 11 | -0.005 | 0.054 |
| 17 | 11 | -0.002 | 0.091 | 11 | -0.001 | 0.004 |
| 18 | 8 | -0.013 | 0.218 | 8 | -0.015 | 0.191 |
| 19 | 6 | 0.010 | 0.099 | 6 | 0.004 | 0.090 |
| 20 | 6 | -0.004 | 0.357 | 6 | 0.000 | 0.005 |
| 21 | 5 | 0.002 | 0.007 | 5 | 0.000 | 0.000 |
| 22 | 1 | 0.000 | 0.000 | 1 | 0.000 | 0.000 |
| 23 | 9 | 0.000 | 0.094 | 9 | 0.000 | 0.013 |
| 24 | 1 | 0.001 | 0.001 | 1 | 0.000 | 0.000 |
| 25 | 11 | -0.016 | 0.361 | 11 | 0.011 | 0.356 |
| 26 | 11 | 0.000 | 0.095 | 11 | 0.001 | 0.155 |
| 27 | 3 | 0.059 | 0.162 | 3 | -0.006 | 0.011 |
| 28 | 10 | 0.003 | 0.137 | 10 | 0.022 | 0.297 |
Table 8: Participant-specific one-week lagged residual correlations.
| Participant | CAE | Short CAE | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 10 | -0.111 | 10 | 0.113 | 10 | -0.549 | 10 | -0.009 | 10 | 0.167 |
| 2 | 9 | -0.723 | 9 | — | 9 | -0.305 | 9 | 0.195 | 10 | 0.250 |
| 3 | 4 | -0.152 | 4 | -0.789 | 4 | -0.284 | 4 | 0.197 | 10 | 0.370 |
| 4 | 1 | — | 1 | — | 1 | — | 1 | — | 10 | -0.306 |
| 5 | 1 | — | 1 | — | 1 | — | 1 | — | 10 | 0.002 |
| 6 | 10 | -0.261 | 10 | 0.462 | 10 | -0.263 | 10 | 0.528 | 10 | — |
| 7 | 5 | -0.372 | 5 | -0.319 | 5 | -0.181 | 5 | 0.055 | 10 | 0.045 |
| 8 | 10 | -0.655 | 10 | 0.041 | 10 | 0.113 | 10 | 0.161 | 10 | — |
| 9 | 8 | -0.414 | 8 | -0.210 | 8 | -0.241 | 8 | -0.118 | 10 | -0.143 |
| 10 | 7 | -0.175 | 7 | 0.036 | 7 | -0.177 | 7 | -0.177 | 10 | 0.127 |
| 11 | 10 | -0.350 | 10 | -0.320 | 10 | -0.084 | 10 | 0.097 | 10 | -0.449 |
| 12 | 2 | — | 2 | — | 2 | — | 2 | — | 10 | -0.202 |
| 13 | 7 | -0.670 | 7 | 0.371 | 7 | -0.257 | 7 | -0.002 | 10 | 0.379 |
| 14 | 5 | -0.728 | 5 | -0.006 | 5 | -0.517 | 5 | -0.464 | 10 | -0.320 |
| 15 | 0 | — | 0 | — | 0 | — | 0 | — | 10 | -0.525 |
| 16 | 10 | -0.594 | 10 | -0.798 | 10 | 0.475 | 10 | 0.577 | 10 | -0.542 |
| 17 | 10 | -0.017 | 10 | -0.544 | 10 | -0.105 | 10 | -0.429 | 10 | -0.249 |
| 18 | 6 | -0.568 | 6 | 0.372 | 6 | -0.666 | 6 | -0.040 | 10 | 0.055 |
| 19 | 5 | -0.687 | 5 | -0.237 | 5 | -0.131 | 5 | 0.180 | 10 | 0.641 |
| 20 | 3 | -0.606 | 3 | -0.998 | 3 | 0.870 | 3 | -0.550 | 10 | 0.013 |
| 21 | 3 | -0.317 | 3 | -0.915 | 3 | -0.419 | 3 | — | 10 | 0.629 |
| 22 | 0 | — | 0 | — | 0 | — | 0 | — | 10 | -0.113 |
| 23 | 6 | -0.390 | 6 | -0.147 | 6 | 0.515 | 6 | -0.428 | 10 | -0.241 |
| 24 | 0 | — | 0 | — | 0 | — | 0 | — | 10 | -0.060 |
| 25 | 10 | -0.662 | 10 | 0.001 | 10 | -0.220 | 10 | 0.181 | 10 | 0.826 |
| 26 | 10 | -0.457 | 10 | -0.134 | 10 | -0.133 | 10 | 0.293 | 10 | 0.816 |
| 27 | 0 | — | 0 | — | 0 | — | 0 | — | 10 | -0.335 |
| 28 | 9 | -0.229 | 9 | 0.221 | 9 | -0.221 | 9 | 0.173 | 10 | -0.211 |
Table 9: Participant-specific lagged residual correlations for daily components.
| Participant | Anticipated affect | Fitbit wear | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | 39 | -0.111 | 39 | 0.026 | 75 | 0.059 | 69 | 0.020 |
| 2 | 40 | 0.533 | 37 | 0.173 | 75 | 0.041 | 69 | -0.096 |
| 3 | 4 | 0.995 | 5 | 0.612 | 76 | 0.025 | 70 | 0.040 |
| 4 | 4 | 0.941 | 1 | — | 75 | -0.017 | 69 | -0.159 |
| 5 | 4 | -0.997 | 3 | 0.243 | 75 | 0.312 | 69 | -0.021 |
| 6 | 51 | -0.241 | 49 | 0.242 | 75 | -0.128 | 69 | -0.140 |
| 7 | 2 | — | 1 | — | 75 | -0.014 | 69 | 0.153 |
| 8 | 30 | 0.185 | 29 | 0.048 | 76 | 0.000 | 70 | 0.022 |
| 9 | 39 | -0.011 | 39 | -0.061 | 76 | 0.048 | 70 | 0.074 |
| 10 | 22 | -0.760 | 19 | -0.007 | 75 | 0.003 | 69 | -0.081 |
| 11 | 27 | -0.012 | 33 | -0.158 | 75 | -0.035 | 69 | -0.082 |
| 12 | 4 | 0.728 | 3 | -0.725 | 76 | -0.281 | 70 | 0.037 |
| 13 | 44 | 0.207 | 39 | 0.171 | 76 | 0.068 | 70 | 0.020 |
| 14 | 16 | 0.677 | 20 | -0.348 | 76 | 0.031 | 70 | 0.005 |
| 15 | 0 | — | 0 | — | 75 | -0.074 | 69 | 0.168 |
| 16 | 14 | 0.120 | 15 | 0.166 | 76 | 0.018 | 70 | -0.081 |
| 17 | 75 | -0.040 | 69 | 0.087 | 75 | 0.088 | 69 | 0.001 |
| 18 | 6 | 0.183 | 2 | — | 75 | -0.015 | 69 | -0.020 |
| 19 | 0 | — | 1 | — | 76 | -0.084 | 70 | 0.016 |
| 20 | 4 | 0.488 | 8 | -0.386 | 75 | 0.100 | 69 | -0.101 |
| 21 | 37 | 0.065 | 31 | -0.259 | 76 | 0.554 | 70 | 0.035 |
| 22 | 0 | — | 0 | — | 75 | 0.026 | 69 | -0.138 |
| 23 | 6 | 0.186 | 5 | 0.693 | 75 | 0.079 | 69 | 0.065 |
| 24 | 3 | -0.997 | 2 | — | 76 | -0.184 | 70 | -0.046 |
| 25 | 37 | -0.220 | 35 | -0.090 | 75 | -0.026 | 69 | -0.026 |
| 26 | 60 | -0.210 | 55 | 0.034 | 75 | -0.127 | 69 | 0.175 |
| 27 | 5 | -0.183 | 4 | 0.654 | 75 | 0.025 | 69 | 0.099 |
| 28 | 23 | -0.195 | 21 | -0.175 | 75 | 0.108 | 69 | 0.031 |
| Participant | Daily check-in | Active status | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | 76 | -0.058 | 70 | 0.092 | 1 | — | 3 | 0.345 |
| 2 | 76 | -0.120 | 70 | -0.118 | 2 | — | 1 | — |
| 3 | 76 | -0.016 | 70 | 0.054 | 2 | — | 2 | — |
| 4 | 76 | -0.064 | 70 | -0.070 | 1 | — | 0 | — |
| 5 | 76 | -0.154 | 70 | -0.135 | 3 | -0.703 | 2 | — |
| 6 | 76 | -0.142 | 70 | 0.246 | 0 | — | 1 | — |
| 7 | 76 | -0.010 | 70 | -0.042 | 0 | — | 0 | — |
| 8 | 76 | 0.008 | 70 | -0.031 | 3 | -1.000 | 3 | — |
| 9 | 76 | -0.090 | 70 | 0.159 | 4 | 0.707 | 4 | 0.095 |
| 10 | 76 | -0.036 | 70 | 0.006 | 5 | -0.389 | 3 | 0.916 |
| 11 | 76 | 0.039 | 70 | 0.370 | 16 | 0.190 | 19 | -0.081 |
| 12 | 76 | -0.015 | 70 | 0.052 | 4 | 0.535 | 3 | -0.999 |
| 13 | 76 | -0.004 | 70 | 0.066 | 17 | 0.332 | 15 | -0.343 |
| 14 | 76 | -0.086 | 70 | 0.219 | 5 | -0.361 | 8 | -0.294 |
| 15 | 76 | -0.018 | 70 | -0.088 | 0 | — | 0 | — |
| 16 | 76 | -0.035 | 70 | 0.101 | 8 | -0.209 | 7 | -0.386 |
| 17 | 76 | 0.056 | 70 | 0.050 | 71 | -0.051 | 65 | 0.004 |
| 18 | 76 | 0.041 | 70 | -0.164 | 1 | — | 0 | — |
| 19 | 76 | -0.275 | 70 | 0.057 | 0 | — | 1 | — |
| 20 | 76 | -0.022 | 70 | 0.228 | 2 | — | 3 | -0.493 |
| 21 | 76 | -0.107 | 70 | 0.049 | 37 | 0.156 | 31 | -0.327 |
| 22 | 76 | -0.110 | 70 | -0.069 | 0 | — | 0 | — |
| 23 | 76 | -0.048 | 70 | -0.052 | 1 | — | 2 | — |
| 24 | 76 | 0.075 | 70 | 0.139 | 2 | — | 0 | — |
| 25 | 76 | -0.042 | 70 | -0.086 | 8 | -0.343 | 5 | -0.309 |
| 26 | 76 | -0.027 | 70 | 0.097 | 5 | -0.612 | 10 | -0.093 |
| 27 | 76 | 0.026 | 70 | -0.025 | 2 | — | 2 | — |
| 28 | 76 | -0.013 | 70 | -0.033 | 7 | -0.371 | 6 | 0.639 |
Table 10: Participant-specific residual correlations between adjacent AM/PM occasions.
| AM same-day PM | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Participant | FourSC | Prior 2h steps | PV occurrence | PV intensity | Interaction | |||||
| 1 | 61 | 0.110 | 60 | -0.014 | 77 | -0.052 | 15 | 0.085 | 20 | 0.241 |
| 2 | 34 | -0.237 | 67 | -0.059 | 77 | 0.020 | 13 | 0.440 | 25 | 0.092 |
| 3 | 0 | — | 67 | -0.050 | 77 | -0.331 | 0 | — | 16 | 1.000 |
| 4 | 64 | 0.107 | 59 | 0.127 | 77 | -0.098 | 9 | -0.335 | 26 | -0.109 |
| 5 | 58 | 0.103 | 63 | 0.091 | 77 | 0.018 | 2 | — | 15 | -0.153 |
| 6 | 63 | 0.114 | 54 | -0.039 | 77 | -0.002 | 2 | — | 25 | 0.021 |
| 7 | 50 | 0.013 | 52 | -0.133 | 77 | -0.051 | 1 | — | 20 | -0.175 |
| 8 | 76 | 0.019 | 76 | 0.176 | 77 | -0.138 | 13 | 0.121 | 16 | 0.226 |
| 9 | 59 | -0.036 | 55 | -0.273 | 77 | -0.096 | 15 | 0.340 | 16 | 0.325 |
| 10 | 73 | -0.143 | 73 | -0.051 | 77 | -0.098 | 20 | -0.184 | 25 | 0.138 |
| 11 | 19 | -0.185 | 34 | 0.201 | 77 | 0.001 | 18 | 0.438 | 20 | -0.190 |
| 12 | 27 | -0.300 | 21 | 0.263 | 77 | -0.171 | 8 | 0.261 | 22 | -0.002 |
| 13 | 65 | -0.031 | 61 | 0.297 | 77 | -0.033 | 12 | -0.456 | 21 | -0.332 |
| 14 | 56 | -0.011 | 55 | 0.102 | 77 | -0.053 | 7 | 0.199 | 13 | 0.036 |
| 15 | 67 | 0.111 | 69 | 0.065 | 77 | -0.192 | 2 | — | 17 | -0.075 |
| 16 | 47 | 0.020 | 51 | -0.109 | 77 | 0.162 | 5 | 0.664 | 19 | 0.217 |
| 17 | 71 | -0.039 | 67 | 0.075 | 77 | -0.253 | 29 | 0.076 | 23 | — |
| 18 | 75 | -0.043 | 75 | 0.316 | 77 | 0.087 | 5 | 0.408 | 18 | 0.005 |
| 19 | 25 | -0.069 | 36 | 0.560 | 77 | 0.060 | 1 | — | 20 | -0.046 |
| 20 | 59 | -0.004 | 59 | 0.163 | 77 | 0.018 | 7 | 0.260 | 14 | 0.147 |
| 21 | 0 | — | 74 | -0.110 | 77 | -0.101 | 0 | — | 25 | -0.099 |
| 22 | 0 | — | 0 | — | 77 | 0.075 | 0 | — | 38 | 0.706 |
| 23 | 48 | -0.022 | 52 | 0.111 | 77 | -0.042 | 1 | — | 55 | 0.194 |
| 24 | 67 | -0.036 | 70 | 0.182 | 77 | 0.041 | 3 | 0.300 | 21 | 0.372 |
| 25 | 74 | -0.036 | 75 | -0.088 | 77 | -0.192 | 24 | -0.235 | 20 | -0.067 |
| 26 | 71 | 0.042 | 70 | 0.188 | 77 | 0.017 | 21 | -0.015 | 12 | -0.457 |
| 27 | 34 | 0.308 | 24 | 0.564 | 77 | 0.013 | 7 | 0.290 | 18 | -0.069 |
| 28 | 67 | -0.141 | 63 | -0.211 | 77 | -0.049 | 5 | 0.627 | 53 | 0.508 |
| PM next-day AM | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Participant | FourSC | Prior 2h steps | PV occurrence | PV intensity | Interaction | |||||
| 1 | 60 | 0.002 | 59 | 0.005 | 76 | 0.122 | 17 | -0.091 | 21 | -0.210 |
| 2 | 33 | 0.082 | 66 | -0.004 | 76 | -0.099 | 10 | -0.002 | 26 | 0.314 |
| 3 | 0 | — | 64 | 0.023 | 76 | -0.024 | 0 | — | 16 | -0.136 |
| 4 | 60 | -0.156 | 58 | 0.124 | 76 | -0.006 | 9 | -0.322 | 23 | -0.205 |
| 5 | 53 | 0.049 | 60 | 0.001 | 76 | -0.085 | 1 | — | 15 | -0.545 |
| 6 | 59 | -0.176 | 50 | 0.150 | 76 | 0.160 | 3 | 0.812 | 25 | 0.099 |
| 7 | 45 | -0.028 | 47 | 0.308 | 76 | 0.100 | 2 | — | 18 | -0.132 |
| 8 | 75 | -0.031 | 75 | -0.079 | 76 | 0.108 | 14 | 0.348 | 20 | 0.115 |
| 9 | 56 | -0.053 | 53 | 0.199 | 76 | 0.032 | 19 | 0.248 | 17 | 0.452 |
| 10 | 71 | 0.071 | 72 | 0.022 | 76 | -0.042 | 21 | 0.339 | 30 | -0.172 |
| 11 | 16 | 0.054 | 31 | -0.198 | 76 | -0.127 | 15 | -0.626 | 17 | 0.228 |
| 12 | 23 | -0.032 | 17 | 0.244 | 76 | 0.144 | 10 | -0.536 | 25 | 0.134 |
| 13 | 64 | -0.036 | 59 | -0.178 | 76 | -0.058 | 9 | 0.384 | 17 | -0.217 |
| 14 | 53 | 0.026 | 50 | 0.058 | 76 | -0.073 | 6 | 0.817 | 16 | -0.176 |
| 15 | 64 | -0.059 | 66 | -0.075 | 76 | 0.166 | 6 | 0.271 | 18 | 0.385 |
| 16 | 45 | -0.066 | 46 | -0.134 | 76 | -0.039 | 3 | -0.446 | 17 | 0.107 |
| 17 | 69 | -0.018 | 66 | 0.224 | 76 | 0.111 | 30 | -0.115 | 19 | — |
| 18 | 74 | -0.161 | 74 | -0.038 | 76 | 0.032 | 5 | -0.340 | 16 | -0.237 |
| 19 | 18 | -0.038 | 31 | 0.358 | 76 | -0.162 | 0 | — | 20 | -0.082 |
| 20 | 58 | -0.087 | 58 | -0.299 | 76 | 0.006 | 7 | 0.795 | 19 | 0.162 |
| 21 | 0 | — | 73 | -0.112 | 76 | -0.199 | 0 | — | 20 | 0.185 |
| 22 | 0 | — | 0 | — | 76 | -0.105 | 0 | — | 30 | 0.357 |
| 23 | 44 | 0.043 | 51 | 0.169 | 76 | 0.052 | 2 | — | 42 | 0.113 |
| 24 | 66 | -0.025 | 67 | -0.053 | 76 | -0.027 | 2 | — | 16 | -0.079 |
| 25 | 73 | 0.029 | 74 | 0.101 | 76 | -0.119 | 26 | 0.059 | 23 | -0.110 |
| 26 | 70 | -0.205 | 69 | 0.060 | 76 | 0.093 | 25 | -0.297 | 16 | -0.103 |
| 27 | 33 | 0.220 | 24 | -0.028 | 76 | 0.040 | 6 | -0.278 | 21 | -0.077 |
| 28 | 66 | 0.090 | 61 | 0.047 | 76 | 0.153 | 8 | -0.346 | 39 | 0.155 |
Table 11: Participant-specific residual correlations among continuous end-of-week assessments.
| Participant | Y, | Y, | Y, | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 11 | 0.392 | 11 | 0.599 | 11 | -0.144 | 11 | 0.334 | 11 | 0.107 | 11 | -0.717 |
| 2 | 10 | — | 10 | -0.600 | 10 | 0.035 | 10 | — | 10 | — | 10 | 0.343 |
| 3 | 6 | -0.633 | 6 | 0.193 | 6 | -0.493 | 6 | 0.435 | 6 | -0.022 | 6 | -0.794 |
| 4 | 5 | 0.566 | 5 | 0.103 | 5 | -0.781 | 5 | 0.609 | 5 | -0.613 | 5 | 0.206 |
| 5 | 3 | -0.395 | 3 | — | 3 | -0.974 | 3 | — | 3 | 0.174 | 3 | — |
| 6 | 11 | -0.023 | 11 | 0.497 | 11 | -0.291 | 11 | -0.208 | 11 | 0.463 | 11 | -0.096 |
| 7 | 7 | 0.368 | 7 | -0.345 | 7 | -0.227 | 7 | -0.258 | 7 | -0.136 | 7 | 0.082 |
| 8 | 11 | -0.218 | 11 | -0.361 | 11 | 0.470 | 11 | 0.192 | 11 | 0.179 | 11 | -0.039 |
| 9 | 10 | 0.409 | 10 | 0.308 | 10 | -0.127 | 10 | -0.143 | 10 | -0.381 | 10 | -0.139 |
| 10 | 9 | -0.733 | 9 | -0.514 | 9 | -0.514 | 9 | 0.321 | 9 | 0.321 | 9 | 1.000 |
| 11 | 11 | 0.454 | 11 | -0.024 | 11 | -0.108 | 11 | -0.187 | 11 | -0.117 | 11 | -0.322 |
| 12 | 6 | 0.193 | 6 | 0.205 | 6 | 0.301 | 6 | 0.497 | 6 | 0.065 | 6 | 0.781 |
| 13 | 9 | -0.020 | 9 | 0.839 | 9 | 0.234 | 9 | 0.239 | 9 | -0.050 | 9 | -0.231 |
| 14 | 8 | -0.186 | 8 | 0.550 | 8 | 0.859 | 8 | -0.221 | 8 | -0.252 | 8 | 0.740 |
| 15 | 3 | -0.148 | 3 | 0.936 | 3 | 0.989 | 3 | 0.209 | 3 | -0.293 | 3 | 0.874 |
| 16 | 11 | 0.438 | 11 | -0.148 | 11 | 0.024 | 11 | 0.143 | 11 | -0.240 | 11 | -0.904 |
| 17 | 11 | -0.156 | 11 | 0.165 | 11 | 0.211 | 11 | -0.353 | 11 | -0.361 | 11 | 0.164 |
| 18 | 8 | -0.025 | 8 | 0.311 | 8 | -0.237 | 8 | -0.009 | 8 | -0.355 | 8 | 0.533 |
| 19 | 6 | 0.309 | 6 | 0.128 | 6 | -0.403 | 6 | -0.868 | 6 | 0.032 | 6 | -0.245 |
| 20 | 6 | -0.089 | 6 | -0.259 | 6 | 0.286 | 6 | 0.401 | 6 | 0.308 | 6 | -0.051 |
| 21 | 5 | -0.673 | 5 | -0.022 | 5 | — | 5 | 0.679 | 5 | — | 5 | — |
| 22 | 1 | — | 1 | — | 1 | — | 1 | — | 1 | — | 1 | — |
| 23 | 9 | 0.481 | 9 | 0.045 | 9 | -0.050 | 9 | 0.392 | 9 | 0.246 | 9 | -0.480 |
| 24 | 1 | — | 1 | — | 1 | — | 1 | — | 1 | — | 1 | — |
| 25 | 11 | 0.094 | 11 | -0.160 | 11 | -0.067 | 11 | 0.072 | 11 | -0.020 | 11 | 0.925 |
| 26 | 11 | -0.038 | 11 | 0.448 | 11 | 0.139 | 11 | -0.222 | 11 | -0.101 | 11 | -0.416 |
| 27 | 3 | -0.069 | 3 | 0.648 | 3 | -0.519 | 3 | 0.715 | 3 | -0.817 | 3 | -0.987 |
| 28 | 10 | -0.075 | 10 | 0.471 | 10 | -0.037 | 10 | 0.190 | 10 | -0.274 | 10 | -0.127 |
Table 12: Participant-specific residual associations between check-in completion and continuous assessments.
| Participant | ||||||||
|---|---|---|---|---|---|---|---|---|
| 1 | 11 | -0.627 | 11 | -0.475 | 11 | -0.498 | 11 | -0.116 |
| 2 | 10 | 0.631 | 10 | — | 10 | -0.130 | 10 | 0.401 |
| 3 | 6 | 0.224 | 6 | -0.388 | 6 | -0.571 | 6 | 0.160 |
| 4 | 5 | -0.654 | 5 | -0.365 | 5 | 0.327 | 5 | 0.882 |
| 5 | 3 | 0.450 | 3 | 0.643 | 3 | — | 3 | -0.642 |
| 6 | 11 | — | 11 | — | 11 | — | 11 | — |
| 7 | 7 | 0.475 | 7 | -0.468 | 7 | 0.058 | 7 | 0.086 |
| 8 | 11 | — | 11 | — | 11 | — | 11 | — |
| 9 | 10 | -0.488 | 10 | 0.109 | 10 | -0.790 | 10 | 0.132 |
| 10 | 9 | 0.487 | 9 | -0.165 | 9 | -0.919 | 9 | -0.919 |
| 11 | 11 | -0.635 | 11 | -0.066 | 11 | 0.113 | 11 | -0.132 |
| 12 | 6 | 0.027 | 6 | -0.386 | 6 | 0.076 | 6 | -0.135 |
| 13 | 9 | -0.182 | 9 | -0.381 | 9 | -0.265 | 9 | 0.217 |
| 14 | 8 | 0.044 | 8 | -0.835 | 8 | -0.065 | 8 | 0.018 |
| 15 | 3 | -0.156 | 3 | -0.954 | 3 | -0.493 | 3 | -0.007 |
| 16 | 11 | 0.675 | 11 | 0.188 | 11 | -0.513 | 11 | 0.213 |
| 17 | 11 | -0.322 | 11 | 0.255 | 11 | 0.029 | 11 | -0.868 |
| 18 | 8 | 0.142 | 8 | 0.737 | 8 | 0.128 | 8 | 0.140 |
| 19 | 6 | 0.172 | 6 | 0.807 | 6 | -0.816 | 6 | -0.220 |
| 20 | 6 | 0.067 | 6 | -0.179 | 6 | -0.106 | 6 | 0.489 |
| 21 | 5 | 0.221 | 5 | -0.008 | 5 | 0.581 | 5 | — |
| 22 | 1 | — | 1 | — | 1 | — | 1 | — |
| 23 | 9 | -0.031 | 9 | -0.219 | 9 | -0.087 | 9 | -0.393 |
| 24 | 1 | — | 1 | — | 1 | — | 1 | — |
| 25 | 11 | 0.319 | 11 | 0.221 | 11 | -0.024 | 11 | 0.109 |
| 26 | 11 | -0.325 | 11 | 0.296 | 11 | -0.254 | 11 | 0.232 |
| 27 | 3 | -0.352 | 3 | 0.958 | 3 | 0.485 | 3 | -0.618 |
| 28 | 10 | -0.339 | 10 | 0.297 | 10 | -0.230 | 10 | -0.147 |
Table 13: Participant-specific joint residual correlations for daily components.
| Participant | AA-FW | AA-PJ | AA-AD | FW-PJ | FW-AD | PJ-AD | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 55 | -0.085 | 55 | -0.038 | 12 | 0.143 | 77 | 0.017 | 12 | -0.275 | 12 | -0.370 |
| 2 | 51 | -0.042 | 51 | -0.444 | 13 | 0.646 | 77 | 0.054 | 13 | -0.219 | 13 | -0.224 |
| 3 | 17 | -0.309 | 17 | -0.023 | 13 | 0.184 | 77 | -0.024 | 13 | 0.013 | 13 | 0.178 |
| 4 | 13 | 0.060 | 13 | -0.200 | 7 | — | 77 | -0.100 | 7 | — | 7 | — |
| 5 | 12 | -0.039 | 12 | 0.108 | 10 | -0.358 | 77 | 0.112 | 10 | 0.541 | 10 | 0.489 |
| 6 | 63 | -0.088 | 63 | 0.012 | 6 | — | 77 | 0.111 | 6 | — | 6 | — |
| 7 | 10 | 0.575 | 10 | 0.449 | 2 | — | 77 | 0.293 | 2 | — | 2 | — |
| 8 | 47 | 0.084 | 47 | 0.179 | 15 | -0.048 | 77 | 0.070 | 15 | -0.638 | 15 | -0.565 |
| 9 | 55 | 0.136 | 55 | 0.015 | 14 | 0.713 | 77 | 0.167 | 14 | 0.217 | 14 | -0.370 |
| 10 | 41 | -0.004 | 41 | 0.128 | 18 | 0.318 | 77 | 0.075 | 18 | 0.053 | 18 | -0.419 |
| 11 | 46 | -0.159 | 46 | -0.025 | 36 | 0.443 | 77 | 0.146 | 36 | -0.002 | 36 | -0.122 |
| 12 | 14 | 0.248 | 14 | -0.489 | 14 | 0.059 | 77 | 0.100 | 14 | 0.140 | 14 | 0.200 |
| 13 | 58 | -0.004 | 58 | 0.160 | 34 | 0.195 | 77 | 0.165 | 34 | 0.052 | 34 | 0.283 |
| 14 | 36 | -0.150 | 36 | -0.018 | 24 | -0.003 | 77 | 0.136 | 24 | -0.189 | 24 | -0.019 |
| 15 | 6 | -0.691 | 6 | 0.141 | 2 | — | 77 | 0.054 | 2 | — | 2 | — |
| 16 | 31 | 0.031 | 31 | 0.090 | 23 | 0.292 | 77 | 0.019 | 23 | 0.108 | 23 | -0.077 |
| 17 | 76 | -0.130 | 76 | -0.042 | 74 | 0.102 | 77 | 0.956 | 74 | -0.013 | 74 | 0.168 |
| 18 | 16 | -0.360 | 16 | 0.219 | 6 | -0.643 | 77 | -0.207 | 6 | 0.324 | 6 | -0.339 |
| 19 | 6 | -0.125 | 6 | 0.051 | 6 | 0.614 | 77 | 0.049 | 6 | 0.343 | 6 | 0.119 |
| 20 | 17 | -0.026 | 17 | 0.083 | 13 | 0.125 | 77 | -0.097 | 13 | 0.272 | 13 | 0.176 |
| 21 | 50 | 0.023 | 50 | -0.084 | 50 | 0.196 | 77 | 0.191 | 50 | -0.276 | 50 | -0.054 |
| 22 | 6 | -0.230 | 6 | -0.559 | 3 | 0.387 | 77 | -0.090 | 3 | -0.927 | 3 | -0.783 |
| 23 | 22 | -0.181 | 22 | -0.105 | 12 | — | 77 | 0.084 | 12 | — | 12 | — |
| 24 | 9 | -0.281 | 9 | 0.271 | 6 | 0.320 | 77 | 0.003 | 6 | 0.181 | 6 | -0.259 |
| 25 | 54 | -0.040 | 54 | 0.085 | 25 | -0.069 | 77 | -0.119 | 25 | -0.152 | 25 | -0.165 |
| 26 | 68 | 0.022 | 68 | -0.030 | 20 | 0.372 | 77 | 0.085 | 20 | -0.056 | 20 | -0.228 |
| 27 | 20 | -0.170 | 20 | -0.219 | 13 | 0.310 | 77 | -0.088 | 13 | -0.327 | 13 | -0.039 |
| 28 | 43 | 0.144 | 43 | 0.013 | 21 | -0.328 | 77 | -0.025 | 21 | 0.240 | 21 | -0.340 |
Table 14: Participant-specific joint residual correlations between step-count components.
| Participant | AM FourSC–AM P2h | PM FourSC–PM P2h | AM FourSC–PM P2h | |||
|---|---|---|---|---|---|---|
| 1 | 62 | -0.039 | 63 | -0.004 | 66 | 0.530 |
| 2 | 67 | 0.155 | 34 | -0.321 | 72 | 0.293 |
| 3 | 67 | 0.053 | 0 | — | 69 | 0.212 |
| 4 | 61 | -0.108 | 64 | 0.046 | 70 | 0.488 |
| 5 | 64 | -0.032 | 59 | 0.114 | 63 | 0.300 |
| 6 | 59 | -0.014 | 59 | -0.059 | 59 | 0.255 |
| 7 | 53 | 0.067 | 51 | -0.056 | 58 | 0.305 |
| 8 | 75 | -0.055 | 77 | 0.045 | 76 | 0.269 |
| 9 | 56 | 0.270 | 60 | -0.290 | 60 | -0.039 |
| 10 | 73 | -0.179 | 73 | 0.058 | 76 | -0.049 |
| 11 | 58 | 0.014 | 17 | 0.040 | 35 | 0.235 |
| 12 | 22 | 0.317 | 28 | -0.042 | 26 | 0.290 |
| 13 | 60 | -0.043 | 67 | 0.005 | 71 | 0.361 |
| 14 | 55 | -0.086 | 58 | 0.138 | 63 | 0.572 |
| 15 | 71 | 0.020 | 67 | -0.041 | 71 | 0.455 |
| 16 | 51 | -0.006 | 49 | 0.042 | 59 | 0.476 |
| 17 | 75 | -0.051 | 63 | -0.084 | 67 | 0.541 |
| 18 | 75 | 0.141 | 75 | -0.084 | 77 | 0.398 |
| 19 | 38 | 0.310 | 30 | -0.115 | 37 | 0.572 |
| 20 | 61 | -0.127 | 60 | 0.173 | 62 | 0.383 |
| 21 | 75 | 0.042 | 0 | — | 74 | 0.109 |
| 22 | 70 | -0.138 | 0 | — | 0 | — |
| 23 | 54 | 0.041 | 48 | -0.051 | 60 | 0.513 |
| 24 | 73 | 0.218 | 67 | -0.122 | 70 | 0.256 |
| 25 | 76 | 0.011 | 73 | -0.082 | 76 | 0.432 |
| 26 | 72 | 0.113 | 73 | -0.057 | 70 | 0.441 |
| 27 | 24 | -0.150 | 39 | 0.315 | 55 | 0.312 |
| 28 | 64 | -0.110 | 67 | 0.050 | 67 | 0.410 |
Table 15: Participant-specific residual correlations between step-count and engagement components at AM occasions.
| Participant | FourSC-O | FourSC-PV+ | FourSC-AS | P2h-O | P2h-PV+ | P2h-AS | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 68 | 0.007 | 34 | -0.108 | 32 | 0.104 | 65 | 0.343 | 32 | 0.407 | 31 | 0.236 |
| 2 | 72 | -0.006 | 28 | 0.337 | 44 | 0.090 | 69 | 0.245 | 28 | 0.114 | 41 | 0.038 |
| 3 | 70 | -0.186 | 4 | -0.264 | 32 | -0.759 | 69 | 0.090 | 4 | -0.293 | 33 | -0.035 |
| 4 | 72 | -0.088 | 21 | 0.130 | 38 | 0.026 | 62 | -0.009 | 19 | 0.040 | 34 | 0.047 |
| 5 | 65 | -0.204 | 9 | -0.065 | 30 | -0.251 | 67 | 0.043 | 8 | -0.708 | 31 | -0.008 |
| 6 | 65 | 0.241 | 7 | -0.259 | 38 | 0.152 | 63 | 0.035 | 7 | 0.041 | 38 | -0.031 |
| 7 | 59 | -0.126 | 10 | 0.466 | 30 | -0.269 | 53 | 0.251 | 10 | 0.298 | 26 | 0.092 |
| 8 | 76 | 0.016 | 31 | -0.115 | 36 | 0.083 | 76 | 0.107 | 32 | 0.028 | 37 | 0.165 |
| 9 | 61 | -0.190 | 24 | -0.108 | 21 | -0.254 | 57 | -0.369 | 24 | -0.385 | 21 | -0.344 |
| 10 | 76 | 0.047 | 33 | 0.504 | 46 | 0.237 | 74 | 0.004 | 34 | -0.019 | 46 | 0.003 |
| 11 | 61 | -0.312 | 32 | 0.292 | 35 | -0.151 | 71 | -0.151 | 39 | 0.020 | 39 | -0.080 |
| 12 | 27 | -0.153 | 10 | -0.035 | 16 | 0.026 | 23 | -0.080 | 9 | 0.005 | 13 | 0.160 |
| 13 | 72 | -0.009 | 22 | -0.184 | 34 | 0.127 | 62 | -0.059 | 19 | 0.308 | 30 | -0.147 |
| 14 | 63 | -0.051 | 21 | 0.095 | 30 | -0.098 | 57 | -0.150 | 19 | 0.310 | 28 | -0.393 |
| 15 | 73 | -0.138 | 15 | -0.176 | 36 | -0.422 | 73 | 0.008 | 15 | 0.375 | 34 | -0.002 |
| 16 | 59 | -0.080 | 14 | 0.075 | 35 | -0.030 | 53 | -0.266 | 13 | -0.286 | 30 | -0.223 |
| 17 | 75 | -0.024 | 56 | -0.232 | 41 | — | 76 | 0.178 | 56 | -0.154 | 41 | — |
| 18 | 77 | 0.063 | 17 | -0.063 | 35 | 0.163 | 75 | 0.048 | 17 | -0.149 | 35 | -0.025 |
| 19 | 40 | 0.025 | 2 | — | 18 | -0.196 | 42 | 0.157 | 2 | — | 18 | 0.259 |
| 20 | 65 | -0.047 | 21 | -0.170 | 30 | -0.109 | 63 | 0.165 | 20 | -0.133 | 28 | 0.415 |
| 21 | 75 | -0.066 | 2 | — | 42 | -0.251 | 75 | 0.028 | 2 | — | 42 | 0.144 |
| 22 | 76 | -0.090 | 5 | -0.200 | 59 | -0.202 | 70 | -0.137 | 4 | 0.043 | 54 | -0.209 |
| 23 | 63 | -0.254 | 13 | -0.103 | 46 | -0.050 | 58 | 0.025 | 14 | 0.095 | 44 | -0.217 |
| 24 | 73 | 0.071 | 15 | -0.332 | 33 | 0.073 | 73 | -0.097 | 15 | 0.197 | 33 | 0.286 |
| 25 | 77 | 0.017 | 50 | -0.111 | 38 | 0.273 | 76 | -0.080 | 49 | -0.160 | 37 | -0.002 |
| 26 | 72 | -0.034 | 42 | -0.167 | 21 | -0.106 | 72 | 0.031 | 42 | -0.124 | 21 | -0.378 |
| 27 | 55 | 0.218 | 25 | 0.080 | 23 | 0.124 | 24 | 0.222 | 10 | 0.379 | 13 | 0.044 |
| 28 | 68 | -0.035 | 22 | -0.148 | 46 | -0.182 | 64 | 0.147 | 22 | 0.139 | 43 | 0.225 |
Table 16: Participant-specific residual correlations between step-count and engagement components at PM occasions.
| Participant | FourSC-O | FourSC-PV+ | FourSC-AS | P2h-O | P2h-PV+ | P2h-AS | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 65 | -0.018 | 26 | -0.110 | 35 | -0.240 | 69 | -0.158 | 27 | -0.202 | 36 | 0.020 |
| 2 | 35 | -0.076 | 11 | 0.585 | 19 | 0.144 | 72 | 0.156 | 25 | -0.229 | 37 | -0.022 |
| 3 | 0 | — | 0 | — | 0 | — | 70 | 0.081 | 0 | — | 32 | 0.344 |
| 4 | 64 | 0.041 | 20 | -0.432 | 32 | -0.172 | 70 | -0.175 | 21 | 0.112 | 36 | -0.017 |
| 5 | 60 | -0.010 | 7 | -0.434 | 25 | -0.114 | 65 | -0.088 | 8 | -0.191 | 28 | -0.462 |
| 6 | 71 | 0.068 | 4 | 0.184 | 33 | 0.192 | 62 | -0.141 | 4 | -0.013 | 29 | 0.249 |
| 7 | 52 | -0.060 | 6 | 0.120 | 22 | -0.366 | 60 | 0.006 | 6 | -0.761 | 25 | 0.380 |
| 8 | 77 | 0.105 | 40 | -0.101 | 38 | 0.099 | 77 | -0.124 | 40 | 0.037 | 38 | -0.029 |
| 9 | 61 | 0.094 | 35 | -0.133 | 32 | 0.303 | 61 | -0.028 | 35 | 0.118 | 32 | -0.109 |
| 10 | 73 | -0.241 | 44 | 0.192 | 41 | -0.094 | 76 | -0.023 | 47 | 0.031 | 44 | -0.274 |
| 11 | 24 | -0.039 | 13 | 0.042 | 10 | -0.054 | 35 | 0.114 | 12 | 0.040 | 16 | 0.168 |
| 12 | 32 | -0.104 | 18 | 0.024 | 20 | 0.118 | 28 | 0.262 | 16 | 0.637 | 16 | 0.591 |
| 13 | 68 | -0.065 | 23 | 0.237 | 31 | -0.106 | 74 | 0.068 | 25 | -0.542 | 32 | 0.242 |
| 14 | 60 | 0.032 | 21 | -0.105 | 23 | 0.051 | 65 | 0.194 | 21 | 0.303 | 25 | 0.220 |
| 15 | 68 | -0.023 | 15 | 0.039 | 31 | 0.033 | 71 | 0.111 | 17 | 0.427 | 31 | 0.150 |
| 16 | 53 | -0.165 | 7 | -0.243 | 26 | 0.061 | 61 | 0.099 | 8 | 0.220 | 30 | 0.254 |
| 17 | 71 | -0.059 | 39 | -0.026 | 37 | — | 67 | 0.066 | 36 | 0.049 | 34 | — |
| 18 | 75 | 0.114 | 12 | -0.459 | 34 | 0.323 | 77 | -0.080 | 12 | 0.044 | 35 | -0.108 |
| 19 | 30 | -0.102 | 1 | — | 11 | -0.183 | 45 | 0.070 | 6 | -0.208 | 22 | 0.077 |
| 20 | 62 | 0.089 | 12 | 0.113 | 22 | 0.053 | 64 | 0.257 | 13 | 0.014 | 21 | 0.190 |
| 21 | 0 | — | 0 | — | 0 | — | 74 | 0.148 | 0 | — | 39 | -0.023 |
| 22 | 0 | — | 0 | — | 0 | — | 0 | — | 0 | — | 0 | — |
| 23 | 50 | 0.152 | 5 | -0.676 | 37 | 0.132 | 61 | -0.083 | 9 | 0.763 | 46 | 0.079 |
| 24 | 70 | 0.132 | 12 | -0.781 | 34 | -0.002 | 72 | 0.081 | 13 | -0.260 | 33 | -0.120 |
| 25 | 74 | -0.120 | 37 | -0.079 | 39 | -0.216 | 76 | 0.069 | 38 | 0.019 | 40 | -0.158 |
| 26 | 75 | -0.094 | 31 | 0.012 | 27 | 0.048 | 73 | 0.071 | 31 | -0.174 | 26 | 0.141 |
| 27 | 39 | -0.272 | 9 | 0.221 | 22 | -0.396 | 65 | -0.114 | 10 | 0.313 | 34 | -0.255 |
| 28 | 70 | 0.113 | 19 | -0.077 | 50 | 0.071 | 68 | 0.079 | 18 | 0.378 | 48 | -0.150 |
Table 17: Participant-specific joint residual correlations among page-view and interaction components.
| AM | ||||||
|---|---|---|---|---|---|---|
| Participant | O-PV+ | O-AS | PV+AS | |||
| 1 | 34 | 0.084 | 35 | 0.478 | 15 | 0.497 |
| 2 | 30 | -0.011 | 48 | 0.447 | 16 | 0.116 |
| 3 | 4 | 0.154 | 35 | 0.532 | 3 | 0.277 |
| 4 | 21 | 0.141 | 41 | 0.448 | 14 | -0.167 |
| 5 | 10 | -0.200 | 34 | 0.436 | 5 | -0.382 |
| 6 | 9 | -0.004 | 45 | 0.813 | 9 | 0.700 |
| 7 | 12 | 0.301 | 42 | 0.610 | 7 | -0.031 |
| 8 | 32 | -0.062 | 37 | 0.690 | 22 | -0.043 |
| 9 | 27 | -0.171 | 29 | 0.674 | 16 | -0.013 |
| 10 | 34 | 0.098 | 46 | 0.514 | 26 | 0.652 |
| 11 | 41 | -0.059 | 41 | 0.746 | 33 | 0.230 |
| 12 | 22 | -0.211 | 42 | 0.550 | 16 | 0.685 |
| 13 | 24 | 0.267 | 38 | 0.801 | 15 | -0.106 |
| 14 | 27 | 0.005 | 38 | 0.655 | 18 | 0.407 |
| 15 | 16 | -0.034 | 37 | 0.865 | 10 | 0.561 |
| 16 | 20 | 0.370 | 41 | 0.883 | 15 | -0.175 |
| 17 | 56 | -0.058 | 41 | — | 41 | — |
| 18 | 17 | 0.023 | 35 | 0.879 | 10 | -0.272 |
| 19 | 4 | 0.299 | 38 | 0.940 | 2 | — |
| 20 | 25 | -0.197 | 37 | 0.877 | 11 | 0.118 |
| 21 | 2 | — | 43 | 0.332 | 1 | — |
| 22 | 5 | -0.085 | 60 | 0.755 | 5 | 0.116 |
| 23 | 14 | 0.029 | 55 | 0.346 | 11 | 0.030 |
| 24 | 16 | -0.098 | 34 | 0.339 | 6 | 0.353 |
| 25 | 50 | -0.005 | 38 | 0.440 | 34 | 0.210 |
| 26 | 44 | -0.171 | 22 | 0.995 | 21 | 0.145 |
| 27 | 33 | -0.134 | 36 | 0.717 | 15 | -0.143 |
| 28 | 25 | -0.108 | 53 | 0.526 | 16 | -0.079 |
| PM | ||||||
|---|---|---|---|---|---|---|
| Participant | O-PV+ | O-AS | PV+AS | |||
| 1 | 30 | -0.187 | 40 | 0.358 | 17 | 0.495 |
| 2 | 28 | -0.036 | 39 | -0.057 | 18 | 0.176 |
| 3 | 0 | — | 35 | 0.205 | 0 | — |
| 4 | 24 | -0.426 | 41 | 0.537 | 15 | 0.117 |
| 5 | 10 | 0.206 | 33 | -0.009 | 5 | -0.142 |
| 6 | 5 | -0.478 | 36 | 0.052 | 3 | 0.983 |
| 7 | 6 | -0.032 | 35 | 0.613 | 3 | -0.632 |
| 8 | 40 | 0.042 | 38 | 0.536 | 30 | -0.042 |
| 9 | 39 | 0.081 | 40 | 0.224 | 25 | 0.309 |
| 10 | 48 | -0.047 | 45 | 0.532 | 33 | 0.145 |
| 11 | 31 | 0.076 | 32 | -0.703 | 23 | 0.232 |
| 12 | 28 | 0.115 | 41 | 0.399 | 17 | 0.366 |
| 13 | 25 | -0.253 | 35 | 0.278 | 15 | -0.135 |
| 14 | 25 | 0.020 | 28 | 0.542 | 9 | -0.393 |
| 15 | 17 | 0.008 | 35 | 0.985 | 7 | -0.353 |
| 16 | 12 | -0.363 | 37 | 0.382 | 9 | 0.479 |
| 17 | 42 | 0.266 | 40 | — | 39 | — |
| 18 | 12 | -0.173 | 35 | 0.467 | 6 | 0.834 |
| 19 | 9 | -0.043 | 36 | 0.808 | 7 | -0.526 |
| 20 | 17 | 0.308 | 30 | 0.673 | 8 | -0.047 |
| 21 | 0 | — | 42 | -0.292 | 0 | — |
| 22 | 0 | — | 38 | 0.092 | 0 | — |
| 23 | 9 | 0.235 | 55 | 0.532 | 9 | -0.057 |
| 24 | 13 | 0.117 | 38 | 0.290 | 6 | 0.839 |
| 25 | 38 | 0.057 | 40 | 0.382 | 30 | 0.600 |
| 26 | 33 | 0.318 | 28 | -0.029 | 23 | -0.337 |
| 27 | 13 | 0.454 | 42 | 0.456 | 10 | 0.168 |
| 28 | 19 | 0.055 | 55 | 0.399 | 17 | -0.257 |
CAE (original scale)

Study week
95% simulation interval
Observed MRT
Missing MRT
Figure 7: Observed and simulated CAE for the 28 participants under their recorded MRT action histories. Gray bands show pointwise 95% simulation intervals, red points and lines show observed CAE, and crosses mark missing MRT assessments. All panels use common axes.
Short CAE (original scale)

Study week
95% simulation interval
Observed MRT
Missing MRT
Figure 8: Observed and simulated short CAE for the 28 participants under their recorded MRT action histories. Gray bands show pointwise 95% simulation intervals, and red points and lines show observed assessments. Crosses below each panel mark missing assessments, which are not joined by lines. All panels use the original 1–7 scale and a common study-week axis.
FourSC (steps, logarithmic axis)

Decision time
95% simulation interval Observed MRT
Figure 9: Observed and simulated FourSC for the 28 participants under their recorded MRT action histories. Gray bands show pointwise 95% simulation intervals, and red points and lines show observed step counts. All panels use a common axis labeled in step counts. Missing observations are not joined.
Anticipated affect (original scale)

Study day
95% simulation interval
Observed MRT
Figure 10: Observed and simulated anticipated affect for the 28 participants under their recorded MRT action histories. Gray bands show pointwise 95% simulation intervals, and red points and lines show recorded responses. All panels use the original 1–7 scale and a common study-day axis. Missing responses are not joined.
Page-view occurrence (%)

Study week
95% simulation interval
Observed MRT
Figure 11: Observed and simulated weekly page-view occurrence for the 28 participants under their recorded MRT action histories. Red points and lines show the percentage of decision occasions with at least one page view. Gray bands show pointwise 95% simulation intervals calculated after weekly aggregation within each trajectory. All panels share the same axes.
Page views per positive occasion

Study week
95% simulation interval
Observed MRT
No positive MRT count
Figure 12: Observed and simulated mean page-view counts among positive occasions in each study week. Gray bands show pointwise 95% simulation intervals and red points show observed means. Crosses mark MRT weeks with no positive count, rather than missing logging data. All panels share a logarithmic count axis.
Fitbit wear (%)

Study week
95% simulation interval Observed MRT
Figure 13: Observed and simulated Fitbit-wear proportions by study week. Gray bands show pointwise 95% simulation intervals and red points and lines show MRT proportions. Outcomes are aligned to their actual morning dates. All panels share the same percentage axis.
Daily check-in completion (%)

Study week
95% simulation interval Observed MRT
Figure 14: Observed and simulated daily check-in completion proportions by study week. Each proportion uses seven daily opportunities. Gray bands show pointwise 95% simulation intervals and red points and lines show observed proportions. Noncompletion remains an observed zero.
Check-in completion, last 4 weeks (%)

Study week
95% simulation interval Observed MRT
Figure 15: Observed and simulated assessment-completion proportions over the most recent four study weeks. The initial points use the shorter available history. Gray bands show pointwise 95% simulation intervals and red points and lines show the corresponding MRT summaries. Adjacent plotted points share weeks.
Usefulness (original scale)

Study week
95% simulation interval
Observed MRT
Missing MRT
Figure 16: Observed and simulated usefulness responses. Gray bands show pointwise 95% intervals from all generated responses and red points show MRT responses. Missing assessments remain gaps and are marked by crosses below the panels. All panels share the original 1–7 scale.
Pleasantness (original scale)

Study week
95% simulation interval
Observed MRT
Missing MRT
Figure 17: Observed and simulated pleasantness responses. Gray bands show pointwise 95% intervals from all generated responses and red points show MRT responses. Missing assessments remain gaps and are marked by crosses below the panels. All panels share the original 1–7 scale.
CAE (original scale)
Never send

Simulation week
95% simulation interval
Figure 18: Pointwise 95% simulation intervals for CAE across 36 weeks under the never-send policy. Each panel represents one participant and uses 100 trajectories. Sunday suggestions are fixed at zero. No observed MRT trajectory is superimposed on this target-schedule assessment.
Always send
CAE (original scale)

Simulation week
95% simulation interval
Figure 19: Pointwise 95% simulation intervals for CAE across 36 weeks under the always-send policy. Each panel represents one participant and uses 100 trajectories. Sunday suggestions are fixed at zero. No observed MRT trajectory is superimposed on this target-schedule assessment.
Random send (0.5)
CAE (original scale)

Simulation week
95% simulation interval
Figure 20: Pointwise 95% simulation intervals for CAE across 36 weeks under the random-send policy. Each panel represents one participant and uses 100 trajectories. Sunday suggestions are fixed at zero. No observed MRT trajectory is superimposed on this target-schedule assessment.
G Experimental Design and Additional Results
We evaluate the seven RL configurations in Table 4 together with a non-learning reference policies: random send with probability 0.5. Each policy is evaluated in the vanilla MRT-calibrated testbed and in the alternative simulation environments described in Section E.8.
Each simulated participant is followed for 36 weeks. Week 1 is an initial micro-randomization period in which activity suggestions are assigned with probability 0.5. Beginning in week 2, the RL policies are updated weekly according to Algorithm 6. The non-learning reference policies use the same simulated observation process and weekly schedule but do not update from accumulating data.
Within each Monte Carlo replication, all candidate policies are evaluated on the same sampled set of participant types. We additionally use common random numbers for exogenous simulator stochasticity whenever possible, so that policy comparisons are paired at the simulated-participant level. We perform 200 Monte Carlo replications for each combination of simulation environment and policy.
G.1 Evaluation Metrics
The primary performance criterion is cumulative weekly CAE, matching the scientific objective of the RL system. For simulated participant i under policy , define
where for the final-horizon analysis.
Because policies are evaluated on matched simulated participants, the primary policy contrast is computed within replication relative to the never-send reference policy:
We report the Monte Carlo mean
and its Monte Carlo standard error,
G.2 Additional Results
Figure 2 of the main paper summarizes cumulative CAE but does not reveal how the learned policies differ in their action-selection behavior. We therefore examine the week-specific send probabilities for the morning and afternoon decision slots, denoted and .
Figure 21 shows distinct policy behaviors across RL variants. Standard RLSVI with remains close to 0.5 in both decision slots. With , the morning probability remains near 0.5, whereas the afternoon probability decreases to approximately 0.42 across all three environments, reducing the overall intervention rate. Because this morning–afternoon asymmetry changes little as the intervention signal strengthens, it does not appear to reflect learning of the amplified proximal treatment pathway.
In contrast, the shaping-plus-redistribution variant primarily reallocates intervention probability across decision slots while leaving the overall intervention rate relatively stable. In the vanilla and STE 0.8 environments, the morning probability increases to approximately 0.53 and the afternoon probability decreases to approximately 0.47, whereas little separation is observed under STE 0.2. This pattern is consistent with the cumulative-CAE results in Figure 2 of the main paper: the advantage of redistribution becomes more pronounced as the underlying intervention signal strengthens.
Figure 22 illustrates the corresponding participant-specific behavior for a participant whose fitted intervention effect is stronger in the morning than in the afternoon. In this user's fitted mediator models, a suggestion raises anticipated affect by 0.047 in the morning versus 0.007 in the afternoon; the implied fourSC action effect is likewise positive in the morning and near zero in the afternoon. Under shaping with learned redistribution, the morning send probability increases to approximately 0.71 by the end of the study, while the afternoon probability remains near 0.5. Standard RLSVI with shows little differentiation between slots, whereas again primarily reduces the afternoon probability. Although this single participant is illustrative, the result shows how reward redistribution can translate heterogeneous mediator signals into participant-specific temporal patterns of intervention delivery.

Figure 21: Population-average send probability by decision slot and week, with 95% confidence intervals across 200 simulation replications. Rows correspond to morning and afternoon decision slots; columns correspond to STE ≈ 0.2, vanilla (STE ≈ 0.5), and STE ≈ 0.8 environments. The gray dashed line denotes random send (p = 0.5).
User 13 (186 seeds, 571 episode draws)

Figure 22: Participant-specific send probability by decision slot and week for an illustrative participant (user 13), based on 186 replications in which this participant model was sampled. The fitted environment for this participant favors morning activity suggestions.