LogoLogo
HomeCommmunityLegal
  • Getting started
    • Welcome
    • Useful links
    • Framing the problem
    • Design goals
  • Methodologies
    • Ethereum Beacon Chain
      • Resources
      • Network explorer definitions
        • Landing page
        • Entity views
          • Top screener
          • Entity overview
          • Consensus layer statistics
          • Execution layer statistics
          • Aggregate rewards statistics
        • Aggregate views
          • Trending
          • Network overview
            • Gini coefficient measurement
          • Relayer landscape
          • Builder landscape
        • Misc
          • Index Coop dsETH
      • RAVER methodology
        • Proposer effectiveness
        • Attester effectiveness
        • Effectiveness rating
        • Slashing moderator
        • Sync committees
        • Post-hoc analysis of the Rated v0 effectiveness rating
      • Penalties and Missed Rewards methodologies
        • Penalties computation
          • Pre-Altair penalties computation
        • Validator missed rewards computation
          • Consensus missed rewards computation
          • Execution missed rewards computation
      • Baseline MEV computation
      • Aggregating validator indices
        • Classes of aggregation
    • Miscellaneous
      • Value enabled by Rated
  • API documentation
    • Introduction
    • Getting past authentication
    • API guide
    • Swagger schema
  • Legal
    • ToU & Privacy Notice
      • Website Terms of Use
      • API Terms of Use
      • Privacy Notice
  • Community
    • 🍬Let's Rate!
Powered by GitBook
On this page
  • Entity groupings
  • Interpreting the Gini
  • Gini calculation
  • Function components

Was this helpful?

  1. Methodologies
  2. Ethereum Beacon Chain
  3. Network explorer definitions
  4. Aggregate views
  5. Network overview

Gini coefficient measurement

This page illustrates the approach Rated takes in computing this metric for the Ethereum network.

PreviousNetwork overviewNextRelayer landscape

Last updated 2 years ago

Was this helpful?

The Gini coefficient (Gini) is a measure of inequality across a certain set of values. In this case, we're measuring the Gini of the validator market share of entities we have identified.

Entity groupings

We have taken the commonality by highest order such that grouping by pools takes precedence over node operators, which take precedence over deposit addresses.

Interpreting the Gini

A Gini coefficient of 0 reflects perfect equality, where all income or wealth values are the same, while a Gini coefficient of 1 (or 100%) reflects maximal inequality among values.

Gini calculation

Basing our calculation of the work by Evgeny Medvedev , we first take the validator_count of each of the entities on the latest day and rank them in descending order accordingly. We then use the 1-2B formula for measuring the Gini, where B is the area under the Lorenz curve such that:

Gini == 1 - 2 * SUM((validator_count * (rank - 1) + validator_count / 2)) / COUNT(entities) / SUM(validator_count)

Function components

validator_count * (rank — 1)

is the area of the rectangular horizontal slice under the Lorenz curve.

validator_count / 2

is the area of the triangle on the left of the rectangular slice.

SUM((validator_count * (rank — 1) + validator_count / 2)) 

is the sum of all the slices

COUNT(entities) 

normalizes the x axis to the range 0 to 1

SUM(validator_count)

normalizes the y axis to the range 0 to 1

here
The shape of a Lorenz Curve.