Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 545 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 545 Bytes

gini_julia

The Julia file gini.jl contains a function which computes Gini Coefficients. It is based on codes and snippets I found online and assembled into one function.

gini.jl inputs can be either

  1. a vector of observations (n, 1)
  2. an array of dimension (n, 2) where the second column are the weights of the observations

The file gini_eval.jl illustrates the performance (in seconds) of gini.jl for different numbers of inputs.

performance