Simulation code in R for the manuscript
Resting-State fMRI and the Risk of Overinterpretation: Noise, Mechanisms, and a Missing Rosetta Stone
Fig. 4: 1.noise.impact.simple
Fig. 6: 2.noise.impact.more.realistic
Figs. 7 & 8: 3.correlation.comparison
Fig. 9: 4.make.causal.graphs.from.corr.py (code used to generate the displayed numbers)