tcl: Testing in Conditional Likelihood Context

An implementation of hypothesis testing in an extended Rasch modeling framework, including sample size planning procedures and power computations. Provides 4 statistical tests, i.e., gradient test (GR), likelihood ratio test (LR), Rao score or Lagrange multiplier test (RS), and Wald test, for testing a number of hypotheses referring to the Rasch model (RM), linear logistic test model (LLTM), rating scale model (RSM), and partial credit model (PCM). Three types of functions for power and sample size computations are provided. Firstly, functions to compute the sample size given a user-specified (predetermined) deviation from the hypothesis to be tested, the level alpha, and the power of the test. Secondly, functions to evaluate the power of the tests given a user-specified (predetermined) deviation from the hypothesis to be tested, the level alpha of the test, and the sample size. Thirdly, functions to evaluate the so-called post hoc power of the tests. This is the power of the tests given the observed deviation of the data from the hypothesis to be tested and a user-specified level alpha of the test. Power and sample size computations are based on a Monte Carlo simulation approach. It is computationally very efficient. The variance of the random error in computing power and sample size arising from the simulation approach is analytically derived by using the delta method. Draxler, C., & Alexandrowicz, R. W. (2015), <doi:10.1007/s11336-015-9472-y>.

Version: 0.2.0
Depends: R (≥ 3.5.0)
Imports: eRm, psychotools, ltm, numDeriv, graphics, grDevices, stats, methods, MASS, splines, Matrix, lattice, rlang
Suggests: knitr, rmarkdown
Published: 2023-05-02
DOI: 10.32614/CRAN.package.tcl
Author: Clemens Draxler [aut, cre], Andreas Kurz [aut]
Maintainer: Clemens Draxler <clemens.draxler at>
License: GPL-2
NeedsCompilation: no
CRAN checks: tcl results


Reference manual: tcl.pdf
Vignettes: tcl-vignette


Package source: tcl_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): tcl_0.2.0.tgz, r-oldrel (arm64): tcl_0.2.0.tgz, r-release (x86_64): tcl_0.2.0.tgz, r-oldrel (x86_64): tcl_0.2.0.tgz
Old sources: tcl archive


Please use the canonical form to link to this page.