Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
### Publication This OSF repository contains the analysis code for the following publication: **Full Citation:** Wen, J., Lyu, W., Liu, J. et al. Commensality and academic performance: measuring peer acceptance among college students. npj Sci. Learn. 10, 69 (2025). **DOI Link:** https://doi.org/10.1038/s41539-025-00357-8 **Abstract:** Peer relationships play a critical role in academic performance, yet their link in higher education remains underexplored. This study introduces commensality—shared mealtimes—as a novel proxy for peer acceptance and examines its relationship with academic outcomes across student groups. Using 2,717,938 transaction records from 3355 first-year undergraduates at a prestigious Chinese university, we developed “commensality value” metrics to quantitatively measure peer relationships. Regression analyses reveal that peer acceptance, particularly from peers who are more physically distant, is positively correlated with academic performance. This correlation is stronger among male students, politically active students, former class leaders, and those with politically active parents. These findings highlight the potential benefits of strong peer relationships and suggest that promoting environments that encourage peer commensality could be a valuable strategy for universities to explore. By bridging gaps in the literature, this study introduces innovative metrics and advances the understanding of the peer academic success. --- ### How to Use This Repository The primary scripts are located in the `/code` folder. - `main.py`: Code for data cleaning and dataset preparation in Python. - `figure1.py`: Code for producing figure1 in the manuscript in Python. - `figure2.py`: Code for producing figure2 in the manuscript in Python. - `analysis.do`: Do file for generating the primary results(e.g. the tables) in Stata 17 setting.
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.