SkillAgentSearch skills...

ConcentrationMetrics

A python library for the computation of various concentration, inequality and diversity indices

Install / Use

/learn @open-risk/ConcentrationMetrics
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Documentation Status made-with-python GitHub license Percentage of issues still open

Intro

concentrationMetrics is a python library for the computation of various concentration, diversification and inequality indices. The library aims to implement the computation of all well known indexes of inequality and concentration along with confidence intervals.

You can use concentrationMetrics to:

  • Access an exhaustive collection of concentration, inequality and diversity indexes and metrics
  • Perform file input/output in both json and csv formats
  • Compute indexes with confidence intervals via bootstraping
  • Visualize using matplotlib

Key Information

NB: concentrationMetrics is still in active development. If you encounter issues please raise them in our GitHub repository

List of Implemented Indexes

An overview of the implemented metrics (indexes) and their relationships is available at the Open Risk Manual

The below list provides more specific documentation URL's for each one of the implement indexes:

Support and Training

The Open Risk Academy has free courses demonstrating the use of the library: Open Risk Academy

Examples

Comparing two indexes across a range of input portfolio data

image

Calculating industrial and geographic concentrations

image

Contributions

  • Check the TODO list for immediate TODO items
  • Check the Roadmap for the bigger picture
View on GitHub
GitHub Stars44
CategoryDevelopment
Updated1mo ago
Forks16

Languages

Python

Security Score

95/100

Audited on Feb 11, 2026

No findings