hhi

Calculate and Visualize the Herfindahl-Hirschman Index

Based on the aggregated shares retained by individual firms or actors within a market or space, the Herfindahl-Hirschman Index (HHI) measures the level of concentration in the market or space. It is often used as a measure of competition, where 0 equals perfect competition amongst firms or actors and 10,000 equals perfect monopoly. This package allows for intuitive and straightforward computation of the HHI, requiring placement of objects directly into the function, including the data frame first, followed by the name of the vector (or variable) corresponding with the market shares in quotation marks. The package also includes a plot function for quick visual display of HHI time series across any measure of time (year, quarter, month, etc.) Suggested citation of the HHI: Rhoades, Stephen A. (1993, "The herfindahl-hirschman index." Federal Reserve Bulletin 79: 188).

Total

277

Last month

277

Last week

113

Average per day

9

Daily downloads

Total downloads

Description file content

Package
hhi
Type
Package
Title
Calculate and Visualize the Herfindahl-Hirschman Index
Version
1.1.0
Author
Philip D. Waggoner
Maintainer
Philip D. Waggoner
Description
Based on the aggregated shares retained by individual firms or actors within a market or space, the Herfindahl-Hirschman Index (HHI) measures the level of concentration in the market or space. It is often used as a measure of competition, where 0 equals perfect competition amongst firms or actors and 10,000 equals perfect monopoly. This package allows for intuitive and straightforward computation of the HHI, requiring placement of objects directly into the function, including the data frame first, followed by the name of the vector (or variable) corresponding with the market shares in quotation marks. The package also includes a plot function for quick visual display of HHI time series across any measure of time (year, quarter, month, etc.) Suggested citation of the HHI: Rhoades, Stephen A. (1993, "The herfindahl-hirschman index." Federal Reserve Bulletin 79: 188).
License
MIT + file LICENSE
Imports
ggplot2
Encoding
UTF-8
LazyData
true
RoxygenNote
6.0.1
NeedsCompilation
no
Packaged
2018-04-13 17:43:19 UTC; bpwaggo
Repository
CRAN
Date/Publication
2018-04-13 17:54:17 UTC

install.packages('hhi')

1.1.0

6 days ago

Philip D. Waggoner

MIT + file LICENSE

Imports

ggplot2

Discussions