Skip to content

causens

0.0.3

Perform Causal Sensitivity Analyses Using Various Statistical Methods

0packages depend
2.1Kdownloads / year
77.9%test coverage
13/13checks pass

Overview

About
Maintained by Larry DongFirst published 2025-06-051 releasesCRAN page ↗GitHub ↗

While data from randomized experiments remain the gold standard for causal inference, estimation of causal estimands from observational data is possible through various confounding adjustment methods. However, the challenge of unmeasured confounding remains a concern in causal inference, where failure to account for unmeasured confounders can lead to biased estimates of causal estimands. Sensitivity analysis within the framework of causal inference can help adjust for possible unmeasured confounding. In `causens`, three main methods are implemented: adjustment via sensitivity functions (Brumback, Hernán, Haneuse, and Robins (2004) doi:10.1002/sim.1657 and Li, Shen, Wu, and Li (2011) doi:10.1093/aje/kwr096), Bayesian parametric modelling and Monte Carlo approaches (McCandless, Lawrence C and Gustafson, Paul (2017) doi:10.1002/sim.7298).

Install

Health

CRAN checks
13OK
Slowest check: 22.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.50
77.9%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 164 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.1K
CRAN downloads in the past year
Rank #20,134 · ~6/day · ~173/mo
Daily download trend is not available in this view yet.
15130 days
55190 days
2.1K1 year
Compare downloads with other packages →
Also on116 r2u21 autocran

Repository

Repository
1Stars
0Forks
10Open issues
2Open PRs
3Releases
69Commits
2Contributors
causal-inferencersensitivity-analysis
69 commits · Last activity 2025-06-03

Stars over time

2023-10-30 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/kuan-liu-lab/causens on 2026-08-16.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author
Author
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.3Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-06-05
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
521 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("causens")
Dong, L., Liu, K., & Zou, Y. (2025). causens: Perform Causal Sensitivity Analyses Using Various Statistical Methods (Version 0.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.causens

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 causens version 0.0.3 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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