Package: mergeron
Download and analyze merger investigations data published by the U.S. Federal Trade Commission in various reports on extended merger investigations during 1996 to 2011. Model the sets of mergers conforming to various U.S. Horizontal Merger Guidelines standards. Analyze intrinsic clearance rates and intrinsic enforcement rates under Guidelines standards using generated data with specified distributions of market shares, price-cost margins, firm counts, and prices, optionally imposing restrictions impled by statutory filing thresholds and/or Bertrand-Nash oligopoly with MNL demand.Intrinsic clearance and enforcement rates are distinguished fromobservedclearance and enforcement rates in that the former do not reflect the effects of screening and deterrence as do the latter.Modules of primary interestRoutines for downloading and organizing FTC merger investigtions data published in 2004, 2007, 2008, and 2013. Includes a routine for constructing investigations data for non-overlapping periods, and other partitions on the data, subject to the constraints of the reported data.mergeron.core.ftc_merger_investigations_dataRoutines for plotting boundaries of (sets of mergers falling within) specified concentration and diversion ratio boundaries and for calibrating GUPPI thresholds to concentration (ΔHHI) thresholds, and vice-versa.mergeron.core.guidelines_standardsRoutines for generating industry data under various distributions of shares, prices, and margins. The user can specify whether rates are specified as, “proportional”, “inside-out” (i.e., consistent with merging-firms’ in-market shares and a default recapture rate), or “outside-in”, (i.e., purchase probabilities are drawn at random for\(n+1\)goods, from which are derived market shares and recapture rates for the\(n\)goods in the putative market). Price-cost-margins may be specified as symmetric, i.i.d, or consistent with equilibrium conditions for (profit-mazimization in) Bertrand-Nash oligopoly with MNL demand. 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. Two alternative approaches for modeling statutory filing requirements (HSR filing thresholds) are implemented.mergeron.gen.data_generationRoutines for testing generated industry data against criteria on diversion ratio, gross upward pricing pressure (“GUPPI”), critical marginal cost reduction (“CMCR”), and indicative price rise (“IPR”)/partial merger simulation. Test data are constructed in parallel and the user can specify number ofthreadsand sub-sample size for each thread to manage CPU and memory utilization.mergeron.gen.guidelines_testsFTC investigations data and test data are printed to screen or rendered in LaTex to text files (for processing into publication-quality tables) using routines provided inmergeron.gen.investigations_stats.Programs demonstrating the analysis and reporting facilites provided by the package.mergeron.examplesThis package exposes routines employed 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. To access these directly:import mergeron.core.pseudorandom_numbers as prngAlso included are routines for estimating confidence intervals for proportions and for contrasts (differences) in proportions. (Although coded from scratch using the source literature, the APIs implemented in the module included here are designed for consistency with the APIs in,statsmodels.stats.proportionfrom the package,statsmodels(https://pypi.org/project/statsmodels/).) To access these directly:import mergeron.core.proportions_tests as prciA recent version of Paul Tol’s python module,tol_colors.pyis redistributed within this package. Other than re-formatting and type annotation, thetol_colorsmodule is re-distributed as downloaded from,https://personal.sron.nl/~pault/data/tol_colors.py. The tol_colors.py module is distributed under the Standard 3-clause BSD license. To access the tol_colors module directly:import mergeron.ext.tol_colorsDocumentation 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.data_generation as dglhelp(dgl.gen_market_sample)