Description
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>.
Downloads
904
Last 30 days
3984th
904
Last 90 days
904
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | ERROR |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | WARNING |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | WARNING |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (15 non-OK)
package dependencies
Package required but not available: ‘rJava’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
*
*
*
*
*
installed package size
installed size is 14.7Mb
sub-directories of 1Mb or more:
java 3.3Mb
libs 10.3Mb
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘matching.Rnw’ using knitr_notangle
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Error: processing vignette 'matching.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'matching.tex' failed.
LaTeX errors:
! LaTeX Error: File `hvfloat.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
! Emergency stop.
<read *>
l.58 \usepackage
{subcaption}^^M
! ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘matching.Rnw’
SUMMARY: processing the following file failed:
‘matching.Rnw’
Error: Vignette re-building failed.
Execution halted
installed package size
installed size is 15.3Mb
sub-directories of 1Mb or more:
java 3.3Mb
libs 10.9Mb
installed package size
installed size is 6.1Mb
sub-directories of 1Mb or more:
java 3.3Mb
libs 1.8Mb
*
*
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘matching.Rnw’ using knitr_notangle
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Error: processing vignette 'matching.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'matching.tex' failed.
LaTeX errors:
! LaTeX Error: File `hvfloat.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
! Emergency stop.
<read *>
l.58 \usepackage
{subcaption}^^M
! ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘matching.Rnw’
SUMMARY: processing the following file failed:
‘matching.Rnw’
Error: Vignette re-building failed.
Execution halted
*
*
Check History
ERROR 9 OK · 2 NOTE · 2 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
package dependencies
Package required but not available: ‘rJava’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘matching.Rnw’ using knitr_notangle 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| Error: processing vignette 'matching.Rnw' failed with diagnostics: Running 'texi2dvi' on 'matching.tex' failed. LaTeX errors: ! LaTeX Error: File `hvfloat.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)
installed package size
installed size is 14.7Mb
sub-directories of 1Mb or more:
java 3.3Mb
libs 10.3Mb
installed package size
installed size is 15.3Mb
sub-directories of 1Mb or more:
java 3.3Mb
libs 10.9Mb
installed package size
installed size is 6.1Mb
sub-directories of 1Mb or more:
java 3.3Mb
libs 1.8Mb