An API for M-Estimation
Overview
Provides a general, flexible framework for estimating parameters and empirical sandwich variance estimator from a set of unbiased estimating equations (i.e., M-estimation in the vein of Stefanski & Boos (2002) doi:10.1198/000313002753631330). All examples from Stefanski & Boos (2002) are published in the corresponding Journal of Statistical Software paper "The Calculus of M-Estimation in R with geex" by Saul & Hudgens (2020) doi:10.18637/jss.v092.i02. Also provides an API to compute finite-sample variance corrections.
- Removes
ivpackdependency from additional examples vignette
in order to get geex back on CRAN.
- Removes the internal
compute_sum_of_listandcompute_pairwise_sum_of_list
functions from exports.
From NEWS.md in the release
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) geexex.Rd:10: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:11: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:12: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:13: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:14: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:15: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:16: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:17: Lost braces in \itemize; meant \describe ? checkRd: (-1) geexex.Rd:18: Lost braces in \itemize; meant \describe ?
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘rootSolve’ All declared Imports should be used.
- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE14 NOTE2026-04-10
- ERROR13 NOTE, 1 ERROR2026-04-09
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 54 (2 internal)includes a package overview page
- Examples that run
- 91%29 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
- Exported functions with examples
- 82%
- Documented parameters
- 100%
- Return-value docs
- 68%
- Help pages citing references
- 11%
- A comparison of geex and sandwich for robust covariance estimation HTML
- Calculus of M-estimation examples using geex HTML
- Estimating causal parameters using geex HTML
- Finite sample correction API HTML
- Introduction to geex HTML
- Root solvers in geex HTML
- The software design of geex HTML
- Using weights in geex HTML
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 9
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
8 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/bsaul/geex on 2026-10-18.
Show all practicesHide 2 practices
Dependencies
Installing geex adds 10 packages (7 with compiled code, 12 MB of source tarballs). Heaviest: lme4 4.1 MB, nloptr 2.1 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-08-08
- 1.1.1Latest2022-08-08 · current release · diff ↗ ·
removed 2 exports
compute_pairwise_sum_of_list, compute_sum_of_list - archivedRemoved from CRAN2022-07-07check problems were not corrected in time
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.122020-02-17 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.0.112018-09-23 · diff ↗ ·
added 5 exports
compute_pairwise_sum_of_list, compute_sum_of_list, grab_design_levels, grab_ee_list, show - RR 3.5.0 released · 2018-04-23
- 1.0.32017-09-04
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-09-04
- Total releases
- 4 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.3
- Bundled data
- 5.5 KB / 1 file
- Download size
- 626 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("geex")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v092.i02.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.