Man pages for psych
Procedures for Psychological, Psychometric, and Personality Research

00.psych-packageA package for personality, psychometric, and psychological...
ability16 ability items scored as correct or incorrect.
affectTwo data sets of affect and arousal scores as a function of...
alphaFind two estimates of reliability: Cronbach's alpha and...
AUCDecision Theory measures of specificity, sensitivity, and d...
best.scalesA bootstrap aggregation (bagging) function for choosing most...
bfi25 Personality items representing 5 factors
bi.barsDraw pairs of bargraphs based on two groups
bifactorSeven data sets showing a bifactor solution.
biplot.psychDraw biplots of factor or component scores by factor or...
blantA 29 x 29 matrix that produces weird factor analytic results
block.randomCreate a block randomized structure for n independent...
blotBond's Logical Operations Test - BLOT
bock.tableBock and Liberman (1970) data set of 1000 observations of the...
burt11 emotional variables from Burt (1915)
cattell12 cognitive variables from Cattell (1963)
circ.testsApply four tests of circumplex versus simple structure
citiesDistances between 11 US cities
cluster2keysConvert a cluster vector (from e.g., kmeans) to a keys matrix...
cluster.corFind correlations of composite variables (corrected for...
cluster.fitcluster Fit: fit of the cluster model to a correlation matrix
cluster.loadingsFind item by cluster correlations, corrected for overlap and...
cluster.plotPlot factor/cluster loadings and assign items to clusters by...
cohen.dFind Cohen d and confidence intervals
comorbidityConvert base rates of two diagnoses and their comorbidity...
cor2distConvert correlations to distances (necessary to do...
cor.ciBootstrapped confidence intervals for raw and composite...
corFimlFind a Full Information Maximum Likelihood (FIML) correlation...
cor.plotCreate an image plot for a correlation or factor matrix
correct.corFind dis-attenuated correlations given correlations and...
corr.testFind the correlations, sample sizes, and probability values...
cor.smoothSmooth a non-positive definite correlation matrix to make it...
cortest.bartlettBartlett's test that a correlation matrix is an identity...
cortest.matChi square tests of whether a single matrix is an identity...
cor.wtThe sample size weighted correlation may be used in...
cosinorFunctions for analysis of circadian or diurnal data
count.pairwiseCount number of pairwise cases for a data set with missing...
ctaSimulate the C(ues) T(endency) A(ction) model of motivation
cubitsGalton's example of the relationship between height and...
cushnyA data set from Cushny and Peebles (1905) on the effect of...
densityByCreate a 'violin plot' or density plot of the distribution of...
deprecatedDeprecated Exploratory Factor analysis functions. Please use...
describeBasic descriptive statistics useful for psychometrics
describe.byBasic summary statistics by group
df2latexConvert a data frame, correlation matrix, or factor analysis...
dfOrderSort (order) a dataframe or matrix by multiple columns
diagramHelper functions for drawing path model diagrams
draw.tetraDraw a correlation ellipse and two normal curves to...
dummy.codeCreate dummy coded variables
dwyer8 cognitive variables used by Dwyer for an example.
eigen.loadingsConvert eigen vectors and eigen values to the more normal...
ellipsesPlot data and 1 and 2 sigma correlation ellipses
epiEysenck Personality Inventory (EPI) data for 3570...
epi.bfi13 personality scales from the Eysenck Personality Inventory...
error.barsPlot means and confidence intervals
error.bars.byPlot means and confidence intervals for multiple groups
error.circlesTwo way plots of means, error bars, and sample sizes
error.crossesPlot x and y error bars
error.dotsShow a dot.chart with error bars for different groups or...
esemPerform and Exploratory Structural Equation Model (ESEM) by...
faExploratory Factor analysis using MinRes (minimum residual)...
factor2clusterExtract cluster definitions from factor loadings
factor.congruenceCoefficient of factor congruence
factor.fitHow well does the factor model fit a correlation matrix. Part...
factor.modelFind R = F F' + U2 is the basic factor model
factor.residualsR* = R- F F'
factor.rotate"Hand" rotate a factor loading matrix
factor.scoresVarious ways to estimate factor scores for the factor...
factor.statsFind various goodness of fit statistics for factor analysis...
fa.diagramGraph factor loading matrices
fa.extensionApply Dwyer's factor extension to find factor loadings for...
fa.lookupA set of functions for factorial and empirical scale...
faMultiMulti level (hierarchical) factor analysis
fa.parallelScree plots of data or correlation matrix compared to random...
fa.randomA first approximation to Random Effects Exploratory Factor...
fa.sortSort factor analysis or principal components analysis...
fileUtilitiesUseful utility functions for file/directory exploration and...
fisherzTransformations of r, d, and t including Fisher r to z and z...
galtonGalton's Mid parent child height data
GarciaData from the sexism (protest) study of Garcia, Schmitt,...
geometric.meanFind the geometric mean of a vector or columns of a...
glb.algebraicFind the greatest lower bound to reliability.
GleserExample data from Gleser, Cronbach and Rajaratnam (1965) to...
GorsuchExample data set from Gorsuch (1997) for an example factor...
guttmanAlternative estimates of test reliabiity
HarmanFive data sets from Harman (1967). 9 cognitive variables from...
harmonic.meanFind the harmonic mean of a vector, matrix, or columns of a...
headtailCombine calls to head and tail
heightsA data.frame of the Galton (1888) height and cubit data set.
ICCIntraclass Correlations (ICC1, ICC2, ICC3 from Shrout and...
ICLUSTiclust: Item Cluster Analysis - Hierarchical cluster analysis...
ICLUST.clusterFunction to form hierarchical cluster analysis of items
iclust.diagramDraw an ICLUST hierarchical cluster structure diagram
ICLUST.graphcreate control code for ICLUST graphical output
ICLUST.rgraphDraw an ICLUST graph using the Rgraphviz package
ICLUST.sortSort items by absolute size of cluster loadings
incomeUS family income from US census 2008
interp.medianFind the interpolated sample median, quartiles, or specific...
iqitems16 multiple choice IQ items
irt.faItem Response Analysis by Exploratory Factor Analysis of...
irt.item.diff.raschSimple function to estimate item difficulties using IRT...
irt.person.raschItem Response Theory estimate of theta (ability) using a...
irt.responsesPlot probability of multiple choice responses as a function...
kaiserApply the Kaiser normalization when rotating factors
kappaFind Cohen's kappa and weighted kappa coefficients for...
KMOFind the Kaiser, Meyer, Olkin Measure of Sampling Adequacy
logisticLogistic transform from x to p and logit transform from p to...
lowerUpperCombine two square matrices to have a lower off diagonal for...
make.keysCreate a keys matrix for use by score.items or cluster.cor
matrix.additionA function to add two vectors or matrices
mat.sortSort the elements of a correlation matrix to reflect factor...
mediateEstimate and display direct and indirect effects of mediators...
miscMiscellaneous helper functions for the psych package
mixed.corFind correlations for mixtures of continuous, polytomous, and...
msq75 mood items from the Motivational State Questionnaire for...
msqR75 mood items from the Motivational State Questionnaire for...
mssdFind von Neuman's Mean Square of Successive Differences
multi.histMultiple histograms with density and normal fits on one page
multilevel.reliabilityFind and plot various reliability/gneralizability...
neoNEO correlation matrix from the NEO_PI_R manual
omegaCalculate McDonald's omega estimates of general and total...
omega.graphGraph hierarchical factor structures
outlierFind and graph Mahalanobis squared distances to detect...
paired.rTest the difference between (un)paired correlations
pairs.panelsSPLOM, histograms and correlations for a data matrix
parcelsFind miniscales (parcels) of size 2 or 3 from a set of items
partial.rFind the partial correlations for a set (x) of variables with...
peasGalton's Peas
phiFind the phi coefficient of correlation between two...
phi2polyConvert a phi coefficient to a tetrachoric correlation
phi.demoA simple demonstration of the Pearson, phi, and polychoric...
plot.psychPlotting functions for the psych package of class "psych"
polarConvert Cartesian factor loadings into polar coordinates
polychor.matrixPhi or Yule coefficient matrix to polychoric coefficient...
predict.psychPrediction function for factor analysis or principal...
p.repFind the probability of replication for an F, t, or r and...
principalPrincipal components analysis (PCA)
print.psychPrint and summary functions for the psych class
PromaxPerform bifactor, promax or targeted rotations and return the...
range.correctionCorrect correlations for restriction of range. (Thorndike...
read.clipboardShortcuts for reading from the clipboard or a file
rescaleFunction to convert scores to "conventional " metrics
residuals.psychExtract residuals from various psych objects
reverse.codeReverse the coding of selected items prior to scale analysis
r.testTests of significance for correlations
saiState Anxiety data from the PMC lab over multiple occasions.
sat.act3 Measures of ability: SATV, SATQ, ACT
scaling.fitsTest the adequacy of simple choice, logistic, or Thurstonian...
scatter.histDraw a scatter plot with associated X and Y histograms,...
schmidApply the Schmid Leiman transformation to a correlation...
Schmid.Leiman12 variables created by Schmid and Leiman to show the...
SchutzThe Schutz correlation matrix example from Shapiro and ten...
score.alphaScore scales and find Cronbach's alpha as well as associated...
score.irtFind Item Response Theory (IRT) based scores for dichotomous...
score.itemsScore item composite scales and find Cronbach's alpha,...
score.multiple.choiceScore multiple choice items and provide basic test statistics
scrubA utility for basic data cleaning and recoding. Changes...
SDFind the Standard deviation for a vector, matrix, or...
set.corSet Correlation and Multiple Regression from matrix or raw...
simFunctions to simulate psychological/psychometric data.
sim.anovaSimulate a 3 way balanced ANOVA or linear model, with or...
sim.congenericSimulate a congeneric data set
sim.hierarchicalCreate a population or sample correlation matrix, perhaps...
sim.itemGenerate simulated data structures for circumplex, spherical,...
sim.multilevelSimulate multilevel data with specified within group and...
sim.structuralCreate correlation matrices or data matrices with a...
simulation.circSimulations of circumplex and simple structure
sim.VSScreate VSS like data
skewCalculate univariate or multivariate (Mardia's test) skew and...
smcFind the Squared Multiple Correlation (SMC) of each variable...
spiA sample from the SAPA Personality Inventory including an...
spiderMake "radar" or "spider" plots.
statsByFind statistics (including correlations) within and between...
structure.diagramDraw a structural equation model specified by two measurement...
structure.listCreate factor model matrices from an input list
super.matrixForm a super matrix from two sub matrices.
table2matrixConvert a table with counts to a matrix or data.frame...
tal_orData set testing causal direction in presumed media influence
test.irtA simple demonstration (and test) of various IRT scoring...
test.psychTesting of functions in the psych package
testRetestFind various test-retest statistics, including test, person...
tetrachorTetrachoric, polychoric, biserial and polyserial correlations...
thurstoneThurstone Case V scaling
trFind the trace of a square matrix
Tucker9 Cognitive variables discussed by Tucker and Lewis (1973)
unidimSeveral indices of the unidimensionality of a set of...
vegetablesPaired comparison of preferences for 9 vegetables
VSSApply the Very Simple Structure, MAP, and other criteria to...
VSS.parallelCompare real and random VSS solutions
VSS.plotPlot VSS fits
VSS.screePlot the successive eigen values for a scree test
winsorFind the Winsorized scores, means, sds or variances for a...
withinBetweenAn example of the distinction between within group and...
YuleFrom a two by two table, find the Yule coefficients of...
psych documentation built on May 7, 2018, 1:04 a.m.