Package: antitrust 0.99.28

antitrust: Tools for Antitrust Practitioners

A collection of tools for antitrust practitioners, including the ability to calibrate different consumer demand systems and simulate the effects of mergers under different competitive regimes.

Authors:Charles Taragin [aut, cre], Michael Sandfort [aut], Shlok Goyal [ctb]

antitrust_0.99.28.tar.gz
antitrust_0.99.28.zip(r-4.5)antitrust_0.99.28.zip(r-4.4)antitrust_0.99.28.zip(r-4.3)
antitrust_0.99.28.tgz(r-4.4-any)antitrust_0.99.28.tgz(r-4.3-any)
antitrust_0.99.28.tar.gz(r-4.5-noble)antitrust_0.99.28.tar.gz(r-4.4-noble)
antitrust_0.99.28.tgz(r-4.4-emscripten)antitrust_0.99.28.tgz(r-4.3-emscripten)
antitrust.pdf |antitrust.html
antitrust/json (API)

# Install 'antitrust' in R:
install.packages('antitrust', repos = c('https://luciu5.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/luciu5/antitrust/issues

On CRAN:

5.99 score 5 stars 2 packages 36 scripts 513 downloads 72 exports 3 dependencies

Last updated 2 months agofrom:dff978ebef. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winERRORNov 18 2024
R-4.5-linuxERRORNov 18 2024
R-4.4-winERRORNov 18 2024
R-4.4-macERRORNov 18 2024
R-4.3-winERRORNov 18 2024
R-4.3-macERRORNov 18 2024

Exports:aidsantitrust_shinyauction2nd.capauction2nd.logitauction2nd.logit.almauction2nd.logit.nestsbargaining.logitbargaining2nd.logitbertrand.almcalcBuyerExpectedCostcalcBuyerValuationcalcDiagnosticscalcdMCcalcExpectedLowestCostcalcExpectedPricecalcMarginscalcMarginsAGcalcMCcalcOptimalReservecalcPriceDeltacalcPriceDeltaHypoMoncalcPricescalcPricesAGcalcPricesHypoMoncalcProducerSurpluscalcProducerSurplusGrimTriggercalcQuantitiescalcRevenuescalcSellerCostParmscalcSharescalcSlopescalcVCcdfGcesces.almces.nestscmcrcmcr.bertrandcmcr.cournotcmcr.cournot2cournotCVdiversiondiversionHypoMonelastgetNestsParmsgetParmshhiHHIHypoMonTestlinearlogitlogit.almlogit.caplogit.cap.almlogit.cournotlogit.nestslogit.nests.almloglinearownerToMatrixownerToVecpcaidspcaids.nestsplotshowsimstackelbergsummaryuppupp.bertrandupp.cournotvertical.barg

Dependencies:BBnumDerivquadprog

antitrust Reference Manual

Rendered fromReference.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2023-12-08
Started: 2019-08-12

Readme and manuals

Help Manual

Help pageTopics
(Nested) AIDS Calibration and Merger Simulationaids AIDS-Functions pcaids pcaids.nests
"Antitrust" ClassesAntitrust-Class Antitrust-class characterOrList-class matrixOrList-class matrixOrVector-class
Class "Auction"Auction-Classes Auction2ndCap-class Auction2ndLogit-class Auction2ndLogitALM-class Auction2ndLogitNests-class
(Capacity Constrained) 2nd Price Auction Modelauction2nd.cap Auction2ndCap Auction2ndCap-Functions
2nd Score Procurement Auction Model with (Nested) Logit Demandauction2nd.logit auction2nd.logit.alm auction2nd.logit.nests Auction2ndLogit-Functions
Auction Cap MethodsAuctionCap-Methods calcBuyerExpectedCost calcBuyerExpectedCost,Auction2ndCap-method calcBuyerValuation calcBuyerValuation,Auction2ndCap-method calcExpectedLowestCost calcExpectedLowestCost,Auction2ndCap-method calcExpectedPrice calcExpectedPrice,Auction2ndCap-method calcOptimalReserve calcOptimalReserve,Auction2ndCap-method calcSellerCostParms calcSellerCostParms,Auction2ndCap-method cdfG cdfG,Auction2ndCap-method
"Bargaining" ClassesBargaining-class Bargaining-Classes Bargaining2ndLogit-class BargainingLogit-class
Nash Bargaining Model with Logit Demandbargaining.logit bargaining2nd.logit BargainingLogit-Functions
Bertrand Calibration and Merger Simulation With Logit, CES and AIDS DemandBertrand bertrand Bertrand-Functions bertrand.alm
"Bertrand" ClassesAIDS-class Bertrand-class BertrandOther-Classes Linear-class LogLin-class PCAIDS-class PCAIDSNests-class
"Bertrand RUM" ClassesBertrandRUM-Classes CES-class CESALM-class CESNests-class Logit-class LogitALM-class LogitCap-class LogitCapALM-class LogitCournot-class LogitNests-class LogitNestsALM-class
(Nested) Constant Elasticity of Substitution Demand Calibration and Merger Simulationces CES-Functions ces.alm ces.nests
Methods For Calculating Compensating Marginal Cost Reductionscmcr,AIDS-method cmcr,ANY-method cmcr,Auction2ndLogit-method cmcr,Bertrand-method cmcr,Cournot-method CMCR-Methods cmcr-methods
Compensating Marginal Cost Reductions and Upwards Pricing Pressure (Bertrand)cmcr cmcr.bertrand CMCRBertrand-Functions upp upp.bertrand
Compensating Marginal Cost Reductions and Upwards Pricing Pressure (Cournot)cmcr.cournot cmcr.cournot2 CMCRCournot-Functions upp.cournot
Methods for Calculating marginal and Variable CostscalcdMC calcdMC,ANY-method calcdMC,Stackelberg-method calcMC calcMC,ANY-method calcMC,Auction2ndCap-method calcMC,Auction2ndLogit-method calcMC,Bertrand-method calcMC,Cournot-method calcMC,VertBargBertLogit-method calcVC calcVC,ANY-method calcVC,Cournot-method Cost-Methods
"Cournot" ClassesCournot-class Cournot-classes Stackelberg-class
Multi-product Cournot/Stackelberg Calibration and Merger Simulation With Linear or Log-Linear DemandCournot cournot Cournot-Functions Stackelberg stackelberg
Methods For Calculating Compensating Variation (CV)CV CV,AIDS-method CV,ANY-method CV,Auction2ndLogit-method CV,CES-method CV,CESNests-method CV,Cournot-method CV,Linear-method CV,Logit-method CV,LogitNests-method CV,LogLin-method CV,VertBarg2ndLogit-method CV,VertBargBertLogit-method CV-Methods CV-methods
Methods For Implementing The Hypothetical Monopolist TestcalcPriceDeltaHypoMon calcPriceDeltaHypoMon,AIDS-method calcPriceDeltaHypoMon,ANY-method calcPriceDeltaHypoMon,Bertrand-method calcPriceDeltaHypoMon,Cournot-method calcPricesHypoMon calcPricesHypoMon,AIDS-method calcPricesHypoMon,ANY-method calcPricesHypoMon,Auction2ndLogit-method calcPricesHypoMon,Cournot-method calcPricesHypoMon,Linear-method calcPricesHypoMon,Logit-method calcPricesHypoMon,LogitCap-method calcPricesHypoMon,LogLin-method defineMarketTools-methods diversionHypoMon diversionHypoMon,AIDS-method diversionHypoMon,ANY-method diversionHypoMon,Bertrand-method HypoMonTest HypoMonTest,ANY-method HypoMonTest,Bertrand-method HypoMonTest,Cournot-method HypoMonTest,VertBargBertLogit-method
Methods for Calculating DiagnosticscalcDiagnostics calcDiagnostics,ANY-method calcDiagnostics,Bertrand-method calcDiagnostics,Cournot-method calcDiagnostics,VertBargBertLogit-method Diagnostics-Methods
Methods For Calculating Diversiondiversion diversion,AIDS-method diversion,ANY-method diversion,Bertrand-method diversion,VertBargBertLogit-method Diversion-Methods diversion-methods
Methods For Calculating Own and Cross-Price Elasticitieselast elast,AIDS-method elast,ANY-method elast,CES-method elast,CESNests-method elast,Cournot-method elast,Linear-method elast,Logit-method elast,LogitNests-method elast,LogLin-method elast,VertBargBertLogit-method Elast-Methods elast-methods
Herfindahl-Hirschman IndexHHI HHI-Functions
Methods For Calculating the Herfindahl-Hirschman Indexhhi hhi,ANY-method hhi,Bertrand-method hhi,Cournot-method hhi,VertBargBertLogit-method HHI-Methods
Linear and Log-Linear Demand Calibration and Merger Simulationlinear Linear-Functions loglinear
(Nested) Logit Demand Calibration and Merger Simulation)logit Logit-Functions logit.alm logit.cap logit.cap.alm logit.cournot logit.nests logit.nests.alm
Methods for Calculating MarginscalcMargins calcMargins,AIDS-method calcMargins,ANY-method calcMargins,Auction2ndCap-method calcMargins,Auction2ndLogit-method calcMargins,Auction2ndLogitNests-method calcMargins,Bargaining2ndLogit-method calcMargins,BargainingLogit-method calcMargins,Bertrand-method calcMargins,Cournot-method calcMargins,LogitCap-method calcMargins,LogitCournot-method calcMargins,VertBargBertLogit-method calcMargins,VertBargBertLogitNests-method Margins-Methods
Methods for Calculating Prices and Margins Using Aggregative GamescalcMarginsAG calcMarginsAG,ANY-method calcMarginsAG,CES-method calcMarginsAG,Logit-method calcPricesAG calcPricesAG,ANY-method calcPricesAG,Logit-method MarginsAG-Methods
Output MethodscalcQuantities calcQuantities,AIDS-method calcQuantities,ANY-method calcQuantities,CES-method calcQuantities,Cournot-method calcQuantities,Linear-method calcQuantities,Logit-method calcQuantities,LogitCap-method calcQuantities,LogLin-method calcQuantities,Stackelberg-method calcQuantities,VertBargBertLogit-method calcRevenues calcRevenues,AIDS-method calcRevenues,ANY-method calcRevenues,Bertrand-method calcRevenues,CES-method calcRevenues,Cournot-method calcRevenues,VertBargBertLogit-method calcShares calcShares,AIDS-method calcShares,ANY-method calcShares,Auction2ndCap-method calcShares,Auction2ndLogit-method calcShares,Auction2ndLogitNests-method calcShares,CES-method calcShares,CESNests-method calcShares,Cournot-method calcShares,Linear-method calcShares,Logit-method calcShares,LogitNests-method calcShares,VertBarg2ndLogit-method calcShares,VertBargBertLogit-method Output-Methods
Methods for Manipulating Ownership MatricesOwnership-methods ownerToMatrix ownerToMatrix,Antitrust-method ownerToMatrix,VertBargBertLogit-method ownerToVec ownerToVec,Antitrust-method
Methods for Calculating Demand ParameterscalcSlopes calcSlopes,AIDS-method calcSlopes,ANY-method calcSlopes,Auction2ndLogit-method calcSlopes,Auction2ndLogitALM-method calcSlopes,Auction2ndLogitNests-method calcSlopes,Bargaining2ndLogit-method calcSlopes,BargainingLogit-method calcSlopes,CES-method calcSlopes,CESALM-method calcSlopes,CESNests-method calcSlopes,Cournot-method calcSlopes,Linear-method calcSlopes,Logit-method calcSlopes,LogitALM-method calcSlopes,LogitCap-method calcSlopes,LogitCapALM-method calcSlopes,LogitCournot-method calcSlopes,LogitNests-method calcSlopes,LogitNestsALM-method calcSlopes,LogLin-method calcSlopes,PCAIDS-method calcSlopes,PCAIDSNests-method calcSlopes,Stackelberg-method calcSlopes,VertBargBertLogit-method getNestsParms getNestsParms,PCAIDSNests-method getParms getParms,ANY-method getParms,Bertrand-method getParms,VertBargBertLogit-method Params-Methods
Methods For Calculating Upwards Pricing Pressure Index (Bertrand)plot,Bertrand-method Plot-Methods
Methods For Calculating Price DeltacalcPriceDelta calcPriceDelta,AIDS-method calcPriceDelta,Antitrust-method calcPriceDelta,ANY-method calcPriceDelta,Auction2ndLogit-method calcPriceDelta,Cournot-method calcPriceDelta,VertBargBertLogit-method PriceDelta-Methods
"Calculating Prices" MethodscalcPrices calcPrices,AIDS-method calcPrices,ANY-method calcPrices,Auction2ndCap-method calcPrices,Auction2ndLogit-method calcPrices,BargainingLogit-method calcPrices,Cournot-method calcPrices,Linear-method calcPrices,Logit-method calcPrices,LogitCap-method calcPrices,LogLin-method calcPrices,VertBarg2ndLogit-method calcPrices,VertBargBertLogit-method Prices-Methods
Producer Surplus MethodscalcProducerSurplus calcProducerSurplus,ANY-method calcProducerSurplus,Auction2ndCap-method calcProducerSurplus,Bertrand-method calcProducerSurplus,Cournot-method calcProducerSurplus,VertBargBertLogit-method calcProducerSurplusGrimTrigger calcProducerSurplusGrimTrigger,Bertrand-method PS-methods
Show Methodshow,Antitrust-method show,VertBargBertLogit-method Show-Methods
Merger Simulation With User-Supplied Demand Parameterssim Sim-Functions
Summary Methodssummary,AIDS-method summary,ANY-method summary,Auction2ndCap-method summary,Auction2ndLogit-method summary,Bertrand-method summary,Cournot-method summary,VertBargBertLogit-method summary-methods
Supply Chain Merger SimulationSupplyChain-Functions vertical vertical.barg
Methods For Calculating Upwards Pricing Pressure Index (Bertrand)upp,AIDS-method upp,ANY-method upp,Auction2ndLogit-method upp,Bertrand-method UPP-Methods upp-methods
"Vertical" ClassesVertBarg2ndLogit VertBarg2ndLogit-class VertBarg2ndLogitNests VertBarg2ndLogitNests-class VertBargBertLogit VertBargBertLogit-class VertBargBertLogitNests VertBargBertLogitNests-class Vertical-Classes