Code

My cupid_matching repository contains Python code related to separable matching with transferable utilities, as analyzed in my paper with Alfred Galichon. It serves as the basis for my cupid_matching package, which is installable via pip.

It replaces my earlier CupidPython package, which is now obsolete.

The full documentation is here.

The cupid_matching package has code

I also coded a Streamlit interactive app that demonstrates solving and estimating the Choo and Siow model using the cupid_matching package. It also allows the user to download a summary of their simulation. You can try it here.

My ipfp_R repository only contains R code to solve for equilibrium in the basic version of the Choo and Siow model.