Learn R Programming

⚠️There's a newer version (2.5.3) of this package.Take me there.

psych (version 1.0-23)

Procedures for Personality and Psychological Research

Description

A number of routines for personality, psychometrics and experimental psychology, Functions are primarily for scale construction and reliability analysis, although others are basic descriptive stats, For more information, see the personality-project.org/r

Copy Link

Version

Install

install.packages('psych')

Monthly Downloads

242,751

Version

1.0-23

License

GPL version 2 or newer

Maintainer

William Revelle

Last Published

March 21st, 2025

Functions in psych (1.0-23)

ICLUST.sort

sort items by absolute size of cluster loadins
alpha.scale

Cronbach alpha for a scale
geometric.mean

Find the geometric mean of a vector or columns of a data.frame.
congeneric.sim

Simulate a congeneric data set
kurtosi

Kurtosis of a vector, matrix, or data frame
circ.simulation

Simulations of circumplex and simple structure
cluster.fit

cluster Fit: fit of the cluster model to a correlation matrix
ICLUST.cluster

Function to form hierarchical cluster analysis of items
eigen.loadings

Convert eigen vectors and eigen values to the more normal (for psychologists) component loadings
error.crosses

Plot x and y error bars
factor.residuals

R* = R- F F'
omega

Calculate the omega estimate of factor saturation
mat.regress

Multiple Regression from matrix input
multi.hist

Multiple histograms on one screen
omega.graph

Graph hierarchical factor structures
ICLUST

ICLUST: Item Cluster Analysis -- Hierarchical cluster analysis using psychometric principles
VSS.simulate

create VSS like data
principal

Principal components analysis
factor.pa

Principal Axis Factor Analysis
test.psych

Testing of functions in the psych package
VSS.plot

Plot VSS fits
circ.tests

Apply four tests of circumplex versus simple structure
psycho.demo

Create demo data for psychometrics
cluster.loadings

Find item by cluster correlations, corrected for overlap and reliability
cluster.cor

Find correlations of composite variables from a larger matrix
factor.fit

How well does the factor model fit a correlation matrix. Part of the VSS package
harmonic.mean

Find the harmonic mean of a vector, matrix, or columns of a data.frame
item.sim

Generate simulated data structures for circumplex or simple structure
VSS

Apply the Very Simple Structure criterion to determine the appropriate number of factors.
score.items

Score item composite scales and find Cronbach's alpha as well as associated statistics
skew

Calculate skew for a vector, matrix, or data.frame
describe.by

Basic summary statistics by group
count.pairwise

Count number of pairwise cases for a data set with missing (NA) data.
ICLUST.rgraph

Draw an ICLUST graph using the Rgraphviz package
schmid

Apply the Schmid Leiman transformation to a correlation matrix
fisherz

Fisher z transform of r
VSS.scree

Plot a scree test
00psych-package

A package for personality, psychometric, and psychological research
irt.1p

Item Response Theory estimate of theta (ability) using a Rasch (like) model
irt.item.diff.rasch

Simple function to estimate item difficulties using IRT concepts
factor.rotate

"Hand" rotate a factor loading matrix
paired.r

Test the difference between paired correlations
matrix.addition

A function to add two vectors or matrices
factor.model

Find R = F F' + U2 is the basic factor model
phi2poly

Convert a phi coefficient to a polychoric correlation
describe

Basic descriptive statistics useful for psychometrics
ICLUST.graph

create control code for ICLUST graphical output
poly.mat

Find polychoric correlations of item data
polychor.matrix

Actually, what does this do? Convert a matrix of phi coefficients to a matrix of polycoric correlations
pairs.panels

SPLOM, histograms and correlations for a data matrix
score.alpha

Score scales and find Cronbach's alpha as well as associated statistics
phi

Find the phi coefficient of correlation between two dichotomous variables
correct.cor

Find dis-attenuated correlations and give alpha reliabilities
VSS.parallel

Compare real and random VSS solutions
fa.parallel

Scree plots of data or correlation matrix compared to random ``parallel" matrix
make.hierarchical

Create a population or sample correlation matrix with hierachical structure.
factor.congruence

Coefficient of factor congruence
fa.graph

Graph factor loading matrices
factor2cluster

Extract cluster definitions from factor loadings
read.clipboard

shortcut for reading from the clipboard