Learn R Programming

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

psych (version 1.0-33)

Procedures for Personality and Psychological Research

Description

A number of routines for personality, psychometrics and experimental psychology. Functions are primarily for scale construction, cluster analysis 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-33

License

GPL version 2 or newer

Maintainer

William Revelle

Last Published

March 21st, 2025

Functions in psych (1.0-33)

ICLUST.rgraph

Draw an ICLUST graph using the Rgraphviz package
VSS.plot

Plot VSS fits
circ.simulation

Simulations of circumplex and simple structure
fa.graph

Graph factor loading matrices
ICLUST.cluster

Function to form hierarchical cluster analysis of items
phi2poly

Convert a phi coefficient to a polychoric correlation
describe

Basic descriptive statistics useful for psychometrics
error.crosses

Plot x and y error bars
item.sim

Generate simulated data structures for circumplex or simple structure
congeneric.sim

Simulate a congeneric data set
error.bars

Plot means and confidence intervals
factor.congruence

Coefficient of factor congruence
polar

polar :convert Cartesian factor loadings into polar coordinates
fa.parallel

Scree plots of data or correlation matrix compared to random ``parallel" matrices
bfi

25 Personality items representing 5 factors
correct.cor

Find dis-attenuated correlations and give alpha reliabilities
kurtosi

Kurtosis of a vector, matrix, or data frame
factor.pa

Principal Axis Factor Analysis
mat.regress

Multiple Regression from matrix input
cluster.plot

Plot factor/cluster loadings and assign items to clusters by their highest loading
cluster.fit

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

Plot a scree test
ICLUST.graph

create control code for ICLUST graphical output
VSS.parallel

Compare real and random VSS solutions
eigen.loadings

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

Find the harmonic mean of a vector, matrix, or columns of a data.frame
alpha.scale

Cronbach alpha for a scale
factor2cluster

Extract cluster definitions from factor loadings
ICLUST

ICLUST: Item Cluster Analysis -- Hierarchical cluster analysis using psychometric principles
00psych-package

A package for personality, psychometric, and psychological research
circ.tests

Apply four tests of circumplex versus simple structure
score.items

Score item composite scales and find Cronbach's alpha as well as associated statistics
cluster.loadings

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

Find the probability of replication for an F, t, or r and estimate effect size
cluster.cor

Find correlations of composite variables from a larger matrix
irt.1p

Item Response Theory estimate of theta (ability) using a Rasch (like) model
schmid

Apply the Schmid Leiman transformation to a correlation matrix
VSS

Apply the Very Simple Structure criterion to determine the appropriate number of factors.
multi.hist

Multiple histograms on one screen
factor.rotate

``Hand" rotate a factor loading matrix
describe.by

Basic summary statistics by group
factor.residuals

R* = R- F F'
factor.model

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

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

Find the phi coefficient of correlation between two dichotomous variables
score.multiple.choice

Score multiple choice items and provide basic test statistics
paired.r

Test the difference between paired correlations
omega

Calculate the omega estimate of factor saturation
read.clipboard

shortcut for reading from the clipboard
score.alpha

Score scales and find Cronbach's alpha as well as associated statistics
matrix.addition

A function to add two vectors or matrices
VSS.simulate

create VSS like data
irt.item.diff.rasch

Simple function to estimate item difficulties using IRT concepts
poly.mat

Find polychoric correlations of item data
geometric.mean

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

Calculate skew for a vector, matrix, or data.frame
iqitems

14 multiple choice IQ items
test.psych

Testing of functions in the psych package
polychor.matrix

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

Principal components analysis
pairs.panels

SPLOM, histograms and correlations for a data matrix
omega.graph

Graph hierarchical factor structures
count.pairwise

Count number of pairwise cases for a data set with missing (NA) data.
sat.act

3 Measures of ability: SATV, SATQ, ACT
psycho.demo

Create demo data for psychometrics
ICLUST.sort

Sort items by absolute size of cluster loadings
fisherz

Fisher z transform of r
make.hierarchical

Create a population or sample correlation matrix with hierachical structure.