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.
Package details |
|
---|---|
Author | Paul J. Northrop [aut, cre, cph], Richard E. Chandler [aut, cph] |
Maintainer | Paul J. Northrop <p.northrop@ucl.ac.uk> |
License | GPL (>= 2) |
Version | 1.1.6 |
URL | https://paulnorthrop.github.io/chandwich/ https://github.com/paulnorthrop/chandwich |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.