Learn R Programming

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

fungible (version 2.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

2,914

Version

2.2.2

License

GPL (>= 2)

Maintainer

Niels G Waller

Last Published

June 10th, 2022

Functions in fungible (2.2.2)

BadRKtB

Improper R matrix reported by Knol and ten Berge
BiFAD

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

Improper R matrix reported by Lurie and Goldberg
BadRRM

Improper R matrix reported by Rousseeuw and Molenberghs
FMP

Estimate the coefficients of a filtered monotonic polynomial IRT model
SLi

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

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

Adjective Checklist Data.
FMPMonotonicityCheck

Utility function for checking FMP monotonicity
fapa

Iterated Principal Axis Factor Analysis (fapa)
AmzBoxes

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

Create a random Phi matrix with maximum factor correlation
fareg

Regularized Factor Analysis
HS9Var

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

Plot item response functions for polynomial IRT models.
FUP

Estimate the coefficients of a filtered unconstrained polynomial IRT model
HW

Six data sets that yield a Heywood case
GenerateBoxData

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

Generate Correlation Matrices with Specified Eigenvalues
Box20

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

Generate Correlation Matrices with Specified Eigenvalues
Boruch70

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

Compute Omega hierarchical
Malmi79

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

Smooth NPD to Nearest PSD or PD Matrix
svdNorm

Compute theta surrogates via normalized SVD scores
smoothKB

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

Compute ML Tetrachoric Correlations
CompleteRmap

Complete a Partially Specified Correlation Matrix by the Method of Alternating Projections
CompleteRdev

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

Generate eigenvalues for R matrices with underlying component structure
enhancement

Find OLS Regression Coefficients that Exhibit Enhancement
d2r

Convert Degrees to Radians
eap

Compute eap trait estimates for FMP and FUP models
Jackson67

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

Ledermann's inequality for factor solution identification
faIB

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

Complete a Partially Specified Correlation Matrix by Convex Optimization
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
Box26

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

Factor Extraction (faX) Routines
genCorr

Generate Correlation Matrices with User-Defined Eigenvalues
fals

Unweighted least squares factor analysis
faLocalMin

Investigate local minima in faMain objects
BadRBY

Improper correlation matrix reported by Bentler and Yuan
faMain

Automatic Factor Rotation from Random Configurations with Bootstrap Standard Errors
adfCor

Asymptotic Distribution-Free Covariance Matrix of Correlations
adfCov

Asymptotic Distribution-Free Covariance Matrix of Covariances
itemDescriptives

Compute basic descriptives for binary-item analysis
faBounds

Bounds on the Correlation Between an External Variable and a Common Factor
cosMat

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

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

Calculate Reference Eigenvalues for the Empirical Kaiser Criterion
kurt

Calculate Univariate Kurtosis for a Vector or Matrix
corSmooth

Smooth a Non PD Correlation Matrix
ThurstoneBox26

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

Improper R matrix reported by Joseph and Newman
genFMPData

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

Locate Extrema of Fungible Regression Weights
print.faMain

Print Method for an Object of Class faMain
print.faMB

Print Method for an Object of Class faMB
rPCA

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

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

Calculate Univariate Skewness for a Vector or Matrix
simFA

Generate Factor Analysis Models and Data Sets for Simulation Studies
vnorm

Norm a Vector to Unit Length
faStandardize

Standardize the Unrotated Factor Loadings
faScores

Factor Scores
faSort

Sort a factor loadings matrix
plot.monte

Plot Method for Class Monte
orderFactors

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

Plot an ERF using rest scores
rellipsoid

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

Simulate Clustered Data with User-Defined Properties
normalCor

Compute Normal-Theory Covariances for Correlations
monte1

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

Compute the Frobenius norm of a matrix
rmsd

Root Mean Squared Deviation of (A - B)
fungibleL

Generate Fungible Logistic Regression Weights
rcor

Generate Random PSD Correlation Matrices
rcone

Generate a Cone of Regression Coefficient Vectors
seBeta

Standard Errors and CIs for Standardized Regression Coefficients
summary.faMain

Summary Method for an Object of Class faMain
summary.faMB

Summary Method for an Object of Class faMB
SchmidLeiman

Schmid-Leiman Orthogonalization to a (Rank-Deficient) Bifactor Structure
summary.monte

Summary Method for an Object of Class Monte
corSample

Sample Correlation Matrices from a Population Correlation Matrix
bigen

Generate Correlated Binary Data
Thurstone41

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

Summary Method for an Object of Class Monte1
faAlign

Align the columns of two factor loading matrices
erf

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

Understanding Factor Score Indeterminacy with Finite Dimensional Vector Spaces
fungible

Generate Fungible Regression Weights
fungibleR

Generate Fungible Correlation Matrices
gen4PMData

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

Convert Radians to Degrees
promaxQ

Conduct an Oblique Promax Rotation
seBetaFixed

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

Standard Errors and CIs for Standardized Regression Coefficients from Correlations
smoothAPA

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

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

Correlation between a Naturally and an Artificially Dichotomized Variable
vcos

Compute the Cosine Between Two Vectors