Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python package for solving assortative matching models with two-sided heterogeneity.

Project description

Build Status Coverage Status Codacy Badge GitHub license Latest Version Downloads DOI

Python package for solving assortative matching models with two-sided heterogeneity. The theoretical framework behind the class of models solved by pyAM is described in Eeckhout and Kircher (2012).

Installation

Assuming you have pip on your computer (as will be the case if you’ve installed Anaconda) you can install the latest stable release of pyam by typing

$ pip install pyam

at a terminal prompt.

Contributing

If you wish to contribute to the project you will likely want to install from source. First your will need to fork and then clone the source repository.

$ git clone https://github.com/YOUR-USERNAME/pyAM.git

Next create a new conda development environment

$ conda create -n pyam-dev python anaconda

activate the newly created development environment

$ source activate pyam-dev

and install additional dependencies not available within Anaconda.

$ pip install pycollocation
$ pip install seaborn

Finally, change into your local clone of the pyam source directory and install the package in development mode.

$ pip install -e .

Example notebooks

At the moment there are two example notebooks, one for positive assortative matching and one for negative assortative matching in the examples directory. The positive assortative matching works fine; the negative assortative matching, however, does not yet work (I suspect because of a poor algorithm for the initial guess).

Project details


Release history Release notifications

This version
History Node

0.2.1-alpha

History Node

0.2.0-alpha

History Node

0.1.2-alpha

History Node

0.1.1-alpha

History Node

0.1.0-alpha

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyam-0.2.1-alpha.tar.gz (10.0 kB) Copy SHA256 hash SHA256 Source None Aug 2, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page