For anyone interested, I’ve uploaded the R code used for the simulations reported in Chapter 6, Learning Curves and Psychological Change Across Populations: The Implications of Reorganization, in Interdisciplinary Handbook of Perceptual Control Theory, Volume II: Living in the Loop to OSF.
The repository contains scripts for:
-
E. coli random-walk simulations based on the Marken & Powers model
-
A psychotherapy change simulation based on stochastic reorganisation
-
Recovery, sudden gain, attendance, and relapse analyses reported in the chapter
The code has been reconstructed from archived materials and updated for reproducibility. The archived version reproduces the principal results reported in the chapter.
OSF: https://osf.io/nheqv/overview?view_only=2a9836e528ae435084548db118f76273