Learn R Programming

antitrust (version 0.99.26)

Margins-Methods: Methods for Calculating Diagnostics

Description

Computes equilibrium product margins assuming that firms are playing a Nash-Bertrand, Cournot, 2nd Score Auction, or Bargaining game. For "LogitCap", assumes firms are playing a Nash-Bertrand or Cournot game with capacity constraints.

Usage

# S4 method for Bertrand
calcMargins(object, preMerger = TRUE, level = FALSE)

# S4 method for Bargaining2ndLogit calcMargins(object, preMerger = TRUE, exAnte = FALSE, level = TRUE)

# S4 method for BargainingLogit calcMargins(object, preMerger = TRUE, level = FALSE)

# S4 method for VertBargBertLogit calcMargins(object, preMerger = TRUE, level = FALSE)

# S4 method for Auction2ndCap calcMargins(object, preMerger = TRUE, exAnte = TRUE, level = FALSE)

# S4 method for Cournot calcMargins(object, preMerger = TRUE, level = FALSE)

# S4 method for AIDS calcMargins(object, preMerger = TRUE, level = FALSE)

# S4 method for LogitCap calcMargins(object, preMerger = TRUE, level = FALSE)

# S4 method for Auction2ndLogit calcMargins(object, preMerger = TRUE, exAnte = FALSE, level = TRUE)

# S4 method for Auction2ndLogitNests calcMargins(object, preMerger = TRUE, exAnte = FALSE, level = FALSE)

Arguments

object

An instance of one of the classes listed above.

preMerger

If TRUE, returns pre-merger outcome. If FALSE, returns post-merger outcome. Default is TRUE.

level

IF TRUE, return margins in dollars. If FALSE, returns margins in proportions. Default for most classes is FALSE.

exAnte

If ‘exAnte’ equals TRUE then the ex ante expected result for each firm is produced, while FALSE produces the expected result conditional on each firm winning the auction. Default is FALSE.