Learn R Programming

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

fungible (version 2.2)

Psychometric Functions from the Waller Lab

Description

Computes fungible coefficients and Monte Carlo data. Underlying theory for these functions is described in the following publications: Waller, N. (2008). Fungible Weights in Multiple Regression. Psychometrika, 73(4), 691-703, . Waller, N. & Jones, J. (2009). Locating the Extrema of Fungible Regression Weights. Psychometrika, 74(4), 589-602, . Waller, N. G. (2016). Fungible Correlation Matrices: A Method for Generating Nonsingular, Singular, and Improper Correlation Matrices for Monte Carlo Research. Multivariate Behavioral Research, 51(4), 554-568, . Jones, J. A. & Waller, N. G. (2015). The normal-theory and asymptotic distribution-free (ADF) covariance matrix of standardized regression coefficients: theoretical extensions and finite sample behavior. Psychometrika, 80, 365-378, . Waller, N. G. (2018). Direct Schmid-Leiman transformations and rank-deficient loadings matrices. Psychometrika, 83, 858-870. .

Copy Link

Version

Install

install.packages('fungible')

Monthly Downloads

3,895

Version

2.2

License

GPL (>= 2)

Maintainer

Niels G Waller

Last Published

April 26th, 2022

Functions in fungible (2.2)

ACL

Adjective Checklist Data.
BadRRM

Improper R matrix reported by Rousseeuw and Molenberghs
BadRKtB

Improper R matrix reported by Knol and ten Berge
BadRJN

Improper R matrix reported by Joseph and Newman
Box20

Length, width, and height measurements for Thurstone's 20 boxes
AmzBoxes

Length, width, and height measurements for 98 Amazon shipping boxes
BadRBY

Improper correlation matrix reported by Bentler and Yuan
BadRLG

Improper R matrix reported by Lurie and Goldberg
BiFAD

Bifactor Analysis via Direct Schmid-Leiman (DSL) Transformations
Boruch70

Multi-Trait Multi-Method correlation matrix reported by Boruch, Larkin, Wolins, and MacKinney (1970)
Box26

R matrix for Thurstone's 26 hypothetical box attributes.
Jackson67

Multi-Trait Multi-Method correlation matrix reported by Jackson and Singer (1967)
HW

Six data sets that yield a Heywood case
FMPMonotonicityCheck

Utility function for checking FMP monotonicity
FUP

Estimate the coefficients of a filtered unconstrained polynomial IRT model
HS9Var

9 Variables from the Holzinger and Swineford (1939) Dataset
GenerateBoxData

Generate Thurstone's Box Data From length, width, and height box measurements
Omega

Compute Omega hierarchical
RnpdMAP

Generate Random NPD R matrices from a user-supplied population R
FMP

Estimate the coefficients of a filtered monotonic polynomial IRT model
CompleteRdev

Complete a Partially Specified Correlation Matrix by the Method of Differential Evolution
SchmidLeiman

Schmid-Leiman Orthogonalization to a (Rank-Deficient) Bifactor Structure
Thurstone41

Multi-Trait Multi-Method correlation matrix reported by Thurstone and Thurstone (1941).
SLi

Conduct a Schmid-Leiman Iterated (SLi) Target Rotation
ThurstoneBox20

Factor Pattern and Factor Correlations for Thurstone's 20 hypothetical box attributes.
Ledermann

Ledermann's inequality for factor solution identification
erf

Utility fnc to compute the components for an empirical response function
enhancement

Find OLS Regression Coefficients that Exhibit Enhancement
CompleteRcvx

Complete a Partially Specified Correlation Matrix by Convex Optimization
Malmi79

Multi-Trait Multi-Method correlation matrix reported by Malmi, Underwood, and Carroll (1979).
ThurstoneBox26

Factor Pattern Matrix for Thurstone's 26 box attributes.
eap

Compute eap trait estimates for FMP and FUP models
eigGen

Generate eigenvalues for R matrices with underlying component structure
corSample

Sample Correlation Matrices from a Population Correlation Matrix
corSmooth

Smooth a Non PD Correlation Matrix
cosMat

Compute the cosine(s) between either 2 matrices or 2 vectors.
adfCor

Asymptotic Distribution-Free Covariance Matrix of Correlations
d2r

Convert Degrees to Radians
bigen

Generate Correlated Binary Data
adfCov

Asymptotic Distribution-Free Covariance Matrix of Covariances
faLocalMin

Investigate local minima in faMain objects
faIB

Inter-Battery Factor Analysis by the Method of Maximum Likelihood
faStandardize

Standardize the Unrotated Factor Loadings
faSort

Sort a factor loadings matrix
faEKC

Calculate Reference Eigenvalues for the Empirical Kaiser Criterion
faAlign

Align the columns of two factor loading matrices
faMain

Automatic Factor Rotation from Random Configurations with Bootstrap Standard Errors
faScores

Factor Scores
gen4PMData

Generate item response data for 1, 2, 3, or 4-parameter IRT models
fungibleR

Generate Fungible Correlation Matrices
fungibleExtrema

Locate Extrema of Fungible Regression Weights
fungibleL

Generate Fungible Logistic Regression Weights
normalCor

Compute Normal-Theory Covariances for Correlations
normF

Compute the Frobenius norm of a matrix
fapa

Iterated Principal Axis Factor Analysis (fapa)
itemDescriptives

Compute basic descriptives for binary-item analysis
faMAP

Velicer's minimum partial correlation method for determining the number of major components for a principal components analysis or a factor analysis
fareg

Regularized Factor Analysis
faMB

Multiple Battery Factor Analysis by Maximum Likelihood Methods
faX

Factor Extraction (faX) Routines
rPCA

Generate a Correlation Matrix from a Truncated PCA Loadings Matrix.
rarc

Rotate Points on the Surface on an N-Dimensional Ellipsoid
genPhi

Create a random Phi matrix with maximum factor correlation
promaxQ

Conduct an Oblique Promax Rotation
r2d

Convert Radians to Degrees
irf

Plot item response functions for polynomial IRT models.
orderFactors

Order factor-loadings matrix by the sum of squared factor loadings
kurt

Calculate Univariate Kurtosis for a Vector or Matrix
plot.monte

Plot Method for Class Monte
genCorr

Generate Correlation Matrices with User-Defined Eigenvalues
fals

Unweighted least squares factor analysis
smoothAPA

Smooth a NPD R matrix to PD using the Alternating Projection Algorithm
rellipsoid

Generate Uniformly Spaced OLS Regression Coefficients that Yield a User-Supplied R-Squared Value
restScore

Plot an ERF using rest scores
smoothBY

Smooth an NPD R matrix to PD using the Bentler Yuan 2011 method
seBeta

Standard Errors and CIs for Standardized Regression Coefficients
rmsd

Root Mean Squared Deviation of (A - B)
genFMPData

Generate item response data for a filtered monotonic polynomial IRT model
vnorm

Norm a Vector to Unit Length
rMAP

Generate Correlation Matrices with Specified Eigenvalues
rGivens

Generate Correlation Matrices with Specified Eigenvalues
seBetaFixed

Covariance Matrix and Standard Errors for Standardized Regression Coefficients for Fixed Predictors
seBetaCor

Standard Errors and CIs for Standardized Regression Coefficients from Correlations
summary.monte

Summary Method for an Object of Class Monte
summary.faMain

Summary Method for an Object of Class faMain
summary.faMB

Summary Method for an Object of Class faMB
simFA

Generate Factor Analysis Models and Data Sets for Simulation Studies
skew

Calculate Univariate Skewness for a Vector or Matrix
tetcor

Compute ML Tetrachoric Correlations
svdNorm

Compute theta surrogates via normalized SVD scores
fsIndeterminacy

Understanding Factor Score Indeterminacy with Finite Dimensional Vector Spaces
fungible

Generate Fungible Regression Weights
print.faMB

Print Method for an Object of Class faMB
monte1

Simulate Multivariate Non-normal Data by Vale & Maurelli (1983) Method
monte

Simulate Clustered Data with User-Defined Properties
summary.monte1

Summary Method for an Object of Class Monte1
vcos

Compute the Cosine Between Two Vectors
tetcorQuasi

Correlation between a Naturally and an Artificially Dichotomized Variable
print.faMain

Print Method for an Object of Class faMain
rcor

Generate Random PSD Correlation Matrices
smoothLG

Smooth NPD to Nearest PSD or PD Matrix
rcone

Generate a Cone of Regression Coefficient Vectors
smoothKB

Smooth a Non PD Correlation Matrix using the Knol-Berger algorithm