*****Syntax*****
The R data preparation file was used to prepare the Mplus and Figshare datasets
The R analyses file was used to to compute the descriptive statistics, correlations, ICCs, compute figures, and import ad analyze the person-specific effects from Mplus
The Mplus folders contain the code of the dynamic structural equation modeling analyses (Model 1) and growth modeling analyses (Model 2). Each subfolder contains its own readme file.
*****Data*****
The data have been published on Figshare
Pouwels, J. L., Valkenburg, P. M., Beyens, I., van Driel, I. I., & Keijsers, L.. (2021). Dataset belonging to Pouwels et all. (2021). Adolescents’ Social Media Use and Friendship Closeness: A Person-Specific Investigation of the Rich-Get-Richer and Poor-Get-Richer Hypotheses. University of Amsterdam / Amsterdam University of Applied Sciences. https://doi.org/10.21942/uva.14680362.v1