matchingMarkets: Analysis of Stable Matchings

Implements structural estimators to correct for the sample selection bias from observed outcomes in matching markets. This includes one-sided matching of agents into groups (Klein, 2015) <> as well as two-sided matching of students to schools (Aue et al., 2020) <>. The package also contains algorithms to find stable matchings in the three most common matching problems: the stable roommates problem (Irving, 1985) <doi:10.1016/0196-6774(85)90033-1>, the college admissions problem (Gale and Shapley, 1962) <doi:10.2307/2312726>, and the house allocation problem (Shapley and Scarf, 1974) <doi:10.1016/0304-4068(74)90033-0>.

Version: 1.0-4
Depends: R (≥ 3.0.2)
Imports: Rcpp (≥ 0.12.12), RcppProgress (≥ 0.2), lpSolve, lattice, parallel, partitions, rJava, stats, utils
LinkingTo: Rcpp, RcppProgress, RcppArmadillo
Suggests: knitr, ggplot2, grDevices, graphics
Published: 2023-08-08
DOI: 10.32614/CRAN.package.matchingMarkets
Author: Thilo Klein [aut, cre, cph], Robert Aue [ctb], Fahiem Bacchus [cph], Sven Giegerich [ctb], Matthias Hericks [ctb], Alexander Sauer [ctb], Niklas Sorensson [cph]
Maintainer: Thilo Klein <thilo at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: file COPYRIGHTS
matchingMarkets copyright details
NeedsCompilation: yes
SystemRequirements: Java, C++
Citation: matchingMarkets citation info
Materials: README NEWS
In views: Econometrics, Optimization
CRAN checks: matchingMarkets results


Reference manual: matchingMarkets.pdf
Vignettes: Analysis of Stable Matchings


Package source: matchingMarkets_1.0-4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): matchingMarkets_1.0-4.tgz, r-oldrel (arm64): matchingMarkets_1.0-4.tgz, r-release (x86_64): matchingMarkets_1.0-4.tgz, r-oldrel (x86_64): matchingMarkets_1.0-4.tgz
Old sources: matchingMarkets archive


Please use the canonical form to link to this page.