Dear Allin,
I'm doing some calculation for the gini index and I noticed some small differences between the gretl's built-in command and the step-by-step calculation on P and L. Any suggestion?

Best, artur

gretl 0,414005424073137
without (0,0) 0,414005424256711
including (0,0) 0,414005424164925