This repository contains code and resources for the paper:
Cheong, J. H., Molani, Z., Sadhukha, S., & Chang, L. J. (2020). Synchronized affect in shared experiences strengthens social connection.
The original preprint is available at PsyArxiv
The Notebook folder includes the analyses to reproduce the results and figures in the paper.
The data necessary for running the notebooks are available at https://osf.io/6ejvg/
Dependencies are listed in the requirements.txt
file. Which can be installed with
pip install -r requirements.txt
You'll also need to install FNL_tools
from https://github.com/cosanlab/fnl_tools.
You will also need an R installation with packages lme4
, lmerTest
, and lavaan
which will be accessed through the rpy2
interface.