rasch_factor function

Calculate a factor analysis for a Rasch Model

Calculate a factor analysis for a Rasch Model

rasch_factor(df, vars_metric, print_results = FALSE, path_output = NULL)

Arguments

  • 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.

See Also

Other rasch functions: rasch_DIF(), rasch_df_nest(), rasch_drop(), rasch_mds_children(), rasch_mds(), rasch_model_children(), rasch_model(), rasch_quality_children_print(), rasch_quality_children(), rasch_rawscore(), rasch_recode(), rasch_rescale_children(), rasch_rescale(), rasch_split_age(), rasch_split(), rasch_testlet()