Diagnostics-Methods {antitrust}R Documentation

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 signature 'Bertrand'
calcDiagnostics(object, labels = object@labels)

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

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


[Package antitrust version 0.99.26 Index]