Learn R Programming

TAM

Test Analysis Modules

If you use TAM and have suggestions for improvement or have found bugs, please email me at robitzsch@leibniz-ipn.de. Please always provide a minimal dataset, necessary to demonstrate the problem, a minimal runnable code necessary to reproduce the issue, which can be run on the given dataset, and all necessary information on the used librarys, the R version, and the OS it is run on, perhaps a sessionInfo().

CRAN version

The official version of TAM is hosted on CRAN and may be found here. The CRAN version can be installed from within R using:

utils::install.packages("TAM")

GitHub version

The version hosted here is the development version of TAM. The GitHub version can be installed using devtools as

devtools::install_github("alexanderrobitzsch/TAM")

or alternatively use

utils::install.packages('TAM', repos = c('https://alexanderrobitzsch.r-universe.dev', 'https://cloud.r-project.org'))

Copy Link

Version

Install

install.packages('TAM')

Monthly Downloads

3,578

Version

4.3-25

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Alexander Robitzsch

Last Published

August 28th, 2025

Functions in TAM (4.3-25)

IRTLikelihood.ctt

Computes Individual Likelihood from Classical Test Theory Estimates
Scale

S3 Method for Standardizations and Transformations of Variables
IRT.threshold

Thurstonian Thresholds and Wright Map for Item Response Models
IRT.residuals

Residuals in an IRT Model
IRT.linearCFA

Linear Approximation of a Confirmatory Factor Analysis
IRT.truescore

Converts a \(\theta\) Score into a True Score \(\tau ( \theta)\)
IRT.likelihood

Extracting Individual Likelihood and Individual Posterior
IRTLikelihood.cfa

Individual Likelihood for Confirmatory Factor Analysis
IRT.simulate

Simulating Item Response Models
IRT.itemfit.tam

RMSD Item Fit Statistics for TAM Objects
data.ctest

Some C-Test Datasets
TAM-utilities

Utility Functions in TAM
data.examples

Datasets data.ex in TAM Package
TAM-defunct

Defunct TAM Functions
TAM-package

tools:::Rd_package_title("TAM")
data.cqc

More Datasets and Examples (Similar to ConQuest Examples)
cfa.extract.itempars

Extracting Item Parameters from a Fitted cfa Object in lavaan
WLErel

Reliability Estimation in TAM
data.fims.Aus.Jpn.scored

Dataset FIMS Study with Responses of Australian and Japanese Students
anova-logLik

Likelihood Ratio Test for Model Comparisons and Log-Likelihood Value
data.sim.rasch

Simulated Rasch data
data.sim.mfr

Simulated Multifaceted Data
designMatrices

Generation of Design Matrices
data.mc

Dataset with Raw and Scored Responses from Multiple Choice Items
doparse

Parsing a String with DO Statements
data.timssAusTwn

Dataset TIMSS 2011 of Australian and Taiwanese Students
data.geiser

Dataset from Geiser et al. (2006)
data.numeracy

Dataset Numeracy
data.janssen

Dataset from Janssen and Geiser (2010)
data.gpcm

Dataset with Ordered Indicators
plotDevianceTAM

Deviance Plot for TAM Objects
tam.fit

Item Infit and Outfit Statistic
plot.tam

Plot Function for Unidimensional Item Response Models
tam.jml

Joint Maximum Likelihood Estimation
lavaanify.IRT

Slight Extension of the lavaan Syntax, with Focus on Item Response Models
predict

Expected Values and Predicted Probabilities for Fitted TAM Models
tam.ctt

Classical Test Theory Based Statistics and Plots
msq.itemfit

Mean Squared Residual Based Item Fit Statistics (Infit, Outfit)
tam.fa

Bifactor Model and Exploratory Factor Analysis
tam.latreg

Latent Regression Model
IRT.WrightMap

Wright Map for Item Response Models by Using the WrightMap Package
IRT.frequencies.tam

Observed and Expected Frequencies for Univariate and Bivariate Distributions
IRT.cv

Cross-Validation of a Fitted IRT Model
IRT.drawPV

Function for Drawing Plausible Values
IRT.irfprob

Extracting Item Response Functions
IRT.data.tam

Extracting Item Response Dataset
IRT.factor.scores

Extracting Factor Scores in TAM
IRT.informationCurves

Item and Test Information Curve
IRT.expectedCounts

Extracting Expected Counts
DescribeBy

S3 Method for Descriptive Statistics of Objects