mmiCATs
0.2.0Cluster Adjusted t Statistic Applications
Overview
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
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 92%
- Return-value docs
- 100%
- References docs
- 8%
Downloads
Repository
Forks over time
Releases over time
Issues over time
Repository practices
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.
Dependencies
Nothing depends on this yet.
Code & Tests
- 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
Call graph
Open call graph →Lowest coverage
25 functions| Function | Cyclo | Coverage |
|---|---|---|
| CloseCATs exp | 10 | 0% |
| KenRCATs exp | 3 | 0% |
| kenward_roger exp | 15 | 0% |
| mmiCATs exp | 18 | 0% |
| append_KenRCATs | 8 | 0% |
| format_citation | 2 | 0% |
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.2.0Latest
- RR 4.4.0 released · 2024-04-24
- 0.1.12024-02-21 · diff ↗
- 0.1.02024-02-16
- RR 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