Antitrust-Class | R Documentation |
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.
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 the calcSlopes
method).
control.equ
A list of BBsolve
control parameters passed to the non-linear equation solver (typically the calcPrices
method).
Objects can be created by calls of the form new("Antitrust", ...)
.
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”.
Charles Taragin ctaragin+antitrustr@gmail.com
showClass("Antitrust") # get a detailed description of the class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.