Skip to main content

Code to perform econometric test of firm conduct

Project description

This code was written to perform the procedure for testing firm conduct developed in “Testing Firm Conduct” by Marco Duarte, Lorenzo Magnolfi, Mikkel Sølvsten, and Christopher Sullivan. It builds on the PyBLP source code (see Conlon and Gortmaker (2020)) - to do so.

The code implements the following features:

For a full list of references, see the references in Duarte, Magnolfi, Sølvsten, and Sullivan (2023).

Install

First, you will need to download and install python, which you can do from this link.

You will also need to make sure that you have all package dependencies installed.

To install the pyRVtest package, use pip:

pip install pyRVtest

This should automatically install the python packages on which pyRVtest depends: numpy, pandas, statsmodels, pyblp

To update to a newer version of the package use:

pip install --upgrade pyRVtest

Using the package

For a detailed tutorial about how to set up and run the testing procedure, see Tutorial.

Citing the package

When using the package, please include the following citation:

Duarte, M., L. Magnolfi, M. Sølvsten, C. Sullivan, and A. Tarascina (2023): “pyRVtest: A Python package for testing firm conduct,” https://github.com/anyatarascina/pyRVtest.

@misc{ pyrvtest, author={Marco Duarte and Lorenzo Magnolfi and Mikkel S{o}lvsten and Christopher Sullivan and Anya Tarascina}, title={texttt{pyRVtest}: A Python package for testing firm conduct}, howpublished={url{https://github.com/anyatarascina/pyRVtest}}, year={2023}

Bugs and Requests

Please use the GitHub issue tracker to submit bugs or to request features.

Project details


Download files

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

Source Distribution

pyrvtest-0.3.2.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrvtest-0.3.2-py3-none-any.whl (64.9 kB view details)

Uploaded Python 3

File details

Details for the file pyrvtest-0.3.2.tar.gz.

File metadata

  • Download URL: pyrvtest-0.3.2.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.15

File hashes

Hashes for pyrvtest-0.3.2.tar.gz
Algorithm Hash digest
SHA256 65492b383e63f55834334a9cce2da153b5049958c48112dec08cedfc24212614
MD5 2eaeeb9831e455f659e3fac79730f520
BLAKE2b-256 02ac5e934bc0240d3be77804380b7ad90e23f168004add58ca37259f63fd8863

See more details on using hashes here.

File details

Details for the file pyrvtest-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pyrvtest-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 64.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.15

File hashes

Hashes for pyrvtest-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b81e376023bc1bdcf4491521498d77432ea6112b6eaa443309fdfaecbacd49e1
MD5 5c355345e216b548e3a3d32c6a8e13fb
BLAKE2b-256 75907299751eb45b4c2c193a20e04aa4dee022d8109177916cf41d912bc26c50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page