Skip to content

CausalGPS

0.5.1Package record

Matching on Generalized Propensity Scores with Continuous Exposures

0packages depend
6.8Kdownloads / year
68.7%test coverage
13/13flavors OK

Overview

About

Provides a framework for estimating causal effects of a continuous exposure using observational data, and implementing matching and weighting on the generalized propensity score. Wu, X., Mealli, F., Kioumourtzoglou, M.A., Dominici, F. and Braun, D., 2022. Matching on generalized propensity scores with continuous exposures. Journal of the American Statistical Association, pp.1-29.

Changes in 0.5.1

Removed

  • Strict tests.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-10-25
  • ERROR12 OK, 1 ERROR2026-10-24
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 8 earlier changesHide 8 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-30
  • ERROR13 OK, 1 ERROR2026-03-28
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.1
READMEYes · 650 wordsVignettesYes · 10 · dynamicNEWSYes · 100% structured · mentions 0.5.1Citation fileYes · software entry only
Help pages
57 (31 internal)includes a package overview page
Examples that run
55%6 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
92%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
4%

Downloads

6.8K
CRAN downloads in the past year
Rank #5,816 · ~19/day · ~568/mo
Daily download trend is not available in this view yet.
52130 days
1.4K90 days
6.8K1 year
Compare downloads with other packages →
Also on401 r2u16 autocran97 c2d4u

Repository

27Stars
7Forks
6Open issues
0Open PRs
15Releases
708Commits
7Commit identities
708 commits · Last activity 2026-01-12 · 0% stars, 30d · Discussions: 24 posts
Responsiveness
How these are sampled
PRs merged (all time)
88%
Median days to close, 50 most recently updated closed issues
80
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-04-29 · 252026-07-07 · 27
PracticesBeta

9 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/nsaph-software/causalgps on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (1)
Code of conduct
Docs source (2)
pkgdown

GitHub Pages site last deployed 2024-06-19

Coverage (2)
Coverage reporting.covrignore
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing CausalGPS adds 94 packages (54 with compiled code, 66 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.5.0
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.2.5 (2021)
Kempner
Author
HSPH
Author
CUMC
Releases (12)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.1Latest
    record
    2026-01-11 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    record
    2024-06-19 · diff ↗ ·
    removed 3 exports
    estimate_npmetric_erf, estimate_pmetric_erf, estimate_semipmetric_erf
    added 3 exports
    compute_counter_weight, estimate_erf, trim_it
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.2
    record
    2024-04-13 · diff ↗
  • 0.4.1
    record
    2023-09-30 · diff ↗
  • 0.4.0
    record
    2023-05-25 · diff ↗
  • 0.3.1
    record
    2023-05-16 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.0
    record
    2023-02-15 · diff ↗
  • 0.2.9
    record
    2022-12-16 · diff ↗
  • 0.2.8
    record
    2022-06-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.7
    record
    2022-02-07 · diff ↗
  • unarchivedReturned to CRAN
    2021-09-06
Show 4 earlier eventsHide 4 earlier events
  • 0.2.6
    record
    2021-09-06 · diff ↗
  • archivedRemoved from CRAN
    2021-08-07
    check problems were not corrected in time
  • 0.2.5
    record
    2021-07-23
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-23
Total releases
12 / 5 yrs
License
GPL-3 OSI
Copyright
Harvard University
Minimum R
≥ 3.5.0
Bundled data
660 KB / 1 file
Download size
2.6 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("CausalGPS")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.48550/arxiv.2310.00561.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CausalGPS version 0.5.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy