Learn R Programming

antitrust (version 0.99.26)

Diagnostics-Methods: Methods for Calculating Diagnostics

Description

Computes the percentage difference between predicted and observed pre-merger prices, shares, margins and market elasticities (if supplied) . ‘labels’ is used to specify row labels.

Usage

# S4 method for Bertrand
calcDiagnostics(object, labels = object@labels)

# S4 method for VertBargBertLogit calcDiagnostics(object, labels = object@down@labels)

# S4 method for Cournot calcDiagnostics(object)

Arguments

object

An instance of one of the classes listed above.

labels

A length-k vector of product labels. Default is object@labels.