Dear Stephen and rest of Statalist members
The question was raised in 2015, but it was not answered perhaps because it did not mention Ineqdeco in the title ( https://www.statalist.org/forums/for...ue-and-command)
Ineqdeco (from SSC, author S. Jenkins) produces different Ginis when the “by subgroup” option is used or not.
The values not used in calculations differ in each case, but why Ineqdeco loses more values when the option is not used? and is there any other reason?
Using for example the LISSY interface of the Luxembourg Income Study database
use $ca00h
qui ineqdeco dpi [w=hwgt], by(region_c)
di r(gini)
(ca00: version 7.0 13 Jun 2018 17:31)
(Warning: dpi has 60 values < 0. Not used in calculations)
.36032192
use $ca00h
qui ineqdeco dpi [w=hwgt]
di r(gini)
(ca00: version 7.0 13 Jun 2018 17:31)
(Warning: dpi has 68 values < 0. Not used in calculations)
.37266473
The question was raised in 2015, but it was not answered perhaps because it did not mention Ineqdeco in the title ( https://www.statalist.org/forums/for...ue-and-command)
Ineqdeco (from SSC, author S. Jenkins) produces different Ginis when the “by subgroup” option is used or not.
The values not used in calculations differ in each case, but why Ineqdeco loses more values when the option is not used? and is there any other reason?
Using for example the LISSY interface of the Luxembourg Income Study database
use $ca00h
qui ineqdeco dpi [w=hwgt], by(region_c)
di r(gini)
(ca00: version 7.0 13 Jun 2018 17:31)
(Warning: dpi has 60 values < 0. Not used in calculations)
.36032192
use $ca00h
qui ineqdeco dpi [w=hwgt]
di r(gini)
(ca00: version 7.0 13 Jun 2018 17:31)
(Warning: dpi has 68 values < 0. Not used in calculations)
.37266473
Comment