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.5)chandwich_1.1.6.zip(r-4.4)chandwich_1.1.6.zip(r-4.3)
chandwich_1.1.6.tgz(r-4.4-any)chandwich_1.1.6.tgz(r-4.3-any)
chandwich_1.1.6.tar.gz(r-4.5-noble)chandwich_1.1.6.tar.gz(r-4.4-noble)
chandwich_1.1.6.tgz(r-4.4-emscripten)chandwich_1.1.6.tgz(r-4.3-emscripten)
chandwich.pdf |chandwich.html
chandwich/json (API)
NEWS

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

Peer review:

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

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

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

On CRAN:

clustered-dataclusterscomposite-likelihoodindependence-loglikelihoodmlerobustsandwichstatistical-inference

5.88 score 4 stars 7 packages 18 scripts 471 downloads 6 exports 1 dependencies

Last updated 1 years agofrom:4e35793949. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 22 2025
R-4.5-winOKJan 22 2025
R-4.5-linuxOKJan 22 2025
R-4.4-winOKJan 22 2025
R-4.4-macOKJan 22 2025
R-4.3-winOKJan 22 2025
R-4.3-macOKJan 22 2025

Exports:adjust_loglikcompare_modelsconf_intervalsconf_regionlog_gevprofile_loglik

Dependencies:numDeriv

Introducing chandwich: Chandler-Bate Sandwich Loglikelihood Adjustment

Rendered fromchandwich-vignette.Rmdusingknitr::rmarkdownon Jan 22 2025.

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