horn: Horn's Parallel Analysis

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Conduct's Horn's (1965) parallel analysis for determining the number of principal components

Usage

1
horn(set, sims = 100, nomiss = 1, graph = TRUE)

Arguments

set

A data.frame containing the variables to be analyzed

sims

A numeric indicating the number simulated data sets to use

nomiss

A numeric from 0 to 1.00 indicating the percentage of data that must be valid (non-missing) for each case for it to be included in the analysis.

graph

A logical indicating whether the results should be displayed graphically or not

Details

Horn's (1965) method of determining the number of factors to extract uses bootstrap style resampling of the original data matrix to create a sample data matrix. The eigenvalues for this data matrix are then computed and stored. This process is repeated "sims" times and the average of the resulting eigenvalues is taken to indicate the vector of eigenvalues that would be expected by random data. Horn suggested that one should extract as many factors as have eigenvalues greater than the eigenvalues expected by random data.

Value

Prints the number of components suggested and the number of cases deleted due to missingness. If graph=T a Scree Plot is graphed.

Author(s)

Ryne A. Sherman

References

Horn, J. (1965) A rationale and test for the number of factors in factor analysis. Psychometrika, 30, 179-185.

See Also

fa.parallel

Examples

1
2
data(bfi.set)	# the Big Five Personality Inventory 
horn(bfi.set) #now we can see how many components are suggested

Example output

Loading required package: psych
Loading required package: abind
Loading required package: foreach
Parallel analysis suggests 6 components 
0 cases deleted due to missingness. 

multicon documentation built on May 2, 2019, 3:18 a.m.