{'fraction_non_alphanumeric': 0.03104575163398693, 'fraction_numerical': 0.007352941176470588, 'mean_word_length': 5.9209039548022595, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Students’ psychological well-being and its multilevel relationship with immigrant background, gender, socioeconomic status, achievement, and class size

ABSTRACT School situations trigger affective states that influence students’ achievement and well-being. In the present study, we investigated, on the basis of a sample of 26,470 high-school students and 1,472 classrooms, the relationship of individual characteristics (immigrant background, gender, socioeconomic status, and achievement) as well as classroom characteristics (group composition and size) with students’ feelings at school. The results showed that females, low achievers, immigrants, and low-SES students are more at risk of psychological distress at school, with gender and achievement being the most important factors. A doubly latent model analysis revealed that whereas individual socioeconomic status and achievement have a positive impact on students’ feelings, the effect of the two variables at the classroom level is negative. The impact of immigrant classroom composition seems to be limited to positive affect and dependent on students’ immigrant generation. Finally, students in smaller classrooms show more psychological well-being at school.