I'm using the user-written egen_inequal to compute Gini coefficients. Like so:
It automatically excludes obs with 0 hectares and computes the Gini within the group of non-zero observations.
I fail to see why the this would *ever* be desirable, but in particular I am convinced in the case of land and hectares it should be different.
Why is this like that and what can I do to change this with egen_inequal?
PS: If Zurab Sajaia or @Michael Lokshin don't want to work on the code anymore I am also happy to dive into the ado file.
Code:
egen land_gini = gini(owned_hectares), by(village_2003)
I fail to see why the this would *ever* be desirable, but in particular I am convinced in the case of land and hectares it should be different.
Why is this like that and what can I do to change this with egen_inequal?
PS: If Zurab Sajaia or @Michael Lokshin don't want to work on the code anymore I am also happy to dive into the ado file.

Comment