Chandler-Bate Sandwich Loglikelihood Adjustment
Overview
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.
Bug fixes and minor improvements
- Create the help file for the package correctly, with alias chandwich-package.
- In
plot.confint()confidence limits are now added to the horizontal axis in cases where only one interval is plotted. - Activated 3rd edition of the
testthatpackage
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 22includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 77%
- Return-value docs
- 100%
- Help pages citing references
- 32%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 618
Stars over time
Forks over time
Releases over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/paulnorthrop/chandwich on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing chandwich adds 1 package (0 with compiled code, 74 KB of source tarballs). Heaviest: numDeriv 74 KB.
Code & Tests
Datasets
People & History
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.6Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.1.52021-10-30 · diff ↗
- 1.1.42021-07-02 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.1.32020-11-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.1.22019-07-11 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.1.12018-11-28 · diff ↗
- 1.1.02018-09-10 · diff ↗
- RR 3.5.0 released · 2018-04-23
Show 2 earlier eventsHide 2 earlier events
- 1.0.02018-03-06
- RR 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
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("chandwich")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.