The “Auction2ndCap” class contains all the information needed to calibrate a 2nd price auction with capacity constraints
Objects can be created by using the constructor function auction2nd.cap
.
Let k denote the number of firms.
capacities
:A length k vector of firm capacities.
margins
:A length k vector of product margins, some of which may equal NA.
prices
:A length k vector of product prices.
reserve
:A length 1 vector equal to observed buyer's reserve price. May equal NA.
shareInside
:A length 1 vector equal to the probability that a buyer does not select the outside option. May equal NA.
sellerCostCDF
:A length 1 character vector equal to the name of the function that calculates the Cumulative Distribution (CDF) of SellerCosts.
sellerCostCDFLowerTail
:A length 1 logical vector equal to TRUE if the probabilities are P[X <= x], otherwise, P[X > x].
sellerCostPDF
:A function returning the Probability Density of Seller Costs.
sellerCostBounds
:The bounds on the seller's CDF.
sellerCostParms
:The parameters of the seller's CDF.
buyerValuation
:Buyer's self-supply cost.
reservePre
:Buyer's optimal pre-merger reservation price.
reservePost
:Buyer's optimal post-merger reservation price.
mcDelta
:A length k vector equal to the proportional change in a firm's capacity following the merger.
parmsStart
:A vector of starting values.
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. Likewise, for all methods containing the ‘exAnte’ argument, if ‘exAnte’ equals TRUE then the ex ante expected result for each firm is produced, while FALSE produces the expected result conditional on each firm winning the auction.
calcBuyerExpectedCost
signature(object = Auction2ndCap, preMerger = TRUE)
calcBuyerValuation
signature(object = Auction2ndCap)
calcExpectedLowestCost
signature(object = Auction2ndCap, preMerger = TRUE)
calcExpectedPrice
signature(object = Auction2ndCap, preMerger = TRUE)
calcProducerSurplus
signature(object = Auction2ndCap, preMerger = TRUE,exAnte=TRUE)
calcMC
signature(object = Auction2ndCap, t, preMerger = TRUE,exAnte=TRUE)
calcMargins
signature(object = Auction2ndCap, preMerger = TRUE,exAnte=TRUE)
calcOptimalReserve
signature(object = Auction2ndCap, preMerger = TRUE,lower,upper)
calcPrices
signature(object = Auction2ndCap, preMerger = TRUE,exAnte=TRUE)
calcSellerCostParms
signature(object = Auction2ndCap)
calcShares
signature(object = Auction2ndCap, preMerger = TRUE,exAnte=TRUE)
cdfG
signature(object = Auction2ndCap,c,preMerger=TRUE)
summary
signature(object =
Auction2ndCap,exAnte=FALSE, parameters=FALSE,digits=2)
# NOT RUN {
showClass("Auction2ndCap") # get a detailed description of the class
showMethods(classes="Auction2ndCap") # show all methods defined for the class
# }
Run the code above in your browser using DataLab