TY - RPRT AU - Chen, Yuanyuan AU - Feng, Shuaizhang AU - Yang, Chao TI - Heterogeneous Peer Effects under Endogenous Selection: An Application to Local and Migrant Children in Elementary Schools in Shanghai PY - 2022/Feb/ PB - Institute of Labor Economics (IZA) CY - Bonn T2 - IZA Discussion Paper IS - 15070 UR - https://www.iza.org/publications/dp15070 AB - This paper develops a model that allows for heterogenous contemporaneous peer effects among different types of agents who are endogenously selected into different peer groups. Using our framework, we characterize the reduced-form coefficient in the peer effect literature and show that it is a priori ambiguous in sign. We apply our approach to migrant and local students in Shanghai, where local students all go to public schools, but migrant students are endogenously selected into either public schools or lower-quality private schools. The results suggest large contemporaneous peer effects among all student groups. We conduct policy experiments to examine the effect of transferring migrant students from private schools to public schools. We show that peer effect can be substantially more important than the school effect in accounting for the total treatment effect of moving to better schools. KW - education KW - sample selection KW - peer effects KW - migrant children ER -