Skip to main content

Merger Policy Analysis using Python

Project description

Analyze the sets of mergers conforming to concentration and diversion ratio bounds. Analyze intrinsic enforcement rates, and intrinsic clearance rates, under concentration, diversion ratio, GUPPI, CMCR, and IPR bounds using generated data with specified distributions of market shares, price-cost margins, firm counts, and prices, optionally imposing restrictions implied by statutory filing thresholds and/or Bertrand-Nash oligopoly with MNL demand. Download and analyze merger investigations data published by the U.S. Federal Trade Commission in various reports on extended merger investigations (Second Requests) during 1996 to 2011.

Here, enforcement rates derived with merger enforcement as being exogenous to firm conduct are defined as intrinsic enforcement rates, and similarly intrinsic clearance rates. Depending on the merger enforcement regime, or merger control regime, intrinsic enforcement rates may also not be the complement of intrinsic clearance rates, i.e, it is not necessarily true that the intrinsic clearance rate estimate for a given enforcement regime is 1 minus the intrinsic enforcement rate. In contrast, observed enforcement rates reflect the deterrent effects of merger enforcement on firm conduct as well as the effects of merger screening on the level of enforcement; and, by definition, the observed clearance rate is 1 minus the observed enforcement rate.

Introduction

Module mergeron.core.guidelines_boundaries includes classes for specifying concentration bounds (mergeron.core.guidelines_boundaries.ConcentrationBoundary) and diversion-ratio bounds (mergeron.core.guidelines_boundaries.DiversionRatioBoundary), with automatic generation of boundary (as an array of share-pairs) and area. This module also includes a function for generating plots of concentration and diversion-ratio boundaries, and functions for mapping GUPPI standards to concentration (ΔHHI) standards, and vice-versa.

Module mergeron.gen.market_sample includes the mergeron.gen.market_sample.MarketSample with methods for, (i) generating sample data under a rich specification of shares, diversion ratios, margins, prices, and HSR filing requirements, and (ii) for estimating enforcement or clearance rates under specified enforcement regimes given a method of aggregating diversion ratio or GUPPI estimates for the firms in a merger. Notably. share are generated not just for markets with a fixed number of firms, but for markets with multiple firm-count weights, which may be left unspecified or explicitly specified.

Unless otherwise specified, merging-firm shares are drawn with uniform distribution over the space \(s_1 + s_2 \leqslant 1\) for an unspecified number of firms. Alternatively, shares may be drawn from the Dirichlet distribution, with specified shape parameters (see mergeron.gen.ShareConstants. When drawing shares from the Dirichlet distribution, the user passes, using mergeron.gen.MarketSpec.ShareSpec.firm_count_weights, a vector of weights specifying the frequency distribution over sequential firm counts, e.g., [133, 184, 134, 52, 32, 10, 12, 4, 3] to specify shares drawn from Dirichlet distributions with 2 to 10 pre-merger firms distributed as in data for FTC merger investigations during 1996–2003 (See, for example, Table 4.1 of FTC, Horizontal Merger Investigations Data, Fiscal Years 1996–2003 (Revised: August 31, 2004)). If mergeron.gen.MarketSpec.ShareSpec.firm_count_weights is not assigned a value when defining mergeron.gen.MarketSpec.ShareSpec (which has type, mergeron.gen.ShareSpec), the default values is used, with results in a sample of markets with 2 to 6 firms with equal relative frequency.

Recapture rates can be specified as, “proportional”, “inside-out”, “outside-in” (see mergeron.RECConstants. The “inside-out” specification results in recapture ratios consistent with merging-firms’ in-market shares and a default recapture rate. The “outside-in” specification yields diversion ratios from purchase probabilities drawn at random for \(N+1\) goods, from which are derived market shares and recapture rates for the \(N\) goods in the putative market (see, mergeron.gen.DiversionRatioSpec). The “outside-in” specification is invalid when the distribution of markets over firm-count is unspecified, i.e., when mergeron.gen.MarketSpec.ShareSpec.dist_type ==mergeron.gen.ShareConstants.UNI.

Price-cost-margins may be specified as having uniform distribution, Beta distribution (including a bounded Beta distribution with specified mean and variance), or an empirical distribution. The empirical margin distribution is based on resampling margin data published by Prof. Damodaran of NYU Stern School of Business (see Notes), using an estimated Gaussian KDE. The second merging firm’s margin may be specified as symmetric, i.i.d., or subject to equilibrium conditions for (profit-maximization in) Bertrand-Nash oligopoly with MNL demand (see, mergeron.gen.PCMSpec).

Prices may be specified as symmetric or asymmetric, and in the latter case, the direction of correlation between merging firm prices, if any, can also be specified (see, mergeron.gen.PriceSpec).

The market sample may be restricted to mergers meeting the HSR filing requirement under two alternative approaches: in the one, the smaller of the two merging firms meets the HSR filing threshold for the smaller (acquired) firm. In the other, the \(n\)-th firm’s size matches the size requirement for the smaller merging firm (see, mergeron.gen.SSZConstants). The second assumption avoids the unfortunate assumption in the first that, within the resulting sample, the larger merging firm be at least 10 times as large as the smaller merging firm, as a consequence of the full definition of the HSR filing requirement.

The full specification of a market sample is given in a mergeron.gen.market_sample.MarketSample object, including the above parameters. Data are drawn by invoking mergeron.gen.market_sample.MarketSample.generate_sample which adds a data property of class, mergeron.gen.MarketDataSample. Enforcement or clearance counts are computed by invoking mergeron.gen.market_sample.MarketSample.estimate_enf_counts, which adds an enf_counts property of class mergeron.gen.UPPTestsCounts. For fast, parallel generation of enforcement or clearance counts over large market data samples that ordinarily would exceed available limits on machine memory, the user can invoke the method estimate_enf_counts on a mergeron.gen.market_sample.MarketSample object without first invoking generate_sample. Note, however, that this strategy does not retain the market sample in memory in the interests of conserving memory and maintaining high performance (the user can specify that the market sample and enforcement statistics be stored to permanent storage; when saving to current PCIe NVMe storage, the performance penalty is slight, but can be considerable if saving to SATA storage).

Enforcement statistics based on FTC investigations data and test data are printed to screen or rendered to LaTex files (for processing into publication-quality tables) using methods provided in mergeron.gen.enforcement_stats.

Programs demonstrating the use of this package are included in the sub-package, mergeron.demo.

This package includes a class, mergeron.core.pseudorandom_numbers.MulithreadedRNG for generating random numbers with selected continuous distribution over specified parameters, and with CPU multithreading on machines with multiple virtual, logical, or physical CPU cores. This class is an adaptation from the documentation of the numpy package, from the discussion on multithreaded random-number generation <https://numpy.org/doc/stable/reference/random/multithreading.html>_; the version included here permits selection of the distribution with pre-tests to catch and inform on common errors. To access these directly:

import mergeron.core.pseudorandom_numbers as prng

Documentation for this package is in the form of the API Reference. Documentation for individual functions and classes is accessible within a python shell. For example:

import mergeron.core.market_sample as market_sample

help(market_sample.MarketSample)
Poetry Ruff Checked with mypy License: MIT

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

mergeron-2024.739104.1.tar.gz (134.1 kB view details)

Uploaded Source

Built Distribution

mergeron-2024.739104.1-py3-none-any.whl (142.0 kB view details)

Uploaded Python 3

File details

Details for the file mergeron-2024.739104.1.tar.gz.

File metadata

  • Download URL: mergeron-2024.739104.1.tar.gz
  • Upload date:
  • Size: 134.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Linux/6.6.44-2.el8.x86_64

File hashes

Hashes for mergeron-2024.739104.1.tar.gz
Algorithm Hash digest
SHA256 98929ce61dc2ea91eae675e64e602f9bd6624efeedb31878e024b12d5aa147fe
MD5 134974067114287d555e2472a4332ec6
BLAKE2b-256 584d2451b0820bb54c6a346abaae1f33314c07d9c505e3a0ca810f9e065c9a61

See more details on using hashes here.

File details

Details for the file mergeron-2024.739104.1-py3-none-any.whl.

File metadata

  • Download URL: mergeron-2024.739104.1-py3-none-any.whl
  • Upload date:
  • Size: 142.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Linux/6.6.44-2.el8.x86_64

File hashes

Hashes for mergeron-2024.739104.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52870bb9a34feed5bee45aa3085e9596e35a7cb6585d1a22cd684fd54c541517
MD5 cde9b159002d5baeeb983319161a97ba
BLAKE2b-256 b9350c1c6dd8f2c28800e231fac94032ae0216c41cc92d5fc15c7d1237484688

See more details on using hashes here.

Supported by

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