Skip to content

causens

0.0.3Package record

Perform Causal Sensitivity Analyses Using Various Statistical Methods

0packages depend
2.3Kdownloads / year
77.9%test coverage
13/13flavors OK

Overview

About

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: 23.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.0.3
READMEYes · 164 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsiteYes · pkgdown
Help pages
15
Examples that run
100%1 run in a plain check
Exported functions with examples
9%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #17,944 · ~6/day · ~192/mo
Daily download trend is not available in this view yet.
20430 days
72490 days
2.3K1 year
Compare downloads with other packages →
Also on86 r2u8 autocran

Repository

1Stars
0Forks
10Open issues
2Open PRs
3Releases
69Commits
2Commit identities
causal-inferencersensitivity-analysis
69 commits · Last activity 2025-06-03
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
93
Median days to close, 50 most recently updated closed PRs
1

Stars over time

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

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

Checks run against github.com/kuan-liu-lab/causens on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-06-03 · The repository has a site deploy workflow

pkgdown site last built 2025-06-03, before release 0.0.3 (2025-06-05)

Coverage (1)
Coverage reporting
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing causens adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.0.3 (2025)
Author
Author
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.3Latest
    2025-06-05 · 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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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