Learn R Programming

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

fungible (version 1.97)

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

2,823

Version

1.97

License

GPL (>= 2)

Maintainer

Niels G Waller

Last Published

April 1st, 2021

Functions in fungible (1.97)

Box20

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

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

Improper R matrix reported by Knol and ten Berge
BadRJN

Improper R matrix reported by Joseph and Newman
BadRRM

Improper R matrix reported by Rousseeuw and Molenberghs
AmzBoxes

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

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

Adjective Checklist Data.
BadRLG

Improper R matrix reported by Lurie and Goldberg
BadRBY

Improper correlation matrix reported by Bentler and Yuan
GenerateBoxData

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

Six data sets that yield a Heywood case
HS9Var

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

Generate Correlated Binary Data
adfCov

Asymptotic Distribution-Free Covariance Matrix of Covariances
Omega

Compute Omega hierarchical
Box26

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

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

Estimate the coefficients of a filtered monotonic polynomial IRT model
SchmidLeiman

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

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

Estimate the coefficients of a filtered unconstrained polynomial IRT model
FMPMonotonicityCheck

Utility function for checking FMP monotonicity
Jackson67

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

Ledermann's inequality for factor solution identification
faAlign

Align the columns of two factor loading matrices
faEKC

Calculate Reference Eigenvalues for the Empirical Kaiser Criterion
Thurstone41

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

Sample Correlation Matrices from a Population Correlation Matrix
enhancement

Find OLS Regression Coefficients that Exhibit Enhancement
erf

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

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

Investigate local minima in faMain objects
faIB

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

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

Automatic Factor Rotation from Random Configurations with Bootstrap Standard Errors
faScores

Factor Scores
corSmooth

Smooth a Non PD Correlation Matrix
adfCor

Asymptotic Distribution-Free Covariance Matrix of Correlations
eigGen

Generate eigenvalues for R matrices with underlying component structure
ThurstoneBox26

Factor Pattern Matrix for Thurstone's 26 box attributes.
plot.monte

Plot Method for Class Monte
genCorr

Generate Correlation Matrices with User-Defined Eigenvalues
fungibleL

Generate Fungible Logistic Regression Weights
eap

Compute eap trait estimates for FMP and FUP models
print.faMB

Print Method for an Object of Class faMB
fungibleR

Generate Fungible Correlation Matrices
faMB

Multiple Battery Factor Analysis by Maximum Likelihood Methods
faMAP

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

Compute the Frobenius norm of a matrix
rmsd

Root Mean Squared Deviation of (A - B)
monte1

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

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

Generate Correlation Matrices with Specified Eigenvalues
rarc

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

Convert Degrees to Radians
seBetaCor

Standard Errors and CIs for Standardized Regression Coefficients from Correlations
faX

Factor Extraction (faX) Routines
fals

Unweighted least squares factor analysis
faStandardize

Standardize the Unrotated Factor Loadings
Malmi79

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

Sort a factor loadings matrix
summary.faMB

Summary Method for an Object of Class faMB
seBetaFixed

Covariance Matrix and Standard Errors for Standardized Regression Coefficients for Fixed Predictors
summary.faMain

Summary Method for an Object of Class faMain
fapa

Iterated Principal Axis Factor Analysis (fapa)
fareg

Regularized Factor Analysis
kurt

Calculate Univariate Kurtosis for a Vector or Matrix
seBeta

Standard Errors and CIs for Standardized Regression Coefficients
svdNorm

Compute theta surrogates via normalized SVD scores
normalCor

Compute Normal-Theory Covariances for Correlations
fungible

Generate Fungible Regression Weights
r2d

Convert Radians to Degrees
rGivens

Generate Correlation Matrices with Specified Eigenvalues
monte

Simulate Clustered Data with User-Defined Properties
irf

Plot item response functions for polynomial IRT models.
itemDescriptives

Compute basic descriptives for binary-item analysis
fungibleExtrema

Locate Extrema of Fungible Regression Weights
genPhi

Create a random Phi matrix with maximum factor correlation
genFMPData

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

Generate a Cone of Regression Coefficient Vectors
orderFactors

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

Generate Random PSD Correlation Matrices
print.faMain

Print Method for an Object of Class faMain
tetcor

Compute ML Tetrachoric Correlations
skew

Calculate Univariate Skewness for a Vector or Matrix
simFA

Generate Factor Analysis Models and Data Sets for Simulation Studies
rellipsoid

Generate Uniformly Spaced OLS Regression Coefficients that Yield a User-Supplied R-Squared Value
summary.monte1

Summary Method for an Object of Class Monte1
summary.monte

Summary Method for an Object of Class Monte
vnorm

Norm a Vector to Unit Length
smoothAPA

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

Conduct an Oblique Promax Rotation
smoothBY

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

Compute the Cosine Between Two Vectors
smoothKB

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

Plot an ERF using rest scores
smoothLG

Smooth NPD to Nearest PSD or PD Matrix
tetcorQuasi

Correlation between a Naturally and an Artificially Dichotomized Variable