Skip to content

chandwich

Chandler-Bate Sandwich Loglikelihood Adjustment

v1.1.6 · Aug 25, 2023 · GPL (>= 2)

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) <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.

Downloads

2.5K

Last 30 days

2694th

7.3K

Last 90 days

21.8K

Last year

Trend: +5.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (4)

Dependency Network

Dependencies Reverse dependencies numDeriv chantrics exdex lax lite chandwich

Version History

new 1.1.6 Mar 10, 2026
updated 1.1.6 ← 1.1.5 diff Aug 24, 2023
updated 1.1.5 ← 1.1.4 diff Oct 29, 2021
updated 1.1.4 ← 1.1.3 diff Jul 1, 2021
updated 1.1.3 ← 1.1.2 diff Nov 6, 2020
updated 1.1.2 ← 1.1.1 diff Jul 10, 2019
updated 1.1.1 ← 1.1.0 diff Nov 27, 2018
updated 1.1.0 ← 1.0.0 diff Sep 9, 2018
new 1.0.0 Mar 5, 2018