mergeron 2024.738930.0__tar.gz → 2024.738936.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mergeron might be problematic. Click here for more details.
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/PKG-INFO +15 -18
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/README.rst +14 -17
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/pyproject.toml +1 -1
- {mergeron-2024.738930.0/src/mergeron/gen → mergeron-2024.738936.2/src/mergeron/core}/__init__.py +1 -1
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/core/guidelines_standards.py +247 -57
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/core/proportions_tests.py +19 -19
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/core/pseudorandom_numbers.py +30 -29
- {mergeron-2024.738930.0/src/mergeron/core → mergeron-2024.738936.2/src/mergeron/examples}/__init__.py +1 -1
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/concentration_as_diversion.py +75 -88
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/investigations_stats_obs_tables.py +119 -111
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/investigations_stats_sim_tables.py +108 -87
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/plotSafeHarbs_symbolically.py +2 -2
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/safeharbor_boundaries_for_mergers_with_asymmetric_shares.py +35 -28
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/safeharbor_boundaries_for_symmetric_firm_mergers.py +6 -13
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/sound_guppi_safeharbor.py +23 -18
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/testIntrinsicClearanceRates.py +5 -5
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/visualize_empirical_margin_distribution.py +1 -1
- mergeron-2024.738930.0/src/mergeron/examples/visualize_guidelines_tests_scatterplots.py → mergeron-2024.738936.2/src/mergeron/examples/visualize_guidelines_tests.py +42 -48
- {mergeron-2024.738930.0/src/mergeron/examples → mergeron-2024.738936.2/src/mergeron/ext}/__init__.py +1 -1
- {mergeron-2024.738930.0/src/mergeron/ext → mergeron-2024.738936.2/src/mergeron/gen}/__init__.py +1 -1
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/gen/data_generation.py +25 -24
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/gen/guidelines_tests.py +47 -47
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/gen/investigations_stats.py +98 -46
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/jinja_LaTex_templates/clrrate_cis_summary_table_template.tex.jinja2 +2 -3
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/jinja_LaTex_templates/ftcinvdata_byhhianddelta_table_template.tex.jinja2 +2 -3
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/jinja_LaTex_templates/ftcinvdata_summary_table_template.tex.jinja2 +1 -2
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/jinja_LaTex_templates/ftcinvdata_summarypaired_table_template.tex.jinja2 +13 -14
- mergeron-2024.738936.2/src/mergeron/jinja_LaTex_templates/mergeron.cls +161 -0
- mergeron-2024.738936.2/src/mergeron/jinja_LaTex_templates/mergeron_table_collection_template.tex.jinja2 +90 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/License.txt +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/__init__.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/core/InCommon RSA Server CA cert chain.pem +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/core/damodaran_margin_data.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/core/excel_helper.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/core/ftc_merger_investigations_data.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/example_parameterizations.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/guidelines_enforcement_patterns.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/examples/summarize_ftc_investigations_data.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/ext/tol_colors.py +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/jinja_LaTex_templates/setup_tikz_tables.tex.jinja2 +0 -0
- {mergeron-2024.738930.0 → mergeron-2024.738936.2}/src/mergeron/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mergeron
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.738936.2
|
|
4
4
|
Summary: Analysis of standards defined in Horizontal Merger Guidelines
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: merger policy analysis,merger guidelines,merger screening,policy presumptions,concentration standards,upward pricing pressure,GUPPI
|
|
@@ -57,44 +57,41 @@ Modules of primary interest
|
|
|
57
57
|
|
|
58
58
|
Routines 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.
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
mergeron.core.ftc_merger_investigations_data
|
|
61
61
|
|
|
62
62
|
Routines 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.
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
mergeron.core.guidelines_standards
|
|
65
65
|
|
|
66
66
|
Routines 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 :math:`n+1` goods, from which are derived market shares and recapture rates for the :math:`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.
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
mergeron.gen.data_generation
|
|
69
69
|
|
|
70
70
|
Routines 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 of `threads` and sub-sample size for each thread to manage CPU and memory utilization.
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
mergeron.gen.guidelines_tests
|
|
73
73
|
|
|
74
|
-
FTC 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 in :code:`mergeron.gen.
|
|
74
|
+
FTC 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 in :code:`mergeron.gen.investigations_stats`.
|
|
75
75
|
|
|
76
76
|
Programs demonstrating the analysis and reporting facilites provided by the package.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
mergeron.examples
|
|
79
79
|
|
|
80
|
-
This package
|
|
80
|
+
This 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:
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
import mergeron.core.pseudorandom_numbers as prng
|
|
83
83
|
|
|
84
|
-
Also included are routines for estimating confidence intervals for proportions and for contrasts (differences) in proportions. (
|
|
84
|
+
Also 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, :code:`statsmodels.stats.proportion` from the package, :code:`statsmodels` (https://pypi.org/project/statsmodels/).) To access these directly:
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
import mergeron.core.proportions_tests as prci
|
|
87
87
|
|
|
88
88
|
A recent version of Paul Tol's python module, :code:`tol_colors.py` is redistributed within this package. Other than re-formatting and type annotation, the :code:`tol_colors` module 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:
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Documentation for this package is in the form of the API Reference. For individual functions and classes, this same documentation is accessible within a python shell. For example, the below snippet produces the API reference for the given function in a python::
|
|
93
|
-
|
|
94
|
-
import mergeron.core.data_generation as dgl
|
|
95
|
-
help(dgl.gen_market_sample)
|
|
96
|
-
|
|
90
|
+
import mergeron.ext.tol_colors
|
|
97
91
|
|
|
92
|
+
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:
|
|
98
93
|
|
|
94
|
+
import mergeron.core.data_generation as dgl
|
|
99
95
|
|
|
96
|
+
help(dgl.gen_market_sample)
|
|
100
97
|
|
|
@@ -10,43 +10,40 @@ Modules of primary interest
|
|
|
10
10
|
|
|
11
11
|
Routines 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.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
mergeron.core.ftc_merger_investigations_data
|
|
14
14
|
|
|
15
15
|
Routines 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.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
mergeron.core.guidelines_standards
|
|
18
18
|
|
|
19
19
|
Routines 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 :math:`n+1` goods, from which are derived market shares and recapture rates for the :math:`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.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
mergeron.gen.data_generation
|
|
22
22
|
|
|
23
23
|
Routines 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 of `threads` and sub-sample size for each thread to manage CPU and memory utilization.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
mergeron.gen.guidelines_tests
|
|
26
26
|
|
|
27
|
-
FTC 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 in :code:`mergeron.gen.
|
|
27
|
+
FTC 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 in :code:`mergeron.gen.investigations_stats`.
|
|
28
28
|
|
|
29
29
|
Programs demonstrating the analysis and reporting facilites provided by the package.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
mergeron.examples
|
|
32
32
|
|
|
33
|
-
This package
|
|
33
|
+
This 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:
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
import mergeron.core.pseudorandom_numbers as prng
|
|
36
36
|
|
|
37
|
-
Also included are routines for estimating confidence intervals for proportions and for contrasts (differences) in proportions. (
|
|
37
|
+
Also 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, :code:`statsmodels.stats.proportion` from the package, :code:`statsmodels` (https://pypi.org/project/statsmodels/).) To access these directly:
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
import mergeron.core.proportions_tests as prci
|
|
40
40
|
|
|
41
41
|
A recent version of Paul Tol's python module, :code:`tol_colors.py` is redistributed within this package. Other than re-formatting and type annotation, the :code:`tol_colors` module 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:
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Documentation for this package is in the form of the API Reference. For individual functions and classes, this same documentation is accessible within a python shell. For example, the below snippet produces the API reference for the given function in a python::
|
|
46
|
-
|
|
47
|
-
import mergeron.core.data_generation as dgl
|
|
48
|
-
help(dgl.gen_market_sample)
|
|
49
|
-
|
|
43
|
+
import mergeron.ext.tol_colors
|
|
50
44
|
|
|
45
|
+
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:
|
|
51
46
|
|
|
47
|
+
import mergeron.core.data_generation as dgl
|
|
52
48
|
|
|
49
|
+
help(dgl.gen_market_sample)
|