{'fraction_non_alphanumeric': 0.017050298380221655, 'fraction_numerical': 0.0034100596760443308, 'mean_word_length': 5.486187845303867, '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 flexible moderated factor analysis approach to test for measurement invariance across a continuous variable.

Effort has been devoted to the development of moderated factor models in which the traditional factor model parameters are allowed to differ across a moderator variable. These models are valuable as they enable tests on measurement invariance across a continuous background variable. However, moderated factor models require the specification of a parametric functional form between the factor model parameters and the moderator variable while, in some situations, it is unclear what functional form to assume. Therefore, in the present article, a semiparametric moderated factor modeling approach is presented in which no assumption concerning the functional form between the moderator and the model parameters is imposed. In a simulation study, the semiparametric moderated factor model is shown to be viable in terms of parameter recovery and the power to distinguish the different models for measurement invariance. In addition, the model is applied to a real dataset pertaining to intelligence. (PsycInfo Database Record (c) 2022 APA, all rights reserved).