Skip to content

mmiCATs

0.2.0

Cluster Adjusted t Statistic Applications

0packages depend
2.2Kdownloads / year
23.3%test coverage
13/13checks pass

Overview

About
Maintained by Mackson NcubeFirst published 2024-02-163 releasesCRAN page ↗GitHub ↗

Simulation results detailed in Esarey and Menger (2019) doi:10.1017/psrm.2017.42 demonstrate that cluster adjusted t statistics (CATs) are an effective method for correcting standard errors in scenarios with a small number of clusters. The 'mmiCATs' package offers a suite of tools for working with CATs. The mmiCATs() function initiates a 'shiny' web application, facilitating the analysis of data utilizing CATs, as implemented in the cluster.im.glm() function from the 'clusterSEs' package. Additionally, the pwr_func_lmer() function is designed to simplify the process of conducting simulations to compare mixed effects models with CATs models. For educational purposes, the CloseCATs() function launches a 'shiny' application card game, aimed at enhancing users' understanding of the conditions under which CATs should be preferred over random intercept models.

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.18
23.3%
Coverage · measured lines
100%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 811 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
92%
Return-value docs
100%
References docs
8%

Downloads

2.2K
CRAN downloads in the past year
Rank #17,812 · ~6/day · ~179/mo
Daily download trend is not available in this view yet.
19730 days
65990 days
2.2K1 year
Compare downloads with other packages →
Also on110 r2u14 autocran

Repository

Repository
0Stars
1Forks
2Open issues
0Open PRs
3Releases
102Commits
2Contributors
102 commits · Last activity 2024-09-03

Forks over time

2023-12-14 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/mightymetrika/mmicats on 2026-07-19.

CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,001 (76%)Rd 959 (24%)
Code characteristics
Cyclomatic complexity
3.0 median / 30 max
Test cases
19 / 0.18 per code line

Test coverage

Line coverage

23%

Expression

33.6%

Tests / Examples

23.3% / 18% ex

Functions

25 7 exported

Complexity

5.8 avg / 30 max

Call network

25 nodes / 29 edges

Loading call graph…

Lowest coverage

25 functions
FunctionCycloCoverage
CloseCATs exp100%
KenRCATs exp30%
kenward_roger exp150%
mmiCATs exp180%
append_KenRCATs80%
format_citation20%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder
Funders (1)
Copyright holder, Funder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.0Latest
    2024-08-26 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    2024-02-21 · diff ↗
  • 0.1.0
    2024-02-16
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-02-16
Total releases
3 / 2 yrs
License
MIT + file LICENSE OSI
Download size
1.8 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →