Methods and Examples from Introduction to the Theory of Observational Studies
Overview
Supplements for a book, "iTOS" = "Introduction to the Theory of Observational Studies." Data sets are 'aHDL' from Rosenbaum (2023a) doi:10.1111/biom.13558 and 'bingeM' from Rosenbaum (2023b) doi:10.1111/biom.13921. The function makematch() uses two-criteria matching from Zhang et al. (2023) doi:10.1080/01621459.2021.1981337 to create the matched data 'bingeM' from 'binge'. The makematch() function also implements optimal matching (Rosenbaum (1989) doi:10.2307/2290079) and matching with fine or near-fine balance (Rosenbaum et al. (2007) doi:10.1198/016214506000001059 and Yang et al (2012) doi:10.1111/j.1541-0420.2011.01691.x). The book makes use of two other R packages, 'weightedRank' and 'tightenBlock'.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 20includes a package overview page
- Examples that run
- 95%19 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 85%
Downloads
Dependencies
Installing iTOS adds 6 packages (4 with compiled code, 3.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, xtable 604 KB, rlemon 482 KB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.3Latest2024-09-05 · current release
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-09-05
- Total releases
- 1 / 2 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 159 KB / 3 files
- Download size
- 193 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("iTOS")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.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.