Learn R Programming

ThurMod (version 1.1.11)

Thurstonian CFA and Thurstonian IRT Modeling

Description

Fit Thurstonian forced-choice models (CFA (simple and factor) and IRT) in R. This package allows for the analysis of item response modeling (IRT) as well as confirmatory factor analysis (CFA) in the Thurstonian framework. Currently, estimation can be performed by 'Mplus' and 'lavaan'. References: Brown & Maydeu-Olivares (2011) ; Jansen, M. T., & Schulze, R. (in review). The Thurstonian linked block design: Improving Thurstonian modeling for paired comparison and ranking data.; Maydeu-Olivares & Böckenholt (2005) .

Copy Link

Version

Install

install.packages('ThurMod')

Monthly Downloads

127

Version

1.1.11

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Markus Thomas Jansen

Last Published

September 19th, 2023

Functions in ThurMod (1.1.11)

get.xblocks

Get extra blocks in a Thurstonian design, that links all blocks.
rankA

Determine the rank of the design matrix defined by the blocks.
mod.matrices

Create model matrices for Thurstonian modeling
get.xblocks.any

Get extra blocks in a Thurstonian design, that links as few blocks as possible.
read.mplus

Reads results from Mplus output file.
fit.mplus

Performs Mplus estimation of the given model.
pair.combn

Determine all paired comparisons
metablock

Find all general blocks
i.name

Creates names for paired comparisons of a given design.
get.scores

Estimate factor scores based on Genuine Likelihood
redundancies

Determine the number of redundancies
recode

Recode variables.
sim.data

Create data based on Thurstonian model equations
reliabiltyFS

Calculate reliability estimate for factor scores.
syntax.lavaan

Create lavaan syntax for Thurstonian forced choice analysis
syntax.mplus

Create Mplus syntax for Thurstonian forced choice designs.
fit.lavaan

Performs lavaan estimation of the given model.
blocksort

Sorts the blocks in ascending numbering
designA

Create the Thurstonian design matrix for paired comparison and ranking data.
FC_scores

Scores of the data set 'FC' from Mplus.
count.combn

Count paired comparisons
fit.correct

Correct degree of freedom and fit indices in Thurstonian block models
count.xblocks

Determine the number of extra blocks
FC_raw

Raw ranking data of $N=15$ items from three factors/traits (Thurstonian modeling)
FC12

Paired comparisons of $N=12$ items from one factor/trait (Thurstonian modeling)
FC

Paired comparisons of $N=15$ items from one factor/trait (Thurstonian modeling)