Methods defined for the ‘Bertrand’ class and its child classes.
# S4 method for ANY
calcShares(object,preMerger=TRUE,revenue=FALSE)
# S4 method for ANY
calcQuantities(object,preMerger=TRUE, market=FALSE)
# S4 method for ANY
calcRevenues(object,preMerger=TRUE, market=FLASE)
# S4 method for ANY
calcPrices(object,preMerger=TRUE,subset,...)
# S4 method for Antitrust
calcPriceDelta(object,levels=FALSE,market=FALSE,...)
# S4 method for AIDS
calcPriceDelta(object,isMax=FALSE,levels=FALSE,subset,market=FALSE,...)
# S4 method for Bertrand
calcProducerSurplus(object,preMerger=TRUE)
# S4 method for ANY
calcMargins(object,preMerger=TRUE)
# S4 method for Bertrand
calcMC(object,preMerger=TRUE)
# S4 method for ANY
calcSlopes(object,preMerger=TRUE)
# S4 method for Bertrand
calcDiagnostics(object,labels=object@labels)
# S4 method for Bertrand
getParms(object,digits=10)
# S4 method for Bertrand
hhi(object,preMerger=TRUE,revenue=FALSE,insideonly=TRUE)
# S4 method for Antitrust
ownerToMatrix(object,preMerger=TRUE)
# S4 method for Antitrust
ownerToVec(object,preMerger=TRUE)
# S4 method for Bertrand
plot(x,scale=.1)
# S4 method for Bertrand
summary(object,revenue=TRUE,shares=TRUE,levels=FALSE,
parameters=FALSE,market=FALSE,insideOnly=TRUE,digits=2,...)
Let k denote the number of products
An instance of one of the classes listed above.
Used only in plot method. Should always be set equal to object
If TRUE, returns pre-merger outcome. If FALSE, returns post-merger outcome. Default is TRUE.
If TRUE, uses numerical derivatives to determine if equilibrium price vector is a local maximum. Default is FALSE.
If TRUE, returns revenues. If FALSE, returns quantities. Default is TRUE
A vector of length k where each element equals TRUE if the product indexed by that element should be included in the post-merger simulation and FALSE if it should be excluded.Default is a length k vector of TRUE.
If TRUE, returns shares. If FALSE, returns levels. Default is TRUE
If TRUE, reports demand and cost parameters. Default is FALSE
If TRUE, report results in levels. If FALSE, report results in percents. Default is FALSE
If TRUE, normalizes sum of inside shares to 1. Default is FALSE
The number of significant digits to round printed results.
The proportion below marginal cost and above equilbrium price that should be plotted. Default is .1
If TRUE, excludes the share of the outside good from the calculation. Default is TRUE.
If TRUE, reports market-level summary. Otherwise reports product/plant level summary. Default is FALSE
A length-k vector product labels. Defauult is object@labels
Arguments to be passed to non-linear solver, OR for
summary
to CV
.
signature(object=
c(Linear,AIDS,Logit,LogitNests,CES,CESNests),
preMerger=TRUE, revenue=FALSE)
Computes equilibrium product shares assuming that firms are playing a Nash-Bertrand or Cournot game. ‘revenue’ takes on a value of TRUE or FALSE, where TRUE calculates revenue shares, while FALSE calculates quantity shares.
signature(object=c(AIDS,CES,Cournot,Linear,Logit,LogLin,Logit,LogitCap,Stackelberg),preMerger=TRUE, market=FALSE)
Computes equilibrium product quantities assuming that firms are playing a Nash-Bertrand, 2nd Score Auction, or Cournot game. Setting `market' to TRUE returns total market quantity.
signature(object=c(Bertrand, AIDS, CES),preMerger=TRUE, market=FALSE)
Computes equilibrium product revenues assuming that firms are playing a Nash-Bertrand, 2nd Score Auction, or Cournot game. Setting `market' to TRUE returns total market revenue.
signature(object=c(Linear,LogLin,AIDS,Logit,LogitNests,LogitCap,CES,CESNests),preMerger=TRUE,subset,...)
BBsolve
is used, but see
the appropriate document for further details.signature(object=Antitrust, market=FALSE, ...)
signature(object=AIDS,isMax=FALSE,subset,market=FALSE,...)
signature(object=Bertrand,preMerger=TRUE)
signature(object=c(Bertrand,LogitCap),preMerger=TRUE)
signature(object=c(Bertrand,Cournot),labels
signature(object=Cournot,preMerger=TRUE)
signature(object=Bertrand,preMerger=TRUE)
signature(object=Cournot,preMerger=TRUE)
signature(object=c(Linear,LogLin,AIDS,PCAIDSNests,Logit,LogitNests,LogitCap,CES,CESNests, Cournot,Stackelberg),preMerger=TRUE)
Computes demand parameters assuming that firms are playing a Nash-Bertrand or Cournot game.
signature(object=Bertrand,digits=10)
signature(object=Bertrand,preMerger=TRUE,revenue=FALSE, insideonly=TRUE)
Computes the Herfindahl-Hirschman Index (HHI) using simulated market shares and either pre- or post-merger ownership information.Outside shares are excluded from the calculation.
signature(object=Antitrust,preMerger=TRUE)
converts a length-k ownership vector into a k x k ownership matrix where element i,j equals 1 if products i and j are commonly owned, and 0 otherwise.
signature(object=Antitrust,preMerger=TRUE)
converts a k x k ownership matrix into a length-k ownership vector
signature(x,scale=.1)
ggplot
to plot pre- and post-merger demand, marginal cost and equilibria. ‘scale’ controls the amount above marginal cost and below equilbrium price that is plotted.signature(object=Antitrust)
signature(object=c(Bertrand,AIDS),revenue=TRUE,shares=TRUE,parameters=FALSE,digits=2,...)
CV
method.signature(object)