nPCX: Number of Orthogonal Dimensions Measured by Set

View source: R/nPCX.R

nPCXR Documentation

Number of Orthogonal Dimensions Measured by Set

Description

For a specified set of variables, estimate the number of orthogonal dimensions measured.

Note that 'measured' is intended to mean here that a dimension is only measured if it has an R^2 value of 1.00. So statistic provides the sum of R2 for orthogonal dimensions, via PCA.

Usage

nPCX(rMat, rotate = "none")

Arguments

rMat

Correlation matrix

Details

The correlation matrix should have correct reliability values on the diagonals (ideally, the value will be estimates of the retest values over the same measurement interval as typical for inter-item correlations within the matrix; see Wood, Lowman, Armstrong, & Harms, 2022). If it does not, then the resulting estimate will be inflated - often substantially!!!

There is also some code that is a work in progress to try to do this through 'setCor', although it is commented out as it has problems at the moment.

Value

(describe)

Examples

subdata <- subset(datafile, prMaxSD > .05)

funfield-lab/fancyr documentation built on Nov. 21, 2023, 2:42 p.m.