Learn R Programming

matrixStrucTest (version 1.0.0)

X2Fun: Goodness-of-fit chi-squared statistic described by Steiger (1980).

Description

This function computed the goodness-of-fit chi-squared statistic described by Steiger (1980). Reference: Steiger, J. H. (1980). Tests for comparing elements of a correlation matrix. Psychological Bulletin, 87(2) 245-251.

Usage

X2Fun(data, group_list, corMethod = "spearman")

Arguments

data

Data frame

group_list

List of column indices of A for each group

corMethod

Type of correlations; passed to cor()