CR2: Compute Cluster Robust Standard Errors with Degrees of Freedom Adjustments

Estimate different types of cluster robust standard errors (CR0, CR1, CR2) with degrees of freedom adjustments. Standard errors are computed based on 'Liang and Zeger' (1986) <doi:10.1093/biomet/73.1.13> and Bell and 'McCaffrey' <>. Functions used in Huang and Li <doi:10.3758/s13428-021-01627-0>, Huang, 'Wiedermann', and 'Zhang' <doi:10.1080/00273171.2022.2077290>, and Huang, 'Zhang', and Li (forthcoming: Journal of Research on Educational Effectiveness).

Version: 0.1.1
Depends: R (≥ 2.10)
Imports: stats, lme4, nlme, Matrix, methods
Published: 2022-06-16
Author: Francis Huang ORCID iD [aut, cre], Bixi Zhang [aut]
Maintainer: Francis Huang <flhuang2000 at>
License: MIT + file LICENSE
NeedsCompilation: no
Citation: CR2 citation info
Materials: README
CRAN checks: CR2 results


Reference manual: CR2.pdf


Package source: CR2_0.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): CR2_0.1.1.tgz, r-oldrel (arm64): CR2_0.1.1.tgz, r-release (x86_64): CR2_0.1.1.tgz, r-oldrel (x86_64): CR2_0.1.1.tgz
Old sources: CR2 archive


Please use the canonical form to link to this page.