-
Notifications
You must be signed in to change notification settings - Fork 0
Description
User Story
As a researcher, I want to understand why the correlation between resilience and stress fluctuates between weak and moderate levels despite correct model implementation, so that I can determine whether this reflects true system behavior or a configuration issue.
Description
The observed intermittent non-significant correlation between resilience and stress, even after fixing data collection, arises from the model’s complex multi-factor dynamics. These dynamics generate indirect (mediated) rather than direct relationships, leading to temporal variation in correlation strength.
Root Cause: Complex Mediation Effects
The model correctly encodes the theoretical expectation — higher resilience → better coping → lower stress — but multiple mechanisms dilute this direct link:
-
Multiple Resilience Drivers (Independent of Stress)
- Social support boosts resilience independently of stress events (
agent.py, lines 284–285, 319–328) - Protective factor rewards increase resilience post-success (
agent.py, lines 297–303) - Resource regeneration amplifies resilience via affect multipliers (
agent.py, lines 305–317)
- Social support boosts resilience independently of stress events (
-
PSS-10 Feedback Loop Attenuation
- Exponential smoothing stabilizes stress changes (
agent.py, lines 767–773) - Daily averaging of PSS-10 scores introduces lag (
agent.py, lines 377–384) - Stress dimensions update from both event outcomes and PSS-10 feedback (
agent.py, line 647)
- Exponential smoothing stabilizes stress changes (
-
Homeostatic Homogenization
- Daily baseline correction pulls variables toward fixed set points (
agent.py, lines 336–372) - Homeostatic scaling with resource and stress rates (
agent.py, lines 345–356) - Population convergence reduces inter-agent variability
- Daily baseline correction pulls variables toward fixed set points (
-
Timing and State Dependencies
- Stress decays after data collection (
agent.py, lines 817–821) - Event-driven resilience updates occur asynchronously with social boosts
- PSS-10 accumulation causes delayed influence on stress levels
- Stress decays after data collection (
Why Correlation Varies
- Moderate negative correlation appears during active stress processing phases.
- Weak or non-significant correlation appears during equilibrium or post-stress states.
- Population-level averaging further attenuates correlation due to heterogeneity in agent trajectories.
Theoretical Alignment
This behavior is theoretically consistent: real-world resilience–stress dynamics are mediated by multiple interdependent factors rather than direct bivariate associations. The model accurately represents these complex psychological interactions.
Proposed Flow
- Verify correlation coefficients across time windows (event phase vs. equilibrium)
- Visualize time-lagged correlations to confirm mediation effects
- Document findings in
docs/analysis/resilience_stress_mediation.md - Confirm
.envparameters for smoothing and baseline rates align with intended dynamics
Reference
agent.py(lines 284–821): Agent behavior, feedback loops, and homeostatic mechanisms.envconfiguration: Smoothing, baseline, and decay parameters
Notes:
- No structural changes required; this is a valid emergent model behavior.
- Recommend emphasizing context-dependent correlation in documentation.
- Consider reporting both instantaneous and time-lagged correlation analyses for interpretability.