Package: tcl 0.2.1

Clemens Draxler

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>.

Authors:Clemens Draxler [aut, cre], Andreas Kurz [aut]

tcl_0.2.1.tar.gz
tcl_0.2.1.tar.gz(r-4.5-noble)tcl_0.2.1.tar.gz(r-4.4-noble)
tcl_0.2.1.tgz(r-4.4-emscripten)tcl_0.2.1.tgz(r-4.3-emscripten)
tcl.pdf |tcl.html
tcl/json (API)

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

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.00 score 7 scripts 312 downloads 27 mentions 15 exports 30 dependencies

Last updated 2 months agofrom:4a6c0dbde7. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 17 2024
R-4.5-linuxOKOct 17 2024

Exports:change_testdiscr_testinvar_testLLTM_testpost_hocChangepost_hocPCMpost_hocRMpowerChangepowerPCMpowerRMsa_sizeChangesa_sizePCMsa_sizeRMtcl_hessiantcl_scorefun

Dependencies:admiscclicolorspaceeRmexpmfansigenericsglueGPArotationlatticelifecycleltmmagrittrMASSMatrixmnormtmsmmvtnormnlmenumDerivpillarpkgconfigpolycorpsychpsychotoolsrlangsurvivaltibbleutf8vctrs

Testing in Conditional Likelihood Context: The R Package tcl

Rendered fromtcl-vignette.Rmdusingknitr::rmarkdownon Oct 17 2024.

Last update: 2024-09-17
Started: 2021-05-04