Yitzhaki IndexStata - inoyo.net
Yitzhaki IndexStata - inoyo.net Yitzhaki index? Yitzhaki index() i yy j iy i iy j y i N 1 35(8)1() Relative deprivation()? Relative deprivation 2 ()() 3 ()4 Stata Stata(...)commidID()incagg_shortfallrefgr_n bys commid (inc): gen diff1= inc[_n+1]- inc[_n] bys commid: gen num1=_N-_n bys commid (num1): gen agg_shortfall=sum(diff1*num1) bys commid: gen refgr_n=_N gen yitzhaki = agg_shortfall/refgr_n Yitzhaki S. Relative deprivation and the Gini coefficient.