Class “Antitrust”

Share:

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.

Objects from the Class

Objects can be created by calls of the form new("Antitrust", ...).

Slots

Let k denote the number of products produced by all firms.

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.

Methods

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.

calcPriceDelta

signature(object)

Calculates the proportional change in product prices from a merger.

ownerToMatrix

signature(object, preMerger = TRUE)

Converts an ownership vector (or factor) to a k x k matrix of 1s and 0s.

ownerToVec

signature(object, preMerger = TRUE)

Converts a k x k ownership matrix to a length-k vector whose values identify an owner.

show

signature(object)

Displays the percentage change in prices due to the merger.

The “matrixOrList” and “matrixOrVector” Classes

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”.

Author(s)

Charles Taragin charles.taragin@usdoj.gov

Examples

1
2
showClass("Antitrust")           # get a detailed description of the class
showMethods(classes="Antitrust") # show all methods defined for the class

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.