rasch_factor: Calculate a factor analysis for a Rasch Model

View source: R/rasch_factor.R

rasch_factorR Documentation

Calculate a factor analysis for a Rasch Model

Description

Calculate a factor analysis for a Rasch Model

Usage

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.

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.

Value

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

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()


lindsayevanslee/whomds documentation built on Sept. 9, 2023, 10:54 p.m.