| Antitrust-Class {antitrust} | R Documentation |
“Antitrust” Classes
Description
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.
Let k denote the number of products produced by all firms below.
Slots
pricePreA length k vector of simulated pre-merger prices.
pricePostA length k vector of simulated post-merger prices.
ownerPreA k x k matrix of pre-merger ownership shares.
ownerPostA k x k matrix of post-merger ownership shares.
labelsA length k vector of labels.
control.slopesA list of
optimcontrol parameters passed to the calibration routine optimizer (typically thecalcSlopesmethod).control.equA list of
BBsolvecontrol parameters passed to the non-linear equation solver (typically thecalcPricesmethod).
Objects from the Class
Objects can be created by calls of the form new("Antitrust", ...).
The “matrixOrList”, “matrixOrVector” and “characterOrList” Classes
The “matrixOrList”,“matrixOrVector” and “characterOrList” classes are virtual classes used for validity checking in the ‘ownerPre’ and ‘ownerPost’ slots of “Antitrust” and the ‘slopes’ slot in “Bertrand”.
Author(s)
Charles Taragin ctaragin+antitrustr@gmail.com
Examples
showClass("Antitrust") # get a detailed description of the class