Margins-Methods {antitrust} R Documentation

## Methods for Calculating Diagnostics

### Description

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

### Usage

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

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

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

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

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

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

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

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

## S4 method for signature '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.

[Package antitrust version 0.99.25 Index]