Conditional Sensitivity Analysis for Matched Observational Studies
Overview
A d-statistic tests the null hypothesis of no treatment effect in a matched, nonrandomized study of the effects caused by treatments. A d-statistic focuses on subsets of matched pairs that demonstrate insensitivity to unmeasured bias in such an observational study, correcting for double-use of the data by conditional inference. This conditional inference can, in favorable circumstances, substantially increase the power of a sensitivity analysis (Rosenbaum (2010) doi:10.1007/978-1-4419-1213-8_14). There are two examples, one concerning unemployment from Lalive et al. (2006) doi:10.1111/j.1467-937X.2006.00406.x, the other concerning smoking and periodontal disease from Rosenbaum (2017) doi:10.1214/17-STS621.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Paul R. Rosenbaum <rosenbaum@wharton.upenn.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Paul", "R."),
family = "Rosenbaum",
role = c("aut", "cre"),
email = "rosenbaum@wharton.upenn.edu")
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 5includes a package overview page
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 100%
Downloads
Dependencies
Installing dstat adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
- 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
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.0.4Latest2019-04-16 · current release
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-16
- Total releases
- 1 / 7 yrs
- License
- GPL-2 OSI
- Bundled data
- 72 KB / 2 files
- Download size
- 87 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("dstat")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
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.