Package: chandwich 1.1.6

chandwich: Chandler-Bate Sandwich Loglikelihood Adjustment

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.

Authors:Paul J. Northrop [aut, cre, cph], Richard E. Chandler [aut, cph]

chandwich_1.1.6.tar.gz
chandwich_1.1.6.zip(r-4.7)chandwich_1.1.6.zip(r-4.6)chandwich_1.1.6.zip(r-4.5)
chandwich_1.1.6.tgz(r-4.6-any)chandwich_1.1.6.tgz(r-4.5-any)
chandwich_1.1.6.tar.gz(r-4.7-any)chandwich_1.1.6.tar.gz(r-4.6-any)
chandwich_1.1.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
chandwich/json (API)
NEWS

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

Bug tracker:https://github.com/paulnorthrop/chandwich/issues

Pkgdown/docs site:https://paulnorthrop.github.io

Datasets:
  • owtemps - Oxford and Worthing annual maximum temperatures
  • rats - Rat tumor data

On CRAN:

Conda:

clustered-dataclusterscomposite-likelihoodindependence-loglikelihoodmlerobustsandwichstatistical-inference

6.53 score 4 stars 8 packages 18 scripts 3.9k downloads 6 exports 1 dependencies

Last updated from:d32529b26b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK130
source / vignettesOK198
linux-release-x86_64OK130
macos-release-arm64OK102
macos-oldrel-arm64OK112
windows-develOK99
windows-releaseOK94
windows-oldrelOK70
wasm-releaseOK97

Exports:adjust_loglikcompare_modelsconf_intervalsconf_regionlog_gevprofile_loglik

Dependencies:numDeriv

Introducing chandwich: Chandler-Bate Sandwich Loglikelihood Adjustment

Rendered fromchandwich-vignette.Rmdusingknitr::rmarkdownon May 31 2026.

Last update: 2021-10-13
Started: 2017-09-15