Package: CR2 0.2.1

Francis Huang

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' <https://www150.statcan.gc.ca/n1/en/pub/12-001-x/2002002/article/9058-eng.pdf?st=NxMjN1YZ>. 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).

Authors:Francis Huang [aut, cre], Bixi Zhang [aut]

CR2_0.2.1.tar.gz
CR2_0.2.1.zip(r-4.5)CR2_0.2.1.zip(r-4.4)CR2_0.2.1.zip(r-4.3)
CR2_0.2.1.tgz(r-4.4-any)CR2_0.2.1.tgz(r-4.3-any)
CR2_0.2.1.tar.gz(r-4.5-noble)CR2_0.2.1.tar.gz(r-4.4-noble)
CR2_0.2.1.tgz(r-4.4-emscripten)CR2_0.2.1.tgz(r-4.3-emscripten)
CR2.pdf |CR2.html
CR2/json (API)
NEWS

# Install 'CR2' in R:
install.packages('CR2', repos = c('https://flh3.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/flh3/cr2/issues

Datasets:
  • crct - Simulated data from 18 schools
  • gpadat - Grade point average (GPA) data of students from 25 schools
  • sch25 - Data from 25 schools
  • sharedat - Data from Project SHARE

On CRAN:

2.70 score 1 stars 8 scripts 202 downloads 7 exports 37 dependencies

Last updated 8 months agofrom:cf7e9f6818. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winNOTENov 02 2024
R-4.5-linuxNOTENov 02 2024
R-4.4-winNOTENov 02 2024
R-4.4-macNOTENov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:%>%clustSEgetVMatSqrtInversencvMLMrobust_mixedsatdf

Dependencies:backportsbayestestRbootbroomclicpp11datawizarddplyrfansigenericsglueinsightlatticelifecyclelme4magrittrMASSMatrixminqanlmenloptrperformancepillarpkgconfigpurrrR6RcppRcppEigenrlangstringistringrtibbletidyrtidyselectutf8vctrswithr