The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

fewclust: Regression for Clustered Binary Outcomes with Few Clusters

Fits regression models for binary outcomes measured repeatedly within a small number of groups (clusters), with tests and intervals that stay calibrated with few groups and short series. The default is the marginalized multilevel model of Heagerty (1999) <doi:10.1111/j.0006-341X.1999.00688.x> with a convergence check and Wald statistics referred to a t distribution; generalized estimating equations with a first-order autoregressive working correlation and the small-sample sandwich correction of Fay and Graubard (2001) <doi:10.1111/j.0006-341X.2001.01198.x> are the fallback. The corrections of Mancl and DeRouen (2001) <doi:10.1111/j.0006-341X.2001.00126.x> and Kauermann and Carroll (2001) <doi:10.1198/016214501753382309> are available, and the sign-flip score test of Hemerik, Goeman and Finos (2020) <doi:10.1111/rssb.12369> gives a p-value for the smallest designs. The defaults follow a simulation study of these methods. Fits take the data first, accept bare column names and have 'broom' methods returning tibbles.

Version: 0.4.3
Depends: R (≥ 4.1)
Imports: cli (≥ 3.6.0), geepack, generics, rlang (≥ 1.1.0), stats, tibble, tidyselect (≥ 1.2.0), utils
Suggests: covr, dplyr, knitr, purrr, rmarkdown, spelling, testthat (≥ 3.2.0)
Published: 2026-11-26
DOI: 10.32614/CRAN.package.fewclust (may not be active yet)
Author: Luca Vedovelli [aut, cre, cph]
Maintainer: Luca Vedovelli <lucavd at gmail.com>
BugReports: https://github.com/lucavd/fewclust/issues
License: MIT + file LICENSE
URL: https://github.com/lucavd/fewclust
NeedsCompilation: no
Language: en-GB
Citation: fewclust citation info
Materials: README, NEWS
CRAN checks: fewclust results

Documentation:

Reference manual: fewclust.html , fewclust.pdf
Vignettes: Getting started with fewclust (source, R code)
What the simulation study found (source, R code)

Downloads:

Package source: fewclust_0.4.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): fewclust_0.4.3.tgz, r-oldrel (arm64): not available, r-release (x86_64): fewclust_0.4.3.tgz, r-oldrel (x86_64): fewclust_0.4.3.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fewclust to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.