pa: Parallel analysis

View source: R/pa.R

paR Documentation

Parallel analysis

Description

Parallel analysis

Usage

pa(
  data = NULL,
  n = NULL,
  nv = NULL,
  nreps = 1000,
  alpha = 0.05,
  crit = NULL,
  ...
)

Arguments

data

a data.frame.

n

the number of subjects.

nv

the number of variables.

nreps

the number of replications.

alpha

type I error rate.

crit

critical values to compare the eigenvalues.

...

other arguments

Value

nfactors (if data is supplied) and sampled eigenvalues

References

Horn, J. L. (1965). A rationale and test for the number of factors in factor analysis. Psychometrika, 30(2), 179–185. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/BF02289447")}

Examples

pa(ex_2factors, n = 42)
pa(n = 10, nv = 2, nreps = 100)

Rnest documentation built on April 3, 2025, 5:31 p.m.

Related to pa in Rnest...