Getting started

What is concstats?

concstats is a small package that helps you to calculate the structure, concentration or diversity measures of a given market.
You can reach that goal in different ways:
a) calculating an individual measure, e.g. the Herfindahl Hirschman Index (HHI) or its dual.
b) calculating a group of measures, e.g. structural measures, or
c) a set of pre-selected measures in a one-step procedure.

How can you install it?

You can install concstats directly from CRAN

install.packages("concstats") # Market Structure, Concentration, and Inequality
                              # Measures
library(concstats)

You can install the development versions from

r-universe
install.packages(“concstats”, repos = “https://ropensci.r-universe.dev”)

github (requires remotes or devtools)
remotes::install_github(“ropensci/concstats”

Why did I build it?

Measures of concentration and competition are important and give a first insight of a given market structure in a particular market.
They are important to determine public policies and strategic corporate decisions. However, in research and in practice the most commonly used measure is the Herfindahl Hirschman Index. The concstats package offers a set of alternative measures.

concstats allows you to calculate quickly a particular measure or a group of measures to give you a better overview of a given market situation and therefore reducing uncertainty. It can be used by practitioners and academics alike.

How can it be used?

concstats should be used by practitioners and academics who are concerned about structure, concentration, diversity or inequality in general or on a regular basis. A single standard measure like the Herfindahl Hirschman Index (HHI) may lead to erroneous conclusions. The concstats package offers a straightforward way to calculate standard and alternative measures given a data set of market participants and their participation (in relative values) in a particular market at a given point of time or over time. concstats provides currently the following basic functions: