The “Logit” class contains all the information needed to calibrate a Logit demand system and perform a merger simulation analysis under the assumption that firms are playing a differentiated products Bertrand pricing game.
Objects can be created by using the constructor function logit
.
Let k denote the number of products produced by all firms.
prices
:A length k vector of product prices.
margins
:A length k vector of product margins, some of which may equal NA.
normIndex
:An integer specifying the product index against which the mean values of all other products are normalized.
shareInside
:The share of customers that purchase any of the products included in the `prices' vector.
priceOutside
:The price of the outside good. Default is 0.
slopes
:A list containing the coefficient on price (‘alpha’) and the vector of mean valuations (‘meanval’)
mktElast
:A length 1 vector of market elasticities.
priceStart
:A length-k vector of starting prices for the non-linear solver
insideSize
:A positive number equal to total pre-merger quantities (revenues for CES) for all products included in the simulation.
mktSize
:A positive number equal to total quantities (revenues for CES) pre-merger for all products in the simulations as well as the outside good.
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 = Logit, preMerger
= TRUE,isMax=FALSE,...)
BBsolve
, the non-linear equation solver.
calcPriceDeltaHypoMon
signature(object = Logit,prodIndex,...)
calcShares
signature(object = Logit, preMerger
= TRUE,revenue = FALSE)
calcSlopes
signature(object = Logit)
CV
signature(object =
Logit)
elast
signature(object = Logit, preMerger
= TRUE)
# NOT RUN {
showClass("Logit") # get a detailed description of the class
showMethods(classes="Logit") # show all methods defined for the class
# }
Run the code above in your browser using DataLab