Package: chandwich Title: Chandler-Bate Sandwich Loglikelihood Adjustment Version: 1.1.6 Date: 2025-12-30 Authors@R: c( person(c("Paul", "J."), "Northrop", email = "p.northrop@ucl.ac.uk", role = c("aut", "cre", "cph")), person(c("Richard", "E."), "Chandler", role = c("aut", "cph")) ) Description: 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) . 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. Imports: graphics, methods, numDeriv, stats, utils License: GPL (>= 2) LazyData: TRUE Encoding: UTF-8 Depends: R (>= 3.3.0) RoxygenNote: 7.3.3 Suggests: knitr, rmarkdown, sandwich, testthat VignetteBuilder: knitr URL: https://paulnorthrop.github.io/chandwich/, https://github.com/paulnorthrop/chandwich BugReports: https://github.com/paulnorthrop/chandwich/issues Config/testthat/edition: 3 Repository: https://paulnorthrop.r-universe.dev Date/Publication: 2026-01-01 01:46:16 UTC RemoteUrl: https://github.com/paulnorthrop/chandwich RemoteRef: HEAD RemoteSha: d32529b26bcf1b68a48d5060dc817da2e7f7b899 NeedsCompilation: no Packaged: 2026-05-31 10:32:41 UTC; root Author: Paul J. Northrop [aut, cre, cph], Richard E. Chandler [aut, cph] Maintainer: Paul J. Northrop