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
pricePre
A length k vector of simulated pre-merger prices.
pricePost
A length k vector of simulated post-merger prices.
ownerPre
A k x k matrix of pre-merger ownership shares.
ownerPost
A k x k matrix of post-merger ownership shares.
labels
A length k vector of labels.
control.slopes
A list of
optim
control parameters passed to the calibration routine optimizer (typically thecalcSlopes
method).control.equ
A list of
BBsolve
control parameters passed to the non-linear equation solver (typically thecalcPrices
method).
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