df: a data frame of individual survey data, where each row is an individual
vars_metric: a character vector of items to use in the Rasch Analysis
print_results: a logical value indicating whether or not to print various files displaying results from the Rasch Model. Default is FALSE, to not print the files.
path_output: a string with the path to the output folder. Default is NULL.
Returns
a named list with results from the factor analysis for a Rasch Model: - cor_poly: the matrix of polychoric correlations
eigenvalues: the eigenvalues
parallel_analysis: permutation parallel analysis distribution
results_scree: results of a scree analysis
n_group_factors: number of factors from the parallel analysis in the scree analysis
fa_onefactor: results from factor analysis with one factor
fa_resid: local dependency based on polychoric correlations of the items
Details
Unidimensionality of the data is one of the core assumptions of the Rasch Model. This function performs the factor analysis to assess the unidimensionality of the data.