Transportation Methods for Econometrics
TraME (Transportation Methods for Econometrics) is an R package for for solving problems of equilibrium computation and estimation in consumer demand and matching frameworks via the Mass Transportation Approach.
The package is under active development and should be considered as `alpha stage' software.
Installation and Testing
The quickest way to install TraME is via the devtools package.
install.packages("devtools") library(devtools) install_github("TraME-Project/TraME-R")
The TraME test routines are invoked as follows:
library(TraME) library(gurobi) tests_TraME()
Note that TraME requires compilation, and so an appropriate development environment is necessary to install the package.
- For Windows users, get Rtools.
- For Mac users, get Xcode and install gfortran 4.8.2, the latter of which can be obtained using
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
Alfred Galichon and the TraME team.
GPL (>= 2)