The “Antitrust” class is a building block used to create other classes in this package. As such, it is most likely to be useful for developers who wish to code their own calibration/simulation routines.
Objects can be created by calls of the form
Let k denote the number of products produced by all firms.
A length k vector of simulated pre-merger prices.
A length k vector of simulated post-merger prices.
A k x k matrix of pre-merger ownership shares.
A k x k matrix of post-merger ownership shares.
A length k vector of labels.
Many of the methods described below contain a ‘preMerger’ argument. The ‘preMerger’ takes on a value of TRUE or FALSE, where TRUE invokes the method using the pre-merger values, while FALSE invokes the method using the post-merger ownership structure.
Calculates the proportional change in product prices from a merger.
Converts an ownership vector (or factor) to a k x k matrix of 1s and 0s.
Converts a k x k ownership matrix to a length-k vector whose values identify an owner.
Displays the percentage change in prices due to the merger.
The “matrixOrList” and “matrixOrVector” classes are virtual classes used for validity checking in the ‘ownerPre’ and ‘ownerPost’ slots of “Antitrust” and the ‘slopes’ slot in “Bertrand”.
Charles Taragin firstname.lastname@example.org