{'fraction_non_alphanumeric': 0.03802588996763754, 'fraction_numerical': 0.0048543689320388345, 'mean_word_length': 5.442708333333333, '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}}
A Two-Level Confirmatory Factor Analysis of a Modified Rosenberg Self-Esteem Scale

Classical factor analysis assumes independent and identically distributed observations. Educational data, however, are often hierarchically structured, with, for example, students being nested within classes. In this study, data on self-esteem gathered in a sample of 1,107 students within 72 school classes in Switzerland were analyzed using two-level confirmatory factor analysis. Considering a sequence of two-level confirmatory factor models, the results indicate that a one-factor model of self-esteem with an additional orthogonal method or response-style factor of negatively worded items adequately described within-class (individual) differences in self-esteem. By contrast, at the between-class level, a general factor of self-esteem was sufficient to capture school class differences in self-esteem. Thus, apart from other influences, for students, the social context (school class) seems to matter in forming their self-esteem. At the same time, the findings imply that studies examining self-esteem using samples of clustered observations should account for multiple levels of analysis (i.e., separate within- and between-class variances).