concstats_concstats {concstats}R Documentation

A set of Market Structure, Concentration, and Inequality Measures

Description

A convenience function which calculates a selected set of different market structure, inequality and concentration measures more or less commonly used, e.g. k-firm ratios, Entropy, HHI, Palma ratio, and others in a one step procedure to provide a first overview.

Usage

concstats_concstats(x, na.rm = TRUE, digits = NULL)

Arguments

x

A non-negative numeric vector.

na.rm

A logical vector that indicates whether NA values should be excluded or not. Must be either TRUE or FALSE. Defaults to TRUE. If set to FALSE the computation yields NA if vector contains NA values.

digits

A non-null value for digits specifies the minimum number of significant digits to be printed in values. The default is NULL and will use base R print option. Significant digits defaults to 7.

Details

concstats_concstats computes a set of different and selected structural, inequality, and concentration measures in a one step procedure. The resulting ⁠data frame⁠ contains eight measures: number of firms with market share, numbers equivalent, the cumulative share of the top (top 3 and top 5) firm(s) in percentage, the hhi index, the entropy index, and the palma ratio. However, all measures can be computed individually or in groups.

Value

A ⁠data frame⁠ of numeric measures with default settings.

Note

The vector of market shares should be in a decimal form corresponding to the total share of individual firms/units. The vector should sum up to 1.

See Also

concstats_mstruct(), concstats_comp(), concstats_inequ()

Examples

# a vector of market shares
x <- c(0.35, 0.4, 0.05, 0.1, 0.06, 0.04)
# a selected set of different structural, concentration, and inequality
# measures
concstats_concstats(x, digits = 2)


[Package concstats version 0.1.6 Index]