Skip to content

chandwich

1.1.6

Chandler-Bate Sandwich Loglikelihood Adjustment

4packages depend
29.8Kdownloads / year
89.3%test coverage
13/13checks pass

Overview

About
Maintained by Paul J. NorthropFirst published 2018-03-068 releasesCRAN page ↗GitHub ↗

Performs adjustments of a user-supplied independence loglikelihood function using a robust sandwich estimator of the parameter covariance matrix, based on the methodology in Chandler and Bate (2007) doi:10.1093/biomet/asm015. This can be used for cluster correlated data when interest lies in the parameters of the marginal distributions or for performing inferences that are robust to certain types of model misspecification. Functions for profiling the adjusted loglikelihoods are also provided, as are functions for calculating and plotting confidence intervals, for single model parameters, and confidence regions, for pairs of model parameters. Nested models can be compared using an adjusted likelihood ratio test.

Install

Health

CRAN checks
13OK
Slowest check: 4.5 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.31
89.3%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 343 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
77%
Return-value docs
100%
References docs
32%

Downloads

29.8K
CRAN downloads in the past year
Rank #2,552 · ~82/day · ~2.5K/mo
Daily download trend is not available in this view yet.
1.4K30 days
8.6K90 days
29.8K1 year
Compare downloads with other packages →
Also on207 r2u39 autocran34 c2d4u

Repository

Repository
4Stars
1Forks
0Open issues
1Open PRs
8Releases
438Commits
1Contributors
independence-loglikelihoodsandwichrobustmlestatistical-inferenceclustered-dataclusterscomposite-likelihood
License GPL-3.0 · 438 commits · Last activity 2026-01-01

Stars over time

2023-08-26 · 42026-07-07 · 4

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/paulnorthrop/chandwich on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.3.0
Imports (5)
graphicsmethodsnumDerivstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
4indirect

Code & Tests

Code Composition
R 4,404 (61%)Rd 2,041 (28%)Other 586 (8%)Vignettes 234 (3%)
Code characteristics
Object systems
S313
Cyclomatic complexity
8.0 median / 73 max
Test cases
103 / 0.31 per code line

Test coverage

Line coverage

89%

Expression

88.7%

Tests / Examples

89.3% / 76% ex

Functions

19 6 exported

Complexity

15.6 avg / 73 max

Call network

19 nodes / 2 edges

Loading call graph…

Lowest coverage

19 functions
FunctionCycloCoverage
print.chandwich20%
print.summary.chandwich20%
anova.chandwich1069%
print.compmod879%
coef.chandwich383%
logLik.chandwich286%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
owtempsdata.frame80 × 2

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Copyright holders (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Listed in earlier versions (3)
no longer listed · 1.0.0 to 1.1.0
no longer listed · 1.0.0 to 1.1.6
no longer listed · 1.1.1 to 1.1.6
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.6Latest
    2023-08-25 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.5
    2021-10-30 · diff ↗
  • 1.1.4
    2021-07-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.3
    2020-11-07 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.2
    2019-07-11 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.1
    2018-11-28 · diff ↗
  • 1.1.0
    2018-09-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
Show 2 earlier events
  • 1.0.0
    2018-03-06
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-03-06
Total releases
8 / 8 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.3.0
Bundled data
0.6 KB / 2 files
Download size
110 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →