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.
# S4 method for Bertrand
hhi(object, preMerger = TRUE, revenue = FALSE, insideonly = TRUE)# S4 method for Cournot
hhi(object, preMerger = TRUE, revenue = FALSE)
# S4 method for VertBargBertLogit
hhi(object, preMerger = TRUE, revenue = FALSE, insideonly = TRUE)
An instance of one of the classes listed above.
If TRUE, returns pre-merger outcome. If FALSE, returns post-merger outcome. Default is TRUE.
If TRUE, returns revenues. If FALSE, returns quantities. Default is TRUE.
If TRUE, excludes the share of the outside good from the calculation. Default is TRUE.