The “Linear” class contains all the information needed to calibrate a Linear demand system and perform a merger simulation analysis under the assumption that firms are playing a differentiated Bertrand products pricing game.
Objects can be created by using the constructor function linear
.
Let k denote the number of products produced by all firms.
intercepts
:A length k vector of demand intercepts.
prices
:A length k vector product prices.
quantities
:A length k vector of product quantities.
margins
:A length k vector of product margins. All margins must be between 0 and 1.
diversion
:A k x k matrix of diversion ratios with diagonal elements equal to 1.
priceStart
:A length k vector of prices used as the initial guess in the nonlinear equation solver.
symmetry
:If TRUE, requires the matrix of demand slope coefficients to be consistent with utility maximization theory.
For all of methods containing the ‘preMerger’ argument, ‘preMerger’ takes on a value of TRUE or FALSE, where TRUE invokes the method using the pre-merger ownership structure, while FALSE invokes the method using the post-merger ownership structure.
calcPrices
signature(object, preMerger
= TRUE,...)
constrOptim
, the non-linear
equation solver used to enforce non-negative equilibrium quantities.
calcPriceDeltaHypoMon
signature(object,prodIndex,...)
calcQuantities
signature(object, preMerger
= TRUE)
calcShares
signature(object, preMerger
= TRUE, revenue = FALSE)
calcSlopes
signature(object)
CV
signature(object =
"Linear")
elast
signature(object, preMerger
= TRUE)
# NOT RUN {
showClass("Linear") # get a detailed description of the class
showMethods(classes="Linear") # show all methods defined for the class
# }
Run the code above in your browser using DataLab