Package: ThurMod 1.1.11

ThurMod: Thurstonian CFA and Thurstonian IRT Modeling

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) <doi:10.1177/0013164410375112>; 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) <doi:10.1037/1082-989X.10.3.285>.

Authors:Markus Thomas Jansen [aut, cre]

ThurMod_1.1.11.tar.gz
ThurMod_1.1.11.zip(r-4.5)ThurMod_1.1.11.zip(r-4.4)ThurMod_1.1.11.zip(r-4.3)
ThurMod_1.1.11.tgz(r-4.4-any)ThurMod_1.1.11.tgz(r-4.3-any)
ThurMod_1.1.11.tar.gz(r-4.5-noble)ThurMod_1.1.11.tar.gz(r-4.4-noble)
ThurMod_1.1.11.tgz(r-4.4-emscripten)ThurMod_1.1.11.tgz(r-4.3-emscripten)
ThurMod.pdf |ThurMod.html
ThurMod/json (API)

# Install 'ThurMod' in R:
install.packages('ThurMod', repos = c('https://markustjansen.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/markustjansen/thurmod/issues

Datasets:
  • FC - Paired comparisons of $N=15$ items from one factor/trait
  • FC12 - Paired comparisons of $N=12$ items from one factor/trait
  • FC_raw - Raw ranking data of $N=15$ items from three factors/traits
  • FC_scores - Scores of the data set 'FC' from Mplus.

On CRAN:

3.00 score 2 scripts 115 downloads 22 exports 8 dependencies

Last updated 1 years agofrom:66c0e3877f. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 14 2024
R-4.5-winERROROct 14 2024
R-4.5-linuxERROROct 14 2024
R-4.4-winERROROct 14 2024
R-4.4-macERROROct 14 2024
R-4.3-winERROROct 14 2024
R-4.3-macERROROct 14 2024

Exports:blocksortcount.combncount.xblocksdesignAfit.correctfit.lavaanfit.mplusget.scoresget.xblocksget.xblocks.anyi.namemetablockmod.matricespair.combnrankAread.mplusrecoderedundanciesreliabiltyFSsim.datasyntax.lavaansyntax.mplus

Dependencies:lavaanMASSmatrixStatsmnormtmvtnormnumDerivpbivnormquadprog

Simulating data and estimating Thurstonian IRT and factor models with ThurMod

Rendered fromvignette.Rmdusingknitr::rmarkdownon Oct 14 2024.

Last update: 2023-09-19
Started: 2023-09-07

Readme and manuals

Help Manual

Help pageTopics
Sorts the blocks in ascending numberingblocksort
Count paired comparisonscount.combn
Determine the number of extra blockscount.xblocks
Create the Thurstonian design matrix for paired comparison and ranking data.designA
Paired comparisons of $N=15$ items from one factor/trait (Thurstonian modeling)FC
Raw ranking data of $N=15$ items from three factors/traits (Thurstonian modeling)FC_raw
Scores of the data set 'FC' from Mplus.FC_scores
Paired comparisons of $N=12$ items from one factor/trait (Thurstonian modeling)FC12
Correct degree of freedom and fit indices in Thurstonian block modelsfit.correct
Performs lavaan estimation of the given model.fit.lavaan
Performs Mplus estimation of the given model.fit.mplus
Estimate factor scores based on Genuine Likelihoodget.scores
Get extra blocks in a Thurstonian design, that links all blocks.get.xblocks
Get extra blocks in a Thurstonian design, that links as few blocks as possible.get.xblocks.any
Creates names for paired comparisons of a given design.i.name
Find all general blocksmetablock
Create model matrices for Thurstonian modelingmod.matrices
Determine all paired comparisonspair.combn
Determine the rank of the design matrix defined by the blocks.rankA
Reads results from Mplus output file.read.mplus
Recode variables.recode
Determine the number of redundanciesredundancies
Calculate reliability estimate for factor scores.reliabiltyFS
Create data based on Thurstonian model equationssim.data
Create lavaan syntax for Thurstonian forced choice analysissyntax.lavaan
Create Mplus syntax for Thurstonian forced choice designs.syntax.mplus