Skip to content

Testing in Conditional Likelihood Context

0packages depend
2.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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. Additionally, functions to compute the power of the tests as a function of an effect measure interpreted as explained variance are provided. Draxler, C., & Alexandrowicz, R. W. (2015), doi:10.1007/s11336-015-9472-y.

Changes in 1.0.1
  • mix_mod() added: fits a mixed model considering multiple covariates.
  • Power calculation and power curve functions added for statistical analysis and visualization.
  • Backtick issues in sample_size_planning outputs fixed for improved readability.
  • Function arguments and return values harmonized across the package for consistency and ease of use.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 220 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
19
Examples that run
0%19 never run
Exported functions with examples
100%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
95%

Downloads

2.7K
CRAN downloads in the past year
Rank #15,441 · ~7/day · ~227/mo
Daily download trend is not available in this view yet.
33930 days
78790 days
2.7K1 year
Compare downloads with other packages →
Also on76 r2u2 autocran

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing tcl adds 24 packages (15 with compiled code, 13 MB of source tarballs). Heaviest: colorspace 2.0 MB, GPArotation 1.6 MB, psych 1.1 MB.

Depends (1)
R >= 3.5.0
Imports (13)
eRmpsychotoolsltmnumDerivgraphicsgrDevicesstatsmethodsMASSsplinesMatrixlatticerlang
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2019)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    record
    2025-10-06 · current release · diff ↗ ·
    added 6 exports
    cml_power, get_eRm_arg, mix_mod, opt_n, p_curve, p_ncurve
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.1
    record
    2024-09-16 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.0
    record
    2023-05-03 · diff ↗ ·
    added 1 export
    discr_test
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1
    record
    2021-05-04 · diff ↗ ·
    added 9 exports
    post_hocChange, post_hocPCM, post_hocRM, powerChange, powerPCM, powerRM, sa_sizeChange, sa_sizePCM, sa_sizeRM
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    record
    2019-09-20
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-09-20
Total releases
5 / 7 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Download size
91 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tcl")
Draxler, C., & Kurz, A. (2025). tcl: Testing in Conditional Likelihood Context (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.tcl

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tcl version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy