Skip to content

clusterSEs

Calculate Cluster-Robust p-Values and Confidence Intervals

v2.6.6 · Jun 21, 2026 · GPL (>= 2)

Description

Calculate p-values and confidence intervals using cluster-adjusted t-statistics (based on Ibragimov and Muller (2010) <DOI:10.1198/jbes.2009.08046>, pairs cluster bootstrapped t-statistics, and wild cluster bootstrapped t-statistics (the latter two techniques based on Cameron, Gelbach, and Miller (2008) <DOI:10.1162/rest.90.3.414>. Procedures are included for use with GLM, plm (pooling or fixed effects), and mlogit models.

Downloads

CRAN

764

Last 30 days

4198th

1.8K

Last 90 days

8.9K

Last year

Trend: +47.8% (30d vs prior 30d)

r2u CRAN

6

Last 30 days

41

Last 90 days

166

Last year

Trend: -68.4% (30d vs prior 30d)

autoCRAN

2

Last 7 days

16

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 24, 2026
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Justin Esarey <justin@justinesarey.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Justin Esarey <justin@justinesarey.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
ERROR 11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Justin Esarey <justin@justinesarey.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
ERROR r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Justin Esarey <justin@justinesarey.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Justin Esarey <justin@justinesarey.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Justin Esarey <justin@justinesarey.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Code

Structure

Lines of code

2,647

Files

20

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,930 (72.9%)Docs 717 (27.1%)

API

Exported functions

6

Internal functions

2

Recent export changes

v2.6.6−4 cluster.bs.ivreg, cluster.bs.mlogit, cluster.im.ivreg 1 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

9

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

20

First release

2015-03-03

Latest release

2026-06-22

Avg cadence

98 days

Cold removal rate

100%

Dep drift

9

LOC over versions

v1.0: 815 LOCv1.1: 1,241 LOCv1.2: 1,248 LOCv2.0: 2,796 LOCv2.0.1: 2,833 LOCv2.1: 2,863 LOCv2.2: 2,833 LOCv2.3.1: 2,833 LOCv2.3.2: 2,833 LOCv2.3.3: 2,845 LOCv2.4: 3,355 LOCv2.4.1: 3,355 LOCv2.5: 3,446 LOCv2.5.1: 3,446 LOCv2.6: 3,570 LOCv2.6.1: 3,570 LOCv2.6.2: 3,570 LOCv2.6.4: 3,697 LOCv2.6.5: 3,697 LOCv2.6.6: 2,647 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (2)

imports

suggests

Dependency Network

Dependencies Reverse dependencies Formula dfidx lmtest mlogit plm sandwich mmiCATs crwbmetareg clusterSEs

Version History

21 tracked
updated 2.6.6 ← 2.6.5 diff Jun 22, 2026
new 2.6.5 Mar 10, 2026
updated 2.6.5 ← 2.6.4 diff Apr 4, 2021
updated 2.6.4 ← 2.6.2 diff Mar 4, 2021
updated 2.6.2 ← 2.6.1 diff Sep 14, 2019
updated 2.6.1 ← 2.6 diff Jun 8, 2019
updated 2.6 ← 2.5.1 diff Jun 8, 2019
updated 2.5.1 ← 2.5 diff Oct 28, 2018
updated 2.5 ← 2.4.1 diff May 31, 2018
updated 2.4.1 ← 2.4 diff Sep 27, 2017
updated 2.4 ← 2.3.3 diff May 19, 2017
updated 2.3.3 ← 2.3.2 diff Mar 4, 2017
updated 2.3.2 ← 2.3.1 diff Jul 16, 2016
updated 2.3.1 ← 2.2 diff Jun 5, 2016
updated 2.2 ← 2.1 diff Apr 30, 2016