Package: matchingMarkets 1.0-5

Thilo Klein

matchingMarkets: Analysis of Stable Matchings

Implements structural estimators to estimate preferences and correct for the sample selection bias of observed outcomes in matching markets. This includes one-sided matching of agents into groups (Klein, 2015) <doi:10.17863/CAM.5812> as well as two-sided matching of students to schools (Klein et al., 2024) <doi:10.1016/j.geb.2024.07.003>. 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>.

Authors:Thilo Klein [aut, cre, cph], Robert Aue [ctb], Fahiem Bacchus [cph], Sven Giegerich [ctb], Matthias Hericks [ctb], Alexander Sauer [ctb], Niklas Sorensson [cph]

matchingMarkets_1.0-5.tar.gz
matchingMarkets_1.0-5.tar.gz(r-4.7-arm64)matchingMarkets_1.0-5.tar.gz(r-4.7-x86_64)matchingMarkets_1.0-5.tar.gz(r-4.6-arm64)matchingMarkets_1.0-5.tar.gz(r-4.6-x86_64)
matchingMarkets_1.0-5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
matchingMarkets/json (API)
NEWS

# Install 'matchingMarkets' in R:
install.packages('matchingMarkets', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/thiloklein/matchingmarkets/issues

Pkgdown/docs site:https://matchingmarkets.org

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
  • openjdk– OpenJDK Java runtime, using Hotspot JIT
Datasets:
  • baac00 - Townsend Thai Project BAAC Annual Resurvey, 2000
  • klein15a - MCMC results in Klein
  • klein15b - Results of Monte Carlo Simulations in Klein

On CRAN:

Conda:

openblascppopenmpopenjdk

3.44 score 55 scripts 750 downloads 1 mentions 16 exports 12 dependencies

Last updated from:7ca50fb754. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK214
linux-devel-x86_64OK202
source / vignettesOK438
linux-release-arm64OK215
linux-release-x86_64OK212
wasm-releaseOK169

Exports:hrihri2hri3iaakhbplprsdsristabchkstabitstabit2stabsimstabsim2ttcttc2ttcc

Dependencies:gmplatticelpSolvepartitionspolynomrbibutilsRcppRcppArmadilloRcppProgressRdpackrJavasets

Analysis of Stable Matchings

Rendered frommatching.Rnwusingknitr::knitr_notangleon Jun 18 2026.

Last update: 2025-12-22
Started: 2015-10-06